diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-24 17:29:11 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-24 17:29:11 +0000 |
commit | 4a524ff911edefeae8753669bb27000486741fbb (patch) | |
tree | 6dce27050d8936c12d776ed9968aaeb0e548362d /test | |
parent | 9fe0dd051dc206c7409164ba9a92a74609484aeb (diff) | |
download | redmine-4a524ff911edefeae8753669bb27000486741fbb.tar.gz redmine-4a524ff911edefeae8753669bb27000486741fbb.zip |
Dutch translation added (Linda van den Brink)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@539 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/application_controller_test.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/application_controller_test.rb b/test/functional/application_controller_test.rb index 3dbeadb97..3a40b15a9 100644 --- a/test/functional/application_controller_test.rb +++ b/test/functional/application_controller_test.rb @@ -28,9 +28,10 @@ class ApplicationControllerTest < Test::Unit::TestCase @response = ActionController::TestResponse.new end - # check that all 6 supported languages are valid + # check that all language files are valid def test_localization - assert_equal 10, GLoc.valid_languages.size + lang_files_count = Dir["#{RAILS_ROOT}/lang/*.yml"].size + assert_equal lang_files_count, GLoc.valid_languages.size GLoc.valid_languages.each do |lang| assert set_language_if_valid(lang) end |