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:
Daniel Uber 2021-11-30 09:55:54 -06:00 committed by GitHub
parent e94101e949
commit e93b4392de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -62,6 +62,7 @@ en:
icon: Views
lt_25: "< 25"
text_html:
one: "%{scale} view"
other: "%{scale} views"
u_25: under 25
subscriptions:

View file

@ -62,6 +62,7 @@ fr:
icon: Views
lt_25: "< 25"
text_html:
one: "%{scale} view"
other: "%{scale} views"
u_25: under 25
subscriptions: