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

Remove pseudo-HTML from langpacks and Ui::Text::String.

This commit is contained in:
John Preston
2019-06-12 22:11:41 +02:00
parent 9066acd2dd
commit ca7c50fbcd
53 changed files with 253 additions and 314 deletions

View File

@@ -534,7 +534,6 @@ void ProxiesBox::setupContent() {
object_ptr<Ui::FlatLabel>(
inner,
lang(lng_proxy_about),
Ui::FlatLabel::InitType::Simple,
st::boxDividerLabel),
st::proxyAboutPadding),
style::margins(0, 0, 0, st::proxyRowPadding.top()));
@@ -652,7 +651,6 @@ void ProxiesBox::createNoRowsLabel() {
const auto label = Ui::CreateChild<Ui::FlatLabel>(
_noRows.get(),
lang(lng_proxy_description),
Ui::FlatLabel::InitType::Simple,
st::proxyEmptyListLabel);
_noRows->widthValue(
) | rpl::start_with_next([=](int width) {
@@ -780,7 +778,6 @@ void ProxyBox::setupTypes() {
object_ptr<Ui::FlatLabel>(
_content,
lang(lng_proxy_sponsor_warning),
Ui::FlatLabel::InitType::Simple,
st::boxDividerLabel),
st::proxyAboutSponsorPadding)));
}
@@ -911,7 +908,6 @@ void ProxyBox::addLabel(
object_ptr<Ui::FlatLabel>(
parent,
text,
Ui::FlatLabel::InitType::Simple,
st::proxyEditTitle),
st::proxyEditTitlePadding);
}