Skip to content

Commit eb6ac89

Browse files
committed
fix(notifications): better handle singular and plural hours and minutes
1 parent cc59284 commit eb6ac89

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
hours-ago = {$duration} Hours Ago
2-
minutes-ago = {$duration} Minutes Ago
1+
hours-ago = { NUMBER($duration) ->
2+
[1] 1 Hour Ago
3+
*[other] {$duration} Hours Ago
4+
}
5+
minutes-ago = { NUMBER($duration) ->
6+
[1] 1 Minute Ago
7+
*[other] {$duration} Minutes Ago
8+
}
39
clear-all = Clear All Notifications

0 commit comments

Comments
 (0)