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?
|
(if public?
|
||||||
(i18n/label :t/public-group-status)
|
(i18n/label :t/public-group-status)
|
||||||
(let [cnt (inc (count contacts))]
|
(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 []
|
(defview toolbar-content-view []
|
||||||
(letsubs [{:keys [group-chat color online contacts
|
(letsubs [{:keys [group-chat color online contacts
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
"currency-display-name-sos": "Somalia Shilling",
|
"currency-display-name-sos": "Somalia Shilling",
|
||||||
"members-active": {
|
"members-active": {
|
||||||
"one": "1 member",
|
"one": "1 member",
|
||||||
"other": "{{count}} members",
|
"other": "{{count}} members"
|
||||||
"zero": "no members"
|
|
||||||
},
|
},
|
||||||
|
"members-active-none": "no members",
|
||||||
"chat-name": "Chat name",
|
"chat-name": "Chat name",
|
||||||
"currency-display-name-zar": "South Africa Rand",
|
"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.",
|
"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",
|
"transactions-unsigned": "Unsigned",
|
||||||
"members": {
|
"members": {
|
||||||
"one": "1 member",
|
"one": "1 member",
|
||||||
"other": "{{count}} members",
|
"other": "{{count}} members"
|
||||||
"zero": "no members"
|
|
||||||
},
|
},
|
||||||
|
"members-none": "no members",
|
||||||
"delete-mailserver-title": "Delete mailserver",
|
"delete-mailserver-title": "Delete mailserver",
|
||||||
"intro-message1": "Welcome to Status!\nTap this message to set your password and get started.",
|
"intro-message1": "Welcome to Status!\nTap this message to set your password and get started.",
|
||||||
"public-chat-user-count": "{{count}} people",
|
"public-chat-user-count": "{{count}} people",
|
||||||
|
|
Loading…
Reference in New Issue