Skip to content

Commit

Permalink
Merge pull request #2829 from alesf/patch-1
Browse files Browse the repository at this point in the history
Fix dual for month in Slovenian language
  • Loading branch information
kylekatarnls authored Aug 3, 2023
2 parents 0dfb27d + 2e80358 commit 4308217
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Carbon/Lang/sl.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

'year_ago' => ':count letom|:count letoma|:count leti|:count leti',
'y_ago' => ':count letom|:count letoma|:count leti|:count leti',
'month_ago' => ':count mesecem|:count meseci|:count meseci|:count meseci',
'month_ago' => ':count mesecem|:count mesecema|:count meseci|:count meseci',
'week_ago' => ':count tednom|:count tednoma|:count tedni|:count tedni',
'day_ago' => ':count dnem|:count dnevoma|:count dnevi|:count dnevi',
'd_ago' => ':count dnem|:count dnevoma|:count dnevi|:count dnevi',
Expand Down
2 changes: 1 addition & 1 deletion tests/Localization/SlSiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class SlSiTest extends LocalizationTestCase

// Carbon::now()->subMonths(2)->diffForHumans()
// '2 months ago'
'pred 2 meseci',
'pred 2 mesecema',

// Carbon::now()->subMonths(2)->diffForHumans(null, false, true)
// '2mos ago'
Expand Down
2 changes: 1 addition & 1 deletion tests/Localization/SlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class SlTest extends LocalizationTestCase

// Carbon::now()->subMonths(2)->diffForHumans()
// '2 months ago'
'pred 2 meseci',
'pred 2 mesecema',

// Carbon::now()->subMonths(2)->diffForHumans(null, false, true)
// '2mos ago'
Expand Down

0 comments on commit 4308217

Please sign in to comment.