summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-07 14:43:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-07 14:43:07 +0000
commit36c0ab196ca772c123e7327b6829b8387f9e0aeb (patch)
treee0942d2742dda999c52406af47fc72893344b3a9 /app
parenta7c2b63fb61082bb54afe49880ebe0c21566ba3f (diff)
downloadredmine-36c0ab196ca772c123e7327b6829b8387f9e0aeb.tar.gz
redmine-36c0ab196ca772c123e7327b6829b8387f9e0aeb.zip
Added Traditional Chinese translation (by Shortie Lo).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@959 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 37c8b1c9b..8deed9000 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -299,7 +299,7 @@ module ApplicationHelper
def lang_options_for_select(blank=true)
(blank ? [["(auto)", ""]] : []) +
- GLoc.valid_languages.collect{|lang| [ ll(lang.to_s, :general_lang_name), lang.to_s]}.sort{|x,y| x.first <=> y.first }
+ GLoc.valid_languages.collect{|lang| [ ll(lang.to_s, :general_lang_name), lang.to_s]}.sort{|x,y| x.last <=> y.last }
end
def label_tag_for(name, option_tags = nil, options = {})