]> git.openstreetmap.org Git - rails.git/blobdiff - lib/potlatch2.rb
Make translated map layer names work
[rails.git] / lib / potlatch2.rb
index 86d5e45377b74acb32fac126137868334c4f60f1..67bc529a94993e4d063d3995829f51a831194a15 100644 (file)
@@ -2,8 +2,11 @@ module Potlatch2
   LOCALES = {
     "ar" => "ar",
     "ast" => "ast",
   LOCALES = {
     "ar" => "ar",
     "ast" => "ast",
-    "be" => "be-tarask",
+    "az" => "az",
+    "be" => "be",
+    "be-Tarask" => "be-tarask",
     "br" => "br",
     "br" => "br",
+    "bs" => "bs",
     "ca" => "ca",
     "cs" => "cs_CZ",
     "da" => "da",
     "ca" => "ca",
     "cs" => "cs_CZ",
     "da" => "da",
@@ -28,6 +31,7 @@ module Potlatch2
     "ja" => "ja_JP",
     "ka" => "ka",
     "ko" => "ko",
     "ja" => "ja_JP",
     "ka" => "ka",
     "ko" => "ko",
+    "ky" => "ky",
     "lb" => "lb",
     "lt" => "lt",
     "lv" => "lv",
     "lb" => "lb",
     "lt" => "lt",
     "lv" => "lv",
@@ -46,8 +50,8 @@ module Potlatch2
     "sk" => "sk",
     "sl" => "sl",
     "sq" => "sq",
     "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",
     "sv" => "sv_SE",
     "ta" => "ta",
     "tl" => "tl",