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

Realtime UI translation in Intro.

Also support realtime translation testing by F7-F6-F7-F8 keys.
This commit is contained in:
John Preston
2017-05-30 16:54:05 +03:00
parent d47a38dfcf
commit 5fc4f4ed36
18 changed files with 266 additions and 89 deletions

View File

@@ -198,9 +198,7 @@ void codesFeedString(const QString &text) {
Widget::Widget(QWidget *parent) {
refreshLang();
subscribe(Lang::Current().updated(), [this] {
refreshLang();
});
subscribe(Lang::Current().updated(), [this] { refreshLang(); });
_inner = setInnerWidget(object_ptr<InnerWidget>(this));
setCloseClickHandler([]() {