Use more simple tr::... text helpers.

This commit is contained in:
John Preston
2025-12-15 12:15:25 +04:00
parent 629158fedb
commit 08a979e638
213 changed files with 1657 additions and 1643 deletions
@@ -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)();