Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove period from "min" (minute) in Polish #2410

Merged
merged 3 commits into from
Aug 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Carbon/Lang/pl.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
'h' => ':count godz.',
'minute' => ':count minuta|:count minuty|:count minut',
'a_minute' => 'minuta|:count minuty|:count minut',
'min' => ':count min.',
'min' => ':count min',
'second' => ':count sekunda|:count sekundy|:count sekund',
'a_second' => '{1}kilka sekund|:count sekunda|:count sekundy|:count sekund',
's' => ':count sek.',
Expand Down
4 changes: 2 additions & 2 deletions tests/Localization/PlPlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,15 @@ class PlPlTest extends LocalizationTestCase

// Carbon::now()->subMinutes(1)->diffForHumans(null, false, true)
// '1m ago',
'1 min. temu',
'1 min temu',

// Carbon::now()->subMinutes(2)->diffForHumans()
// '2 minutes ago',
'2 minuty temu',

// Carbon::now()->subMinutes(2)->diffForHumans(null, false, true)
// '2m ago',
'2 min. temu',
'2 min temu',

// Carbon::now()->subHours(1)->diffForHumans()
// '1 hour ago',
Expand Down
4 changes: 2 additions & 2 deletions tests/Localization/PlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,15 @@ class PlTest extends LocalizationTestCase

// Carbon::now()->subMinutes(1)->diffForHumans(null, false, true)
// '1m ago',
'1 min. temu',
'1 min temu',

// Carbon::now()->subMinutes(2)->diffForHumans()
// '2 minutes ago',
'2 minuty temu',

// Carbon::now()->subMinutes(2)->diffForHumans(null, false, true)
// '2m ago',
'2 min. temu',
'2 min temu',

// Carbon::now()->subHours(1)->diffForHumans()
// '1 hour ago',
Expand Down