Skip to content

Commit

Permalink
correct japanese, chinese & portuguese locale codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Tokumine authored and ZenCocoon committed Mar 2, 2011
1 parent a7f7730 commit 63b39eb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app/models/tolk/locale.rb
Expand Up @@ -25,7 +25,7 @@ class Locale < ActiveRecord::Base
'id' => 'Indonesian', 'id' => 'Indonesian',
'is' => 'Icelandic', 'is' => 'Icelandic',
'it' => 'Italian', 'it' => 'Italian',
'jp' => 'Japanese', 'ja' => 'Japanese',
'ko' => 'Korean', 'ko' => 'Korean',
'lo' => 'Lao', 'lo' => 'Lao',
'lt' => 'Lithuanian', 'lt' => 'Lithuanian',
Expand All @@ -34,8 +34,8 @@ class Locale < ActiveRecord::Base
'nl' => 'Dutch', 'nl' => 'Dutch',
'no' => 'Norwegian', 'no' => 'Norwegian',
'pl' => 'Polish', 'pl' => 'Polish',
'pt-BR' => 'Portuguese (Brazilian)', 'pt-br' => 'Portuguese (Brazilian)',
'pt-PT' => 'Portuguese (Portugal)', 'pt-pt' => 'Portuguese (Portugal)',
'ro' => 'Romanian', 'ro' => 'Romanian',
'ru' => 'Russian', 'ru' => 'Russian',
'se' => 'Swedish', 'se' => 'Swedish',
Expand All @@ -47,8 +47,13 @@ class Locale < ActiveRecord::Base
'tr' => 'Turkish', 'tr' => 'Turkish',
'uk' => 'Ukrainian', 'uk' => 'Ukrainian',
'vi' => 'Vietnamese', 'vi' => 'Vietnamese',
<<<<<<< HEAD
'zh-CN' => 'Chinese (Simplified)', 'zh-CN' => 'Chinese (Simplified)',
'zh-TW' => 'Chinese (Traditional)' 'zh-TW' => 'Chinese (Traditional)'
=======
'zh-cn' => 'Chinese (Simplified)',
'zh-tw' => 'Chinese (Traditional)'
>>>>>>> 4b90732... correct japanese, chinese & portuguese locale codes
} }
has_many :phrases, :through => :translations, :class_name => 'Tolk::Phrase' has_many :phrases, :through => :translations, :class_name => 'Tolk::Phrase'
Expand Down

0 comments on commit 63b39eb

Please sign in to comment.