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
@@ -459,7 +459,7 @@ not_null<Ui::RpWidget*> AddInnerToggle(
rpl::empty_value()
) | rpl::map(countChecked)
) | rpl::map([=](const QString &t, int checked) {
auto count = Ui::Text::Bold(" "
auto count = tr::bold(" "
+ QString::number(checked)
+ '/'
+ QString::number(totalInnerChecks));
@@ -1295,7 +1295,7 @@ Fn<void()> AboutGigagroupCallback(
object_ptr<Ui::FlatLabel>(
box,
tr::lng_gigagroup_warning(
) | Ui::Text::ToRichLangValue(),
) | rpl::map(tr::rich),
st::infoAboutGigagroup));
box->addButton(tr::lng_gigagroup_convert_sure(), convertSure);
box->addButton(tr::lng_cancel(), [=] { box->closeBox(); });