Adjust tests for Spanish translation
This commit is contained in:
parent
15fdf0797c
commit
23d633751e
@ -5,6 +5,7 @@ Changelog
|
||||
++++++
|
||||
|
||||
- CSS fix for project macro
|
||||
- Add Spanish translation, thanks to @dktcoding!
|
||||
|
||||
2.0.15
|
||||
++++++
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user