mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Use more simple tr::... text helpers.
This commit is contained in:
@@ -130,13 +130,13 @@ void LaunchWithWarning(
|
||||
File::Launch(name);
|
||||
};
|
||||
auto text = isIpReveal
|
||||
? tr::lng_launch_svg_warning(Ui::Text::WithEntities)
|
||||
? tr::lng_launch_svg_warning(tr::marked)
|
||||
: ((nameType == Core::NameType::Executable)
|
||||
? tr::lng_launch_exe_warning
|
||||
: tr::lng_launch_other_warning)(
|
||||
lt_extension,
|
||||
rpl::single(Ui::Text::Bold('.' + extension)),
|
||||
Ui::Text::WithEntities);
|
||||
rpl::single(tr::bold('.' + extension)),
|
||||
tr::marked);
|
||||
auto check = (isIpReveal
|
||||
? tr::lng_launch_exe_dont_ask
|
||||
: tr::lng_launch_dont_ask)();
|
||||
|
||||
Reference in New Issue
Block a user