X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4a97b041795fda381e24d41fdf94af9143a28591..f2c955a96a5df1eb74746699f4d327527a3ac8c6:/lib/potlatch2.rb diff --git a/lib/potlatch2.rb b/lib/potlatch2.rb index 95a86d479..df3b42e9e 100644 --- a/lib/potlatch2.rb +++ b/lib/potlatch2.rb @@ -1,54 +1,78 @@ module Potlatch2 LOCALES = { + "af" => "af", "ar" => "ar", + "arc" => "arc", "ast" => "ast", "az" => "az", + "ba" => "ba", "be" => "be", "be-Tarask" => "be-tarask", "bn" => "bn", "br" => "br", "bs" => "bs", "ca" => "ca", + "ce" => "ce", "cs" => "cs_CZ", "da" => "da", "de" => "de_DE", + "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", + "fur" => "fur", "ga" => "ga", + "gd" => "gd", "gl" => "gl", + "grc" => "grc", "he" => "he", + "hr" => "hr", "hsb" => "hsb", "hu" => "hu", "ia" => "ia", + "id" => "id", "it" => "it_IT", "ja" => "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", + "ps" => "ps", "pt" => "pt_PT", "pt-BR" => "pt_BR", "ro" => "ro", "ru" => "ru", "rue" => "rue", + "sah" => "sah", "sk" => "sk", "sl" => "sl", "sq" => "sq", @@ -56,10 +80,17 @@ module Potlatch2 "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", - "zh" => "zh_CN" + "vo" => "vo", + "yi" => "yi", + "zh" => "zh_CN", + "zh-TW" => "zh_TW" } end