Skip to content

Commit

Permalink
Use po/pred instead of potom/predtým
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Jun 26, 2022
1 parent 9286c97 commit 847b53f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/Carbon/Lang/sk.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
's' => ':count s',
'ago' => 'pred :time',
'from_now' => 'o :time',
'after' => ':time potom',
'before' => ':time predtým',
'after' => ':time po',
'before' => ':time pred',
'year_ago' => 'rokom|:count rokmi|:count rokmi',
'month_ago' => 'mesiacom|:count mesiacmi|:count mesiacmi',
'week_ago' => 'týždňom|:count týždňami|:count týždňami',
Expand Down
8 changes: 4 additions & 4 deletions tests/Localization/SkSkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ class SkSkTest extends LocalizationTestCase
// Carbon::now()->addSecond()->diffForHumans(null, false, true)
'o 1 s',
// Carbon::now()->addSecond()->diffForHumans(Carbon::now())
'sekundu potom',
'sekundu po',
// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), false, true)
'1 s potom',
'1 s po',
// Carbon::now()->diffForHumans(Carbon::now()->addSecond())
'sekundu predtým',
'sekundu pred',
// Carbon::now()->diffForHumans(Carbon::now()->addSecond(), false, true)
'1 s predtým',
'1 s pred',
// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), true)
'sekundu',
// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), true, true)
Expand Down
8 changes: 4 additions & 4 deletions tests/Localization/SkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ class SkTest extends LocalizationTestCase
// Carbon::now()->addSecond()->diffForHumans(null, false, true)
'o 1 s',
// Carbon::now()->addSecond()->diffForHumans(Carbon::now())
'sekundu potom',
'sekundu po',
// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), false, true)
'1 s potom',
'1 s po',
// Carbon::now()->diffForHumans(Carbon::now()->addSecond())
'sekundu predtým',
'sekundu pred',
// Carbon::now()->diffForHumans(Carbon::now()->addSecond(), false, true)
'1 s predtým',
'1 s pred',
// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), true)
'sekundu',
// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), true, true)
Expand Down

0 comments on commit 847b53f

Please sign in to comment.