-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pluralization not being used for duration translations
- Loading branch information
1 parent
3fe7960
commit 924d84b
Showing
5 changed files
with
33 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Yesterday: {{ yesterday|ago }} | ||
Now: {{ date()|time_diff }} | ||
|
||
Zero: {{ 0|duration }} | ||
Less than a second: {{ 0.1|duration }} | ||
One second: {{ 1|duration }} | ||
Multiple seconds: {{ 59|duration }} | ||
One minute: {{ 60|duration }} | ||
Over one minute: {{ 61|duration }} | ||
Multiple minutes: {{ 3599|duration }} | ||
One hour: {{ 3600|duration }} | ||
Over one hour: {{ 3700|duration }} | ||
Multiple hours: {{ 86399|duration }} | ||
One day: {{ 86400|duration }} | ||
Over one day: {{ 88458|duration }} | ||
Multiple days: {{ 8554100|duration }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Yesterday: {{ yesterday|ago }} | ||
Now: {{ date()|time_diff }} |
File renamed without changes.