From 40571a6ad81978403cc5a3a817948ce0d001bcd6 Mon Sep 17 00:00:00 2001 From: Sunny Ripert Date: Tue, 16 May 2023 20:39:37 +0200 Subject: [PATCH] Norwegian: Fix extra `%{count}` interpolation in `has_one` key Closes #1082 --- CHANGELOG.md | 5 +++++ rails/locale/nb.yml | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f181866f2..1220ee6c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## unreleased + +- Update following locales: + - Norwegian (nb): Fix extra `%{count}` interpolation in `has_one` key #1082 + ## 7.0.7 (2022-05-12) - Non-numerics counts are considered as `other` in all pluralizations #1067 diff --git a/rails/locale/nb.yml b/rails/locale/nb.yml index 053b1ee18..ba953017a 100644 --- a/rails/locale/nb.yml +++ b/rails/locale/nb.yml @@ -5,7 +5,7 @@ nb: messages: record_invalid: 'Det oppstod feil: %{errors}' restrict_dependent_destroy: - has_one: Kan ikke slette registreringen, fordi %{count} %{record} avhenger av denne. + has_one: Kan ikke slette registreringen, fordi %{record} avhenger av denne. has_many: Kan ikke slette registreringen, fordi %{record} avhenger av denne. date: abbr_day_names: @@ -17,7 +17,7 @@ nb: - fre - lør abbr_month_names: - - + - - jan - feb - mar @@ -43,7 +43,7 @@ nb: long: "%e. %B %Y" short: "%e. %b" month_names: - - + - - januar - februar - mars