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:
Daniel Uber 2021-11-30 11:26:14 -06:00 committed by GitHub
parent c3d0a24143
commit 7f87efec1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -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"

View file

@ -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"