Adjust tests for Spanish translation

This commit is contained in:
Alexander Meindl 2018-11-26 06:15:31 +01:00
parent 15fdf0797c
commit 23d633751e
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,7 @@ Changelog
++++++
- CSS fix for project macro
- Add Spanish translation, thanks to @dktcoding!
2.0.15
++++++

View File

@ -23,7 +23,7 @@ class I18nTest < Additionals::TestCase
'config',
'locales',
'*.yml')].size
assert_equal lang_files_count, 7
assert_equal 8, lang_files_count
valid_languages.each do |lang|
assert set_language_if_valid(lang)
end
@ -32,6 +32,8 @@ class I18nTest < Additionals::TestCase
assert_equal 'Externe URLs', l(:label_external_urls)
::I18n.locale = 'en'
assert_equal 'External urls', l(:label_external_urls)
::I18n.locale = 'es'
assert_equal 'URLs externos', l(:label_external_urls)
::I18n.locale = 'fr'
assert_equal 'Les urnes externes', l(:label_external_urls)
::I18n.locale = 'it'