]> git.openstreetmap.org Git - rails.git/blobdiff - lib/potlatch2.rb
Extract common code for parsing floats
[rails.git] / lib / potlatch2.rb
index 843798ff5863d85a6f51d1c68a652140ce5bdf6c..67bc529a94993e4d063d3995829f51a831194a15 100644 (file)
@@ -2,15 +2,22 @@ module Potlatch2
   LOCALES = {
     "ar" => "ar",
     "ast" => "ast",
+    "az" => "az",
+    "be" => "be",
+    "be-Tarask" => "be-tarask",
     "br" => "br",
+    "bs" => "bs",
     "ca" => "ca",
     "cs" => "cs_CZ",
+    "da" => "da",
     "de" => "de_DE",
     "diq" => "diq",
     "dsb" => "dsb",
     "en" => "en_US",
     "en-GB" => "en_GB",
+    "el" => "el",
     "es" => "es_ES",
+    "et" => "et",
     "fa" => "fa",
     "fi" => "fi",
     "fr" => "fr_FR",
@@ -23,6 +30,8 @@ module Potlatch2
     "it" => "it_IT",
     "ja" => "ja_JP",
     "ka" => "ka",
+    "ko" => "ko",
+    "ky" => "ky",
     "lb" => "lb",
     "lt" => "lt",
     "lv" => "lv",
@@ -34,14 +43,18 @@ module Potlatch2
     "no" => "nb_NO",
     "pl" => "pl_PL",
     "pt" => "pt_PT",
+    "pt-BR" => "pt_BR",
+    "ro" => "ro",
     "ru" => "ru",
     "rue" => "rue",
     "sk" => "sk",
+    "sl" => "sl",
     "sq" => "sq",
-    "sr-EC" => "sr-ec",
-    "sr-EL" => "sr-el",
+    "sr" => "sr-ec",
+    "sr-Latn" => "sr-el",
     "sv" => "sv_SE",
     "ta" => "ta",
+    "tl" => "tl",
     "tr" => "tr",
     "uk" => "uk",
     "vi" => "vi_VN",