X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..3d0f9536c403711554621a8eba3d86321fcbd7cc:/lib/potlatch2.rb diff --git a/lib/potlatch2.rb b/lib/potlatch2.rb index f967c032c..95a86d479 100644 --- a/lib/potlatch2.rb +++ b/lib/potlatch2.rb @@ -1,17 +1,65 @@ module Potlatch2 LOCALES = { + "ar" => "ar", + "ast" => "ast", + "az" => "az", + "be" => "be", + "be-Tarask" => "be-tarask", + "bn" => "bn", + "br" => "br", + "bs" => "bs", + "ca" => "ca", + "cs" => "cs_CZ", + "da" => "da", "de" => "de_DE", - "de-DE" => "de_DE", + "diq" => "diq", + "dsb" => "dsb", "en" => "en_US", "en-GB" => "en_GB", - "en-US" => "en_US", + "el" => "el", + "es" => "es_ES", + "et" => "et", + "fa" => "fa", + "fi" => "fi", + "fo" => "fo", "fr" => "fr_FR", - "fr-FR" => "fr_FR", + "ga" => "ga", + "gl" => "gl", + "he" => "he", + "hsb" => "hsb", + "hu" => "hu", + "ia" => "ia", + "it" => "it_IT", "ja" => "ja_JP", - "ja-JP" => "ja_JP", + "ka" => "ka", + "ko" => "ko", + "ky" => "ky", + "lb" => "lb", + "lt" => "lt", + "lv" => "lv", + "mk" => "mk", + "ms" => "ms", + "nb" => "nb_NO", + "nl" => "nl_NL", + "nn" => "nn_NO", + "no" => "nb_NO", "pl" => "pl_PL", - "pl-PL" => "pl_PL", + "pt" => "pt_PT", + "pt-BR" => "pt_BR", + "ro" => "ro", + "ru" => "ru", + "rue" => "rue", + "sk" => "sk", + "sl" => "sl", + "sq" => "sq", + "sr" => "sr-ec", + "sr-Latn" => "sr-el", + "sv" => "sv_SE", + "ta" => "ta", + "tl" => "tl", + "tr" => "tr", + "uk" => "uk", "vi" => "vi_VN", - "vi-VN" => "vi_VN" + "zh" => "zh_CN" } end