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

Update SL language ("2 years ago" translation) #2689

Merged
merged 3 commits into from
Oct 25, 2022
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
4 changes: 2 additions & 2 deletions src/Carbon/Lang/sl.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
'a_second' => '{1}nekaj sekund|:count sekunda|:count sekundi|:count sekunde|:count sekund',
's' => ':count s',

'year_ago' => ':count letom|:count leti|:count leti|:count leti',
'y_ago' => ':count letom|:count leti|:count leti|:count leti',
'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',
'week_ago' => ':count tednom|:count tednoma|:count tedni|:count tedni',
'day_ago' => ':count dnem|:count dnevoma|:count dnevi|:count dnevi',
Expand Down
6 changes: 3 additions & 3 deletions tests/Localization/SlSiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ class SlSiTest extends LocalizationTestCase

// Carbon::now()->subYears(2)->diffForHumans()
// '2 years ago'
'pred 2 leti',
'pred 2 letoma',

// Carbon::now()->subYears(2)->diffForHumans(null, false, true)
// '2yrs ago'
'pred 2 leti',
'pred 2 letoma',

// Carbon::now()->addSecond()->diffForHumans()
// '1 second from now'
Expand Down Expand Up @@ -399,7 +399,7 @@ class SlSiTest extends LocalizationTestCase

// Carbon::now()->subYears(2)->subMonths(3)->subDay()->subSecond()->diffForHumans(null, null, true, 4)
// '2yrs 3mos 1d 1s ago'
'pred 2 leti 3 mes. 1 dnem 1 s',
'pred 2 letoma 3 mes. 1 dnem 1 s',

// Carbon::now()->addWeek()->addHours(10)->diffForHumans(null, true, false, 2)
// '1 week 10 hours'
Expand Down
6 changes: 3 additions & 3 deletions tests/Localization/SlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ class SlTest extends LocalizationTestCase

// Carbon::now()->subYears(2)->diffForHumans()
// '2 years ago'
'pred 2 leti',
'pred 2 letoma',

// Carbon::now()->subYears(2)->diffForHumans(null, false, true)
// '2yrs ago'
'pred 2 leti',
'pred 2 letoma',

// Carbon::now()->addSecond()->diffForHumans()
// '1 second from now'
Expand Down Expand Up @@ -399,7 +399,7 @@ class SlTest extends LocalizationTestCase

// Carbon::now()->subYears(2)->subMonths(3)->subDay()->subSecond()->diffForHumans(null, null, true, 4)
// '2yrs 3mos 1d 1s ago'
'pred 2 leti 3 mes. 1 dnem 1 s',
'pred 2 letoma 3 mes. 1 dnem 1 s',

// Carbon::now()->addWeek()->addHours(10)->diffForHumans(null, true, false, 2)
// '1 week 10 hours'
Expand Down