diff options
author | Jonne Haß <me@mrzyx.de> | 2012-04-05 05:43:48 +0400 |
---|---|---|
committer | Jonne Haß <me@mrzyx.de> | 2012-04-05 05:43:48 +0400 |
commit | 9c337ac03ec5eb1ce27ce5b86733bb1d2e020f28 (patch) | |
tree | f28b9f0d64959d22b7d571eb31dcf32da8be9b76 /config/locales/cldr | |
parent | 5866ebe638e76de8155bb495617d61e73654d1a1 (diff) |
updated locales [ci skip]
Diffstat (limited to 'config/locales/cldr')
-rw-r--r-- | config/locales/cldr/plurals.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/locales/cldr/plurals.rb b/config/locales/cldr/plurals.rb index b487834b4..9a99f9361 100644 --- a/config/locales/cldr/plurals.rb +++ b/config/locales/cldr/plurals.rb @@ -45,5 +45,6 @@ :uk => { :i18n => {:plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other }, :js_rule => 'function (n) { return n % 10 == 1 && n % 100 != 11 ? "one" : jQuery.inArray(n % 10, [2, 3, 4]) != -1 && !jQuery.inArray(n % 100, [12, 13, 14]) != -1 ? "few" : n % 10 == 0 || jQuery.inArray(n % 10, [5, 6, 7, 8, 9]) != -1 || jQuery.inArray(n % 100, [11, 12, 13, 14]) != -1 ? "many" : "other" }' } } }, :ur => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other }, :js_rule => 'function (n) { return n == 1 ? "one" : "other" }' } } }, :vi => { :i18n => {:plural => { :keys => [:other], :rule => lambda { |n| :other }, :js_rule => 'function (n) { return "other" }' } } }, - :zh => { :i18n => {:plural => { :keys => [:other], :rule => lambda { |n| :other }, :js_rule => 'function (n) { return "other" }' } } } -}
\ No newline at end of file + :zh => { :i18n => {:plural => { :keys => [:other], :rule => lambda { |n| :other }, :js_rule => 'function (n) { return "other" }' } } }, + :art_nvi => { :i18n => {:plural => { :keys => [:zero, :one, :two, :few, :other], :rule => lambda { |n| n == 0 ? :zero : n == 1 ? :one : n == 2 ? :two : n == 3 ? :few : :other }, :js_rule => 'function (n) { return n == 0 ? "zero" : n == 1 ? "one" : n == 2 ? "two" : n == 3 ? "few" : "other" }' } } } +} |