fix zero plural localisation issue
fix zero case for :t/members-active key
This commit is contained in:
parent
448e84a0e9
commit
40c23cc166
|
@ -62,7 +62,9 @@
|
|||
(if public?
|
||||
(i18n/label :t/public-group-status)
|
||||
(let [cnt (inc (count contacts))]
|
||||
(i18n/label-pluralize cnt :t/members-active)))]])))
|
||||
(if (zero? cnt)
|
||||
(i18n/label :members-active-none)
|
||||
(i18n/label-pluralize cnt :t/members-active))))]])))
|
||||
|
||||
(defview toolbar-content-view []
|
||||
(letsubs [{:keys [group-chat color online contacts
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
"currency-display-name-sos": "Somalia Shilling",
|
||||
"members-active": {
|
||||
"one": "1 member",
|
||||
"other": "{{count}} members",
|
||||
"zero": "no members"
|
||||
"other": "{{count}} members"
|
||||
},
|
||||
"members-active-none": "no members",
|
||||
"chat-name": "Chat name",
|
||||
"currency-display-name-zar": "South Africa Rand",
|
||||
"phew-here-is-your-passphrase": "Phew, that was hard. Here is your passphrase, *write this down and keep it safe!* You will need it to recover your account.",
|
||||
|
@ -561,9 +561,9 @@
|
|||
"transactions-unsigned": "Unsigned",
|
||||
"members": {
|
||||
"one": "1 member",
|
||||
"other": "{{count}} members",
|
||||
"zero": "no members"
|
||||
"other": "{{count}} members"
|
||||
},
|
||||
"members-none": "no members",
|
||||
"delete-mailserver-title": "Delete mailserver",
|
||||
"intro-message1": "Welcome to Status!\nTap this message to set your password and get started.",
|
||||
"public-chat-user-count": "{{count}} people",
|
||||
|
|
Loading…
Reference in New Issue