]> git.openstreetmap.org Git - rails.git/blob - lib/potlatch2.rb
Simplify permissions check.
[rails.git] / lib / potlatch2.rb
1 module Potlatch2
2   LOCALES = {
3     "af" => "af",
4     "ar" => "ar",
5     "arc" => "arc",
6     "ast" => "ast",
7     "az" => "az",
8     "ba" => "ba",
9     "be" => "be",
10     "be-Tarask" => "be-tarask",
11     "bg" => "bg",
12     "bn" => "bn",
13     "br" => "br",
14     "bs" => "bs",
15     "ca" => "ca",
16     "ce" => "ce",
17     "cs" => "cs_CZ",
18     "cy" => "cy",
19     "da" => "da",
20     "de" => "de_DE",
21     "de-Formal" => "de-formal",
22     "diq" => "diq",
23     "dsb" => "dsb",
24     "en" => "en_US",
25     "en-GB" => "en_GB",
26     "el" => "el",
27     "eo" => "eo",
28     "es" => "es_ES",
29     "et" => "et",
30     "eu" => "eu",
31     "fa" => "fa",
32     "fi" => "fi",
33     "fo" => "fo",
34     "fr" => "fr_FR",
35     "fur" => "fur",
36     "ga" => "ga",
37     "gd" => "gd",
38     "gl" => "gl",
39     "grc" => "grc",
40     "he" => "he",
41     "hr" => "hr",
42     "hsb" => "hsb",
43     "hu" => "hu",
44     "ia" => "ia",
45     "id" => "id",
46     "is" => "is",
47     "it" => "it_IT",
48     "ja" => "ja_JP",
49     "ka" => "ka",
50     "km" => "km",
51     "kn" => "kn",
52     "ko" => "ko",
53     "krc" => "krc",
54     "ksh" => "ksh",
55     "ku-Latn" => "ku-latn",
56     "ky" => "ky",
57     "lb" => "lb",
58     "lez" => "lez",
59     "lt" => "lt",
60     "lv" => "lv",
61     "lzz" => "lzz",
62     "mk" => "mk",
63     "mr" => "mr",
64     "ms" => "ms",
65     "nb" => "nb_NO",
66     "nl" => "nl_NL",
67     "nn" => "nn_NO",
68     "no" => "nb_NO",
69     "oc" => "oc",
70     "pa" => "pa",
71     "pl" => "pl_PL",
72     "ps" => "ps",
73     "pt" => "pt_PT",
74     "pt-BR" => "pt_BR",
75     "ro" => "ro",
76     "ru" => "ru",
77     "rue" => "rue",
78     "sah" => "sah",
79     "scn" => "scn",
80     "sk" => "sk",
81     "sl" => "sl",
82     "sq" => "sq",
83     "sr" => "sr-ec",
84     "sr-Latn" => "sr-el",
85     "sv" => "sv_SE",
86     "ta" => "ta",
87     "te" => "te",
88     "tl" => "tl",
89     "tly" => "tly",
90     "tr" => "tr",
91     "tyv" => "tyv",
92     "tzm" => "tzm",
93     "uk" => "uk",
94     "vi" => "vi_VN",
95     "vo" => "vo",
96     "yi" => "yi",
97     "zh" => "zh_CN",
98     "zh-TW" => "zh_TW"
99   }.freeze
100 end