X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/832b96b75ac05177e6baad7b414066ccfd7cfa51..a0b73b9a6bd0547874e133a38478050979e3df62:/lib/potlatch2.rb?ds=sidebyside diff --git a/lib/potlatch2.rb b/lib/potlatch2.rb index 5f21b5b9c..e7c1af944 100644 --- a/lib/potlatch2.rb +++ b/lib/potlatch2.rb @@ -1,12 +1,109 @@ 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", + "fy" => "fy", + "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", + "ka" => "ka", + "kab" => "kab", + "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", + "mg" => "mg", + "mk" => "mk", + "mr" => "mr", + "ms" => "ms", + "my" => "my", + "nb" => "nb_NO", + "ne" => "ne", + "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", + "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", + "tyv" => "tyv", + "tzm" => "tzm", + "uk" => "uk", + "vi" => "vi_VN", + "vo" => "vo", + "yi" => "yi", + "zh" => "zh_CN", + "zh-TW" => "zh_TW" + }.freeze end