mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Realtime UI translation in all fields and buttons.
This commit is contained in:
@@ -125,9 +125,9 @@ void LanguageBox::prepare() {
|
||||
|
||||
void LanguageBox::refreshLang() {
|
||||
clearButtons();
|
||||
addButton(lang(lng_box_ok), [this] { closeBox(); });
|
||||
addButton(langFactory(lng_box_ok), [this] { closeBox(); });
|
||||
|
||||
setTitle(lang(lng_languages));
|
||||
setTitle(langFactory(lng_languages));
|
||||
|
||||
update();
|
||||
}
|
||||
|
Reference in New Issue
Block a user