]> git.openstreetmap.org Git - rails.git/blobdiff - lib/potlatch2.rb
Use reports_count so that counter_cache works automatically.
[rails.git] / lib / potlatch2.rb
index 89349c6c94ab7001ae5a23d46a4e825e89a15b95..2a856a98106952ec1e69029f6d96a588a150a3e4 100644 (file)
 module Potlatch2
   LOCALES = {
+    "af" => "af",
+    "ar" => "ar",
+    "arc" => "arc",
+    "ast" => "ast",
+    "az" => "az",
+    "ba" => "ba",
+    "be" => "be",
+    "be-Tarask" => "be-tarask",
+    "bg" => "bg",
+    "bn" => "bn",
+    "br" => "br",
+    "bs" => "bs",
+    "ca" => "ca",
+    "ce" => "ce",
+    "cs" => "cs_CZ",
+    "cy" => "cy",
+    "da" => "da",
     "de" => "de_DE",
-    "de-DE" => "de_DE",
-    "en" => "en_GB",
+    "de-Formal" => "de-formal",
+    "diq" => "diq",
+    "dsb" => "dsb",
+    "en" => "en_US",
     "en-GB" => "en_GB",
+    "el" => "el",
+    "eo" => "eo",
+    "es" => "es_ES",
+    "et" => "et",
+    "eu" => "eu",
+    "fa" => "fa",
+    "fi" => "fi",
+    "fo" => "fo",
     "fr" => "fr_FR",
-    "fr-FR" => "fr_FR",
+    "fur" => "fur",
+    "ga" => "ga",
+    "gd" => "gd",
+    "gl" => "gl",
+    "grc" => "grc",
+    "he" => "he",
+    "hr" => "hr",
+    "hsb" => "hsb",
+    "hu" => "hu",
+    "ia" => "ia",
+    "id" => "id",
+    "is" => "is",
+    "it" => "it_IT",
     "ja" => "ja_JP",
-    "ja-JP" => "ja_JP",
+    "ka" => "ka",
+    "km" => "km",
+    "kn" => "kn",
+    "ko" => "ko",
+    "krc" => "krc",
+    "ksh" => "ksh",
+    "ku-Latn" => "ku-latn",
+    "ky" => "ky",
+    "lb" => "lb",
+    "lez" => "lez",
+    "lt" => "lt",
+    "lv" => "lv",
+    "lzz" => "lzz",
+    "mk" => "mk",
+    "mr" => "mr",
+    "ms" => "ms",
+    "nb" => "nb_NO",
+    "nl" => "nl_NL",
+    "nn" => "nn_NO",
+    "no" => "nb_NO",
+    "oc" => "oc",
+    "pa" => "pa",
     "pl" => "pl_PL",
-    "pl-PL" => "pl_PL",
+    "ps" => "ps",
+    "pt" => "pt_PT",
+    "pt-BR" => "pt_BR",
+    "ro" => "ro",
+    "ru" => "ru",
+    "rue" => "rue",
+    "sah" => "sah",
+    "scn" => "scn",
+    "sk" => "sk",
+    "sl" => "sl",
+    "sq" => "sq",
+    "sr" => "sr-ec",
+    "sr-Latn" => "sr-el",
+    "sv" => "sv_SE",
+    "ta" => "ta",
+    "te" => "te",
+    "tl" => "tl",
+    "tly" => "tly",
+    "tr" => "tr",
+    "tyv" => "tyv",
+    "tzm" => "tzm",
+    "uk" => "uk",
     "vi" => "vi_VN",
-    "vi-VN" => "vi_VN"
-  }
+    "vo" => "vo",
+    "yi" => "yi",
+    "zh" => "zh_CN",
+    "zh-TW" => "zh_TW"
+  }.freeze
 end