1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-24 10:02:35 +00:00
hugo/langs/i18n
Bjørn Erik Pedersen ececd1b122 langs/i18n: Fix warning regression in i18n
Fix this by

1. Making sure that only numerical values are treated as plural counts
2. Making sure that `i18n.pluralFormNotFoundError` is not logged as a warning if `other` resolved.

Note that 2. isn't a new problem, but became visible because of the plural improvements in Hugo `0.83.0`.

Fixes 
2021-05-02 16:27:22 +02:00
..
i18n.go langs/i18n: Fix warning regression in i18n 2021-05-02 16:27:22 +02:00
i18n_test.go langs/i18n: Fix warning regression in i18n 2021-05-02 16:27:22 +02:00
translationProvider.go langs/i18n: Fix multiple unknown language codes 2021-04-30 14:26:49 +02:00