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>
|
||||
<LinkTo @route="badges.show" @model={{this}}>
|
||||
{{number this.grant_count}}
|
||||
{{i18n "badges.awarded"}}
|
||||
{{html-safe
|
||||
(i18n
|
||||
"badges.awarded"
|
||||
count=this.displayCount
|
||||
number=(number this.displayCount)
|
||||
)
|
||||
}}
|
||||
</LinkTo>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -47,8 +47,13 @@
|
|||
@model={{this.badge}}
|
||||
class="badge-granted"
|
||||
>
|
||||
{{number this.displayCount}}
|
||||
{{i18n "badges.awarded"}}
|
||||
{{html-safe
|
||||
(i18n
|
||||
"badges.awarded"
|
||||
count=this.displayCount
|
||||
number=(number this.displayCount)
|
||||
)
|
||||
}}
|
||||
</LinkTo>
|
||||
|
||||
{{/if}}
|
||||
|
|
|
@ -4168,10 +4168,9 @@ en:
|
|||
more_badges:
|
||||
one: "+%{count} More"
|
||||
other: "+%{count} More"
|
||||
granted:
|
||||
one: "%{count} granted"
|
||||
other: "%{count} granted"
|
||||
awarded: awarded
|
||||
awarded:
|
||||
one: "%{number} awarded"
|
||||
other: "%{number} awarded"
|
||||
select_badge_for_title: Select a badge to use as your title
|
||||
none: "(none)"
|
||||
successfully_granted: "Successfully granted %{badge} to %{username}"
|
||||
|
|
Loading…
Reference in New Issue