diff --git a/src/Carbon/Lang/sl.php b/src/Carbon/Lang/sl.php index 2e197212b4..b000e30e3d 100644 --- a/src/Carbon/Lang/sl.php +++ b/src/Carbon/Lang/sl.php @@ -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', diff --git a/tests/Localization/SlSiTest.php b/tests/Localization/SlSiTest.php index 872d113dbd..ea71159a5e 100644 --- a/tests/Localization/SlSiTest.php +++ b/tests/Localization/SlSiTest.php @@ -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' @@ -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' diff --git a/tests/Localization/SlTest.php b/tests/Localization/SlTest.php index e53c4db3b4..c68788355f 100644 --- a/tests/Localization/SlTest.php +++ b/tests/Localization/SlTest.php @@ -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' @@ -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'