diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-13 08:22:49 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-13 08:22:49 +0000 |
commit | 43da05f3cbf9c9164d11c6ee676f9c960fe5b492 (patch) | |
tree | bbae272abcd9dd4d1ac8ecf0af0d1af824e190b1 | |
parent | 6c3e38c4c0545fc93c59b4b90e1f8d4761d0d04c (diff) | |
download | redmine-43da05f3cbf9c9164d11c6ee676f9c960fe5b492.tar.gz redmine-43da05f3cbf9c9164d11c6ee676f9c960fe5b492.zip |
Set proper locale.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10629 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/lib/redmine/i18n_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/lib/redmine/i18n_test.rb b/test/unit/lib/redmine/i18n_test.rb index 37a440e67..8d31821fe 100644 --- a/test/unit/lib/redmine/i18n_test.rb +++ b/test/unit/lib/redmine/i18n_test.rb @@ -239,6 +239,7 @@ class Redmine::I18nTest < ActiveSupport::TestCase end def test_traditional_chinese_locale + set_language_if_valid 'zh-TW' str_tw = "Traditional Chinese (\xe7\xb9\x81\xe9\xab\x94\xe4\xb8\xad\xe6\x96\x87)" if str_tw.respond_to?(:force_encoding) str_tw.force_encoding('UTF-8') @@ -247,6 +248,7 @@ class Redmine::I18nTest < ActiveSupport::TestCase end def test_french_locale + set_language_if_valid 'fr' str_fr = "Fran\xc3\xa7ais" if str_fr.respond_to?(:force_encoding) str_fr.force_encoding('UTF-8') |