1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

[i18n] fix language selection

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-05-26 13:27:13 +03:00
parent 35b1842a72
commit 5011ecaaa6
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -19,7 +19,7 @@ namespace i18n
{
if (!lang.compare("russian"))
i2p::context.SetLanguage (i2p::i18n::russian::GetLocale());
if (!lang.compare("ukrainian"))
else if (!lang.compare("ukrainian"))
i2p::context.SetLanguage (i2p::i18n::ukrainian::GetLocale());
else // fallback
i2p::context.SetLanguage (i2p::i18n::english::GetLocale());