2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Handle t.me/setlanguage links.

Also support custom langpacks with base langpacks.
This commit is contained in:
John Preston
2018-10-22 15:13:48 +04:00
parent 228fb2f80d
commit 162da089ec
13 changed files with 697 additions and 252 deletions

View File

@@ -1537,7 +1537,7 @@ QString Instance::systemLangCode() const {
}
QString Instance::cloudLangCode() const {
return Lang::Current().cloudLangCode();
return Lang::Current().cloudLangCode(Lang::Pack::Current);
}
QString Instance::langPackName() const {