diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b4856922..ac96b105 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,7 @@ Changelog ++++++ - CSS fix for project macro +- Add Spanish translation, thanks to @dktcoding! 2.0.15 ++++++ diff --git a/test/unit/i18n_test.rb b/test/unit/i18n_test.rb index 6104e684..0f145f84 100644 --- a/test/unit/i18n_test.rb +++ b/test/unit/i18n_test.rb @@ -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'