REFACTOR: Use pluralized string for `js.badges.awarded`
This commit is contained in:
parent
6a67d69f7a
commit
1af33fdb71
|
@ -287,8 +287,13 @@
|
||||||
<div class="content-body current-badge-actions">
|
<div class="content-body current-badge-actions">
|
||||||
<div>
|
<div>
|
||||||
<LinkTo @route="badges.show" @model={{this}}>
|
<LinkTo @route="badges.show" @model={{this}}>
|
||||||
{{number this.grant_count}}
|
{{html-safe
|
||||||
{{i18n "badges.awarded"}}
|
(i18n
|
||||||
|
"badges.awarded"
|
||||||
|
count=this.displayCount
|
||||||
|
number=(number this.displayCount)
|
||||||
|
)
|
||||||
|
}}
|
||||||
</LinkTo>
|
</LinkTo>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -47,8 +47,13 @@
|
||||||
@model={{this.badge}}
|
@model={{this.badge}}
|
||||||
class="badge-granted"
|
class="badge-granted"
|
||||||
>
|
>
|
||||||
{{number this.displayCount}}
|
{{html-safe
|
||||||
{{i18n "badges.awarded"}}
|
(i18n
|
||||||
|
"badges.awarded"
|
||||||
|
count=this.displayCount
|
||||||
|
number=(number this.displayCount)
|
||||||
|
)
|
||||||
|
}}
|
||||||
</LinkTo>
|
</LinkTo>
|
||||||
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -4168,10 +4168,9 @@ en:
|
||||||
more_badges:
|
more_badges:
|
||||||
one: "+%{count} More"
|
one: "+%{count} More"
|
||||||
other: "+%{count} More"
|
other: "+%{count} More"
|
||||||
granted:
|
awarded:
|
||||||
one: "%{count} granted"
|
one: "%{number} awarded"
|
||||||
other: "%{count} granted"
|
other: "%{number} awarded"
|
||||||
awarded: awarded
|
|
||||||
select_badge_for_title: Select a badge to use as your title
|
select_badge_for_title: Select a badge to use as your title
|
||||||
none: "(none)"
|
none: "(none)"
|
||||||
successfully_granted: "Successfully granted %{badge} to %{username}"
|
successfully_granted: "Successfully granted %{badge} to %{username}"
|
||||||
|
|
Loading…
Reference in New Issue