diff --git a/config/locales/th.rb b/config/locales/th.rb --- a/config/locales/th.rb +++ b/config/locales/th.rb @@ -1,3 +1,7 @@ +# Thai translation for Ruby on Rails +# original by Prem Sichanugrist (s@sikachu.com/sikandsak@gmail.com) +# activerecord keys fixed by Jittat Fakcharoenphol (jittat@gmail.com) + { :'th' => { :date => { @@ -66,6 +70,22 @@ :format => '%n %u' } }, + :human => { + :format => { + :precision => 1, + :delimiter => '' + }, + :storage_units => { + :format => "%n %u", + :units => { + :byte => "B", + :kb => "KB", + :mb => "MB", + :gb => "GB", + :tb => "TB", + } + } + }, }, # Active Record