Add translations for one credit (#15545)
It's possible an organization or user will have just one credit. When this happens, the translation will fail to render in the view (and an error will be raised). Add key "one:" for personal and organizational credits.
This commit is contained in:
parent
c3d0a24143
commit
7f87efec1f
2 changed files with 6 additions and 2 deletions
|
|
@ -48,6 +48,8 @@ en:
|
|||
tag: 'Tag: %{name}'
|
||||
status:
|
||||
user:
|
||||
other: You have %{count} personal credits to spend
|
||||
one: "You have %{count} personal credit to spend"
|
||||
other: "You have %{count} personal credits to spend"
|
||||
org_html:
|
||||
one: "%{name} has %{num} credit to spend"
|
||||
other: "%{name} has %{num} credits to spend"
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ fr:
|
|||
tag: 'Tag: %{name}'
|
||||
status:
|
||||
user:
|
||||
other: You have %{count} personal credits to spend
|
||||
one: "You have %{count} personal credit to spend"
|
||||
other: "You have %{count} personal credits to spend"
|
||||
org_html:
|
||||
one: "%{name} has %{num} credit to spend"
|
||||
other: "%{name} has %{num} credits to spend"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue