2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use tr:: instead of langFactory in input fields.

This commit is contained in:
John Preston
2019-06-18 16:07:45 +02:00
parent 7af0dd105e
commit 8ed433cc01
55 changed files with 299 additions and 222 deletions

View File

@@ -61,7 +61,7 @@ EditInfoBox::EditInfoBox(
this,
st::supportInfoField,
Ui::InputField::Mode::MultiLine,
[] { return QString("Support information"); },
rpl::single(qsl("Support information")), // #TODO hard_lang
text)
, _submit(std::move(submit)) {
_field->setMaxLength(kMaxSupportInfoLength);
@@ -73,7 +73,7 @@ EditInfoBox::EditInfoBox(
}
void EditInfoBox::prepare() {
setTitle([] { return QString("Edit support information"); });
setTitle([] { return QString("Edit support information"); }); // #TODO hard_lang
const auto save = [=] {
const auto done = crl::guard(this, [=](bool success) {