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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user