]> git.openstreetmap.org Git - rails.git/blobdiff - lib/potlatch2.rb
use a controller method to handle cancan denials
[rails.git] / lib / potlatch2.rb
index 065d0217436553a193063a43cce5bb8236acdbf0..5fe171f746fe4f8a57207f6ff11279627fe6a0a4 100644 (file)
@@ -8,12 +8,14 @@ module Potlatch2
     "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-Formal" => "de-formal",
@@ -31,7 +33,9 @@ module Potlatch2
     "fo" => "fo",
     "fr" => "fr_FR",
     "fur" => "fur",
+    "fy" => "fy",
     "ga" => "ga",
+    "gd" => "gd",
     "gl" => "gl",
     "grc" => "grc",
     "he" => "he",
@@ -40,13 +44,16 @@ module Potlatch2
     "hu" => "hu",
     "ia" => "ia",
     "id" => "id",
+    "is" => "is",
     "it" => "it_IT",
     "ja" => "ja_JP",
     "ka" => "ka",
+    "kab" => "kab",
     "km" => "km",
     "kn" => "kn",
     "ko" => "ko",
     "krc" => "krc",
+    "ksh" => "ksh",
     "ku-Latn" => "ku-latn",
     "ky" => "ky",
     "lb" => "lb",
@@ -54,10 +61,12 @@ module Potlatch2
     "lt" => "lt",
     "lv" => "lv",
     "lzz" => "lzz",
+    "mg" => "mg",
     "mk" => "mk",
     "mr" => "mr",
     "ms" => "ms",
     "nb" => "nb_NO",
+    "ne" => "ne",
     "nl" => "nl_NL",
     "nn" => "nn_NO",
     "no" => "nb_NO",
@@ -71,14 +80,19 @@ module Potlatch2
     "ru" => "ru",
     "rue" => "rue",
     "sah" => "sah",
+    "scn" => "scn",
+    "shn" => "shn",
     "sk" => "sk",
+    "skr" => "skr-arab",
     "sl" => "sl",
     "sq" => "sq",
     "sr" => "sr-ec",
     "sr-Latn" => "sr-el",
+    "sty" => "sty",
     "sv" => "sv_SE",
     "ta" => "ta",
     "te" => "te",
+    "th" => "th",
     "tl" => "tl",
     "tly" => "tly",
     "tr" => "tr",
@@ -90,5 +104,5 @@ module Potlatch2
     "yi" => "yi",
     "zh" => "zh_CN",
     "zh-TW" => "zh_TW"
-  }
+  }.freeze
 end