Skip to content

Commit

Permalink
Merge pull request #1083 from sunny/fix-nb-has-one
Browse files Browse the repository at this point in the history
Norwegian: Fix extra `%{count}` interpolation in `has_one` key
  • Loading branch information
pama authored May 16, 2023
2 parents 141549b + f871bf3 commit 22f32d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 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
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rails-i18n (7.0.6)
rails-i18n (7.0.7)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8)

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 22f32d0

Please sign in to comment.