Add single view count translation (#15544)
Fixes an error shown when the article has one view https://app.honeybadger.io/projects/66984/faults/82770707 ``` I18n::InvalidPluralizationData: translation data {:other=>"%{scale} views"} can not be used with :count => 1. key 'one' is missing. ``` Add key 'one' to both translation files for this key.
This commit is contained in:
parent
e94101e949
commit
e93b4392de
2 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ en:
|
|||
icon: Views
|
||||
lt_25: "< 25"
|
||||
text_html:
|
||||
one: "%{scale} view"
|
||||
other: "%{scale} views"
|
||||
u_25: under 25
|
||||
subscriptions:
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ fr:
|
|||
icon: Views
|
||||
lt_25: "< 25"
|
||||
text_html:
|
||||
one: "%{scale} view"
|
||||
other: "%{scale} views"
|
||||
u_25: under 25
|
||||
subscriptions:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue