From bbfb47b6a329a2e735f51342aad5dca07de2300a Mon Sep 17 00:00:00 2001 From: Jonne Hass Date: Sun, 18 Dec 2011 15:37:27 +0100 Subject: [PATCH] added fil, ms, te --- config/locale_settings.yml | 4 ++++ config/locales/cldr/fil_plurals.rb | 1 + config/locales/cldr/ms_plurals.rb | 1 + config/locales/cldr/te_plurals.rb | 1 + 4 files changed, 7 insertions(+) create mode 100644 config/locales/cldr/fil_plurals.rb create mode 100644 config/locales/cldr/ms_plurals.rb create mode 100644 config/locales/cldr/te_plurals.rb diff --git a/config/locale_settings.yml b/config/locale_settings.yml index cc796e3db..888f4c3f2 100644 --- a/config/locale_settings.yml +++ b/config/locale_settings.yml @@ -20,6 +20,7 @@ available: es-CL: "Castellano - Chile" eu: "Euskara" fi: "Suomi" + fil: "Filipino" fr: "Français" ga: "Gaeilge" gl: "Galego" @@ -33,6 +34,7 @@ available: lt: "Lietuviškai" mk: "македонски" ml: "മലയാളം" + ms: "بهاس ملايو‎" nb: "Norske" nl: "Nederlands" nn: "Nynorsk" @@ -45,6 +47,7 @@ available: sl: "Slovenščina" sq: "gjuha shqipe" sv: "Svenska" + te: "తెలుగు" tr: "Türk" uk: "украї́нська мо́ва" ur-PK: "اُردو (پاکستان)" @@ -90,3 +93,4 @@ rtl: - :he - :ur - :ur-PK + - :ms diff --git a/config/locales/cldr/fil_plurals.rb b/config/locales/cldr/fil_plurals.rb new file mode 100644 index 000000000..48c351baf --- /dev/null +++ b/config/locales/cldr/fil_plurals.rb @@ -0,0 +1 @@ +{ :fil => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } } } \ No newline at end of file diff --git a/config/locales/cldr/ms_plurals.rb b/config/locales/cldr/ms_plurals.rb new file mode 100644 index 000000000..11a45d103 --- /dev/null +++ b/config/locales/cldr/ms_plurals.rb @@ -0,0 +1 @@ +{ :ms => { :i18n => {:plural => { :keys => [:other], :rule => lambda { |n| :other } } } } } \ No newline at end of file diff --git a/config/locales/cldr/te_plurals.rb b/config/locales/cldr/te_plurals.rb new file mode 100644 index 000000000..ea64fb0c0 --- /dev/null +++ b/config/locales/cldr/te_plurals.rb @@ -0,0 +1 @@ +{ :te => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } } \ No newline at end of file