Use IETF language tags for configuring language

This commit is contained in:
Alexey Sokolov
2017-08-07 23:01:35 +01:00
parent e5f20476b5
commit 328461faf1
2 changed files with 2 additions and 1 deletions

View File

@@ -1381,7 +1381,7 @@ class CWebAdminMod : public CModule {
l_en["Code"] = "";
l_en["Name"] = "English";
CTemplate& l_ru = Tmpl.AddRow("LanguageLoop");
l_ru["Code"] = "ru_RU";
l_ru["Code"] = "ru-RU";
l_ru["Name"] = "Russian";
#else
Tmpl["HaveI18N"] = "false";