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
+4 -4
View File
@@ -73,17 +73,17 @@ void TransferPasswordError(
auto text = std::move(about).append('\n').append('\n').append(
tr::lng_rights_transfer_check_password(
tr::now,
Ui::Text::RichLangValue)
tr::rich)
).append('\n').append('\n').append(
tr::lng_rights_transfer_check_session(
tr::now,
Ui::Text::RichLangValue)
tr::rich)
);
if (error == PasswordErrorType::Later) {
text.append('\n').append('\n').append(
tr::lng_rights_transfer_check_later(
tr::now,
Ui::Text::RichLangValue));
tr::rich));
}
box->addRow(object_ptr<Ui::FlatLabel>(
box,
@@ -1152,7 +1152,7 @@ RecoverBox::RecoverBox(
tr::lng_signin_recover_hint(
lt_recover_email,
rpl::single(Ui::Text::WrapEmailPattern(pattern)),
Ui::Text::WithEntities),
tr::marked),
st::termsContent,
st::defaultPopupMenu)
, _closeParent(std::move(closeParent)) {