Browse Source

[i18n] fix language selection

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1660/head
R4SAS 4 years ago
parent
commit
5011ecaaa6
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 2
      i18n/I18N.h

2
i18n/I18N.h

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

Loading…
Cancel
Save