mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
[i18n] fix language selection
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
35b1842a72
commit
5011ecaaa6
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue