Check that pluralizable translations have an "other" key
This commit is contained in:
parent
ef7434f8b4
commit
a221aabe3c
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ class I18nTest < ActiveSupport::TestCase
|
|||
assert_includes variables, Regexp.last_match(1), "#{key}.#{subkey} uses unknown interpolation variable #{Regexp.last_match(1)}"
|
||||
end
|
||||
end
|
||||
|
||||
assert_includes value, :other, "#{key}.other plural key missing"
|
||||
else
|
||||
assert value.is_a?(String), "#{key} is not a string"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue