]> git.openstreetmap.org Git - rails.git/blobdiff - lib/potlatch2.rb
Sort tags alphabetically for consistent results
[rails.git] / lib / potlatch2.rb
index 06a23115604674a83f75abb26e37ffdceb0ff376..95a86d4797ab6e488879520cff4379c019e0cfea 100644 (file)
@@ -1,14 +1,27 @@
 module Potlatch2
   LOCALES = {
+    "ar" => "ar",
     "ast" => "ast",
+    "az" => "az",
+    "be" => "be",
+    "be-Tarask" => "be-tarask",
+    "bn" => "bn",
     "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",
+    "fo" => "fo",
     "fr" => "fr_FR",
     "ga" => "ga",
     "gl" => "gl",
@@ -16,9 +29,14 @@ module Potlatch2
     "hsb" => "hsb",
     "hu" => "hu",
     "ia" => "ia",
+    "it" => "it_IT",
     "ja" => "ja_JP",
     "ka" => "ka",
+    "ko" => "ko",
+    "ky" => "ky",
     "lb" => "lb",
+    "lt" => "lt",
+    "lv" => "lv",
     "mk" => "mk",
     "ms" => "ms",
     "nb" => "nb_NO",
@@ -26,9 +44,19 @@ module Potlatch2
     "nn" => "nn_NO",
     "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" => "sr-ec",
+    "sr-Latn" => "sr-el",
+    "sv" => "sv_SE",
     "ta" => "ta",
+    "tl" => "tl",
     "tr" => "tr",
     "uk" => "uk",
     "vi" => "vi_VN",