2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Replaced some qsl with u""_q literal.

This commit is contained in:
23rd
2022-11-30 00:46:36 +03:00
parent ad3f8e72a0
commit 4fabb3f2a2
109 changed files with 762 additions and 757 deletions

View File

@@ -77,7 +77,7 @@ EditInfoBox::EditInfoBox(
this,
st::supportInfoField,
Ui::InputField::Mode::MultiLine,
rpl::single(qsl("Support information")), // #TODO hard_lang
rpl::single(u"Support information"_q), // #TODO hard_lang
text)
, _submit(std::move(submit)) {
_field->setMaxLength(kMaxSupportInfoLength);
@@ -95,7 +95,7 @@ EditInfoBox::EditInfoBox(
}
void EditInfoBox::prepare() {
setTitle(rpl::single(qsl("Edit support information"))); // #TODO hard_lang
setTitle(rpl::single(u"Edit support information"_q)); // #TODO hard_lang
const auto save = [=] {
const auto done = crl::guard(this, [=](bool success) {
@@ -270,7 +270,7 @@ Helper::Helper(not_null<Main::Session*> session)
});
}).fail([=] {
setSupportName(
qsl("[rand^")
u"[rand^"_q
+ QString::number(Core::Sandbox::Instance().installationTag())
+ ']');
}).send();