mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Retranslate Settings when language is changed.
Also suggest user to change language from 'en' to his for one time.
This commit is contained in:
@@ -5690,11 +5690,11 @@ void MainWidget::feedUpdate(const MTPUpdate &update) {
|
||||
////// Cloud langpacks
|
||||
case mtpc_updateLangPack: {
|
||||
auto &langpack = update.c_updateLangPack();
|
||||
Messenger::Instance().langCloudManager()->applyLangPackDifference(langpack.vdifference);
|
||||
Lang::CurrentCloudManager().applyLangPackDifference(langpack.vdifference);
|
||||
} break;
|
||||
|
||||
case mtpc_updateLangPackTooLong: {
|
||||
Messenger::Instance().langCloudManager()->requestLangPackDifference();
|
||||
Lang::CurrentCloudManager().requestLangPackDifference();
|
||||
} break;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user