Skip to content

Commit

Permalink
Merge pull request #2941 from azim-kordpour/master
Browse files Browse the repository at this point in the history
Make a meaningful translation in fa.php (Persian)
  • Loading branch information
kylekatarnls authored Feb 9, 2024
2 parents adcac53 + 5167f49 commit 1bf13e0
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions src/Carbon/Lang/fa.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
's' => ':count ثانیه',
'ago' => ':time پیش',
'from_now' => ':time دیگر',
'after' => ':time پس از',
'before' => ':time پیش از',
'after' => ':time بعد',
'before' => ':time قبل',
'diff_now' => 'اکنون',
'diff_today' => 'امروز',
'diff_today_regexp' => 'امروز(?:\\s+ساعت)?',
Expand Down
8 changes: 4 additions & 4 deletions tests/Localization/FaAfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,19 +347,19 @@ class FaAfTest extends LocalizationTestCase

// Carbon::now()->addSecond()->diffForHumans(Carbon::now())
// '1 second after',
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), false, true)
// '1s after',
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond())
// '1 second before',
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond(), false, true)
// '1s before',
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), true)
// '1 second',
Expand Down
8 changes: 4 additions & 4 deletions tests/Localization/FaIrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,19 +347,19 @@ class FaIrTest extends LocalizationTestCase

// Carbon::now()->addSecond()->diffForHumans(Carbon::now())
// '1 second after',
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), false, true)
// '1s after',
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond())
// '1 second before',
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond(), false, true)
// '1s before',
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), true)
// '1 second',
Expand Down
8 changes: 4 additions & 4 deletions tests/Localization/FaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,19 +347,19 @@ class FaTest extends LocalizationTestCase

// Carbon::now()->addSecond()->diffForHumans(Carbon::now())
// '1 second after',
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), false, true)
// '1s after',
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond())
// '1 second before',
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond(), false, true)
// '1s before',
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), true)
// '1 second',
Expand Down
8 changes: 4 additions & 4 deletions tests/Localization/MznTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,19 +347,19 @@ class MznTest extends LocalizationTestCase

// Carbon::now()->addSecond()->diffForHumans(Carbon::now())
// '1 second after',
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), false, true)
// '1s after',
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond())
// '1 second before',
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond(), false, true)
// '1s before',
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), true)
// '1 second',
Expand Down
8 changes: 4 additions & 4 deletions tests/Localization/UzArabTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,19 +347,19 @@ class UzArabTest extends LocalizationTestCase

// Carbon::now()->addSecond()->diffForHumans(Carbon::now())
// '1 second after'
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), false, true)
// '1s after'
'1 ثانیه پس از',
'1 ثانیه بعد',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond())
// '1 second before'
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->diffForHumans(Carbon::now()->addSecond(), false, true)
// '1s before'
'1 ثانیه پیش از',
'1 ثانیه قبل',

// Carbon::now()->addSecond()->diffForHumans(Carbon::now(), true)
// '1 second'
Expand Down

0 comments on commit 1bf13e0

Please sign in to comment.