mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Intro redesign done.
This commit is contained in:
@@ -516,8 +516,8 @@ void start() {
|
||||
|
||||
SandboxData->LangSystemISO = psCurrentLanguage();
|
||||
if (SandboxData->LangSystemISO.isEmpty()) SandboxData->LangSystemISO = qstr("en");
|
||||
QByteArray l = LangSystemISO().toLatin1();
|
||||
for (int32 i = 0; i < languageCount; ++i) {
|
||||
auto l = LangSystemISO().toLatin1();
|
||||
for (auto i = 0; i < languageCount; ++i) {
|
||||
if (l.at(0) == LanguageCodes[i][0] && l.at(1) == LanguageCodes[i][1]) {
|
||||
SandboxData->LangSystem = i;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user