From 427cf295d90080cae6cea148db87b1c2cffb9875 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Sun, 12 May 2019 23:48:57 +0200 Subject: [PATCH] DEV: Always require %{count} in French pluralized strings --- lib/i18n/locale_file_checker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/i18n/locale_file_checker.rb b/lib/i18n/locale_file_checker.rb index 7d6cd4d9a21..1f30f1ab66f 100644 --- a/lib/i18n/locale_file_checker.rb +++ b/lib/i18n/locale_file_checker.rb @@ -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