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

Use tr:: instead of langFactory and __rich.

This commit is contained in:
John Preston
2019-06-18 18:53:27 +02:00
parent d1d98c3bb1
commit a7c8feaecb
103 changed files with 699 additions and 628 deletions

View File

@@ -97,11 +97,12 @@ void LaunchWithWarning(const QString &name, HistoryItem *item) {
File::Launch(name);
};
Ui::show(Box<ConfirmDontWarnBox>(
rpl::single(lng_launch_exe_warning__rich(
tr::lng_launch_exe_warning(
lt_extension,
Ui::Text::Bold(extension))),
rpl::single(Ui::Text::Bold(extension)),
Ui::Text::WithEntities),
lang(lng_launch_exe_dont_ask),
lang(lng_launch_exe_sure),
tr::lng_launch_exe_sure(),
callback));
}