2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Move lang keys to td_lang library.

This commit is contained in:
John Preston
2020-09-30 12:11:44 +03:00
parent def1266216
commit 8634c1f7f3
41 changed files with 271 additions and 164 deletions

View File

@@ -1661,15 +1661,15 @@ DcId Instance::mainDcId() const {
}
QString Instance::systemLangCode() const {
return Lang::Current().systemLangCode();
return Lang::GetInstance().systemLangCode();
}
QString Instance::cloudLangCode() const {
return Lang::Current().cloudLangCode(Lang::Pack::Current);
return Lang::GetInstance().cloudLangCode(Lang::Pack::Current);
}
QString Instance::langPackName() const {
return Lang::Current().langPackName();
return Lang::GetInstance().langPackName();
}
rpl::producer<> Instance::writeKeysRequests() const {