DEV: Always require %{count} in French pluralized strings

This commit is contained in:
Gerhard Schlager 2019-05-12 23:48:57 +02:00
parent 81c329fbb8
commit 427cf295d9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class LocaleFileChecker
# Some languages should always use %{count} in pluralized strings.
# https://meta.discourse.org/t/always-use-count-variable-when-translating-pluralized-strings/83969
FORCE_PLURAL_COUNT_LOCALES = ["bs", "lt", "lv", "ru", "sl", "sr", "uk"]
FORCE_PLURAL_COUNT_LOCALES = ["bs", "fr", "lt", "lv", "ru", "sl", "sr", "uk"]
def locale_files
YML_DIRS.map { |dir| Dir["#{Rails.root}/#{dir}/{client,server}.#{@locale}.yml"] }.flatten