]> git.openstreetmap.org Git - rails.git/blobdiff - lib/potlatch2.rb
Avoid a JS error on (e.g.) ?way=nnnnn
[rails.git] / lib / potlatch2.rb
index 5f21b5b9c493014badd9e02512f3c082bcef36f1..86d5e45377b74acb32fac126137868334c4f60f1 100644 (file)
@@ -1,12 +1,59 @@
 module Potlatch2
   LOCALES = {
 module Potlatch2
   LOCALES = {
+    "ar" => "ar",
+    "ast" => "ast",
+    "be" => "be-tarask",
+    "br" => "br",
+    "ca" => "ca",
+    "cs" => "cs_CZ",
+    "da" => "da",
     "de" => "de_DE",
     "de" => "de_DE",
-    "de-DE" => "de_DE",
-    "en" => "en_GB",
+    "diq" => "diq",
+    "dsb" => "dsb",
+    "en" => "en_US",
     "en-GB" => "en_GB",
     "en-GB" => "en_GB",
+    "el" => "el",
+    "es" => "es_ES",
+    "et" => "et",
+    "fa" => "fa",
+    "fi" => "fi",
     "fr" => "fr_FR",
     "fr" => "fr_FR",
-    "fr-FR" => "fr_FR",
+    "ga" => "ga",
+    "gl" => "gl",
+    "he" => "he",
+    "hsb" => "hsb",
+    "hu" => "hu",
+    "ia" => "ia",
+    "it" => "it_IT",
+    "ja" => "ja_JP",
+    "ka" => "ka",
+    "ko" => "ko",
+    "lb" => "lb",
+    "lt" => "lt",
+    "lv" => "lv",
+    "mk" => "mk",
+    "ms" => "ms",
+    "nb" => "nb_NO",
+    "nl" => "nl_NL",
+    "nn" => "nn_NO",
+    "no" => "nb_NO",
     "pl" => "pl_PL",
     "pl" => "pl_PL",
-    "pl-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",
+    "sv" => "sv_SE",
+    "ta" => "ta",
+    "tl" => "tl",
+    "tr" => "tr",
+    "uk" => "uk",
+    "vi" => "vi_VN",
+    "zh" => "zh_CN"
   }
 end
   }
 end