Skip to content

Commit

Permalink
Norwegian: Fix extra %{count} interpolation in has_one key
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny committed May 16, 2023
1 parent 141549b commit 40571a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions rails/locale/nb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -17,7 +17,7 @@ nb:
- fre
- lør
abbr_month_names:
-
-
- jan
- feb
- mar
Expand All @@ -43,7 +43,7 @@ nb:
long: "%e. %B %Y"
short: "%e. %b"
month_names:
-
-
- januar
- februar
- mars
Expand Down

0 comments on commit 40571a6

Please sign in to comment.