From cd21eac33040286aaff47c34241831a3d1eb8437 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Mon, 5 Feb 2024 15:53:55 +0100 Subject: [PATCH] fix(i18n): missing one value in pluralization --- config/i18n-tasks.yml | 4 ++-- config/locales/models/dubious_procedure/fr.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index 5e2a106b5..82d29a1c9 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -132,8 +132,8 @@ ignore_unused: # - 'activerecord.attributes.*' ## Ignore these keys completely: -# ignore: -# - kaminari.* +ignore: +- 'shared.champs.drop_down_list{,.other}' # pluralization "other" false positive ## Sometimes, it isn't possible for i18n-tasks to match the key correctly, ## e.g. in case of a relative key defined in a helper method. diff --git a/config/locales/models/dubious_procedure/fr.yml b/config/locales/models/dubious_procedure/fr.yml index c50bd2b75..ce085e979 100644 --- a/config/locales/models/dubious_procedure/fr.yml +++ b/config/locales/models/dubious_procedure/fr.yml @@ -2,6 +2,7 @@ fr: activemodel: models: outdated_procedure: + one: Démarche sans expiration other: Démarches sans expiration attributes: outdated_procedure: