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

Use tr:: instead of langFactory in box titles.

This commit is contained in:
John Preston
2019-06-18 17:00:55 +02:00
parent 8ed433cc01
commit d1d98c3bb1
66 changed files with 234 additions and 230 deletions

View File

@@ -469,7 +469,7 @@ ProxiesBox::ProxiesBox(
}
void ProxiesBox::prepare() {
setTitle(langFactory(lng_proxy_settings));
setTitle(tr::lng_proxy_settings());
addButton(langFactory(lng_proxy_add), [=] { addNewProxy(); });
addButton(langFactory(lng_close), [=] { closeBox(); });
@@ -698,7 +698,7 @@ ProxyBox::ProxyBox(
}
void ProxyBox::prepare() {
setTitle(langFactory(lng_proxy_edit));
setTitle(tr::lng_proxy_edit());
refreshButtons();
setDimensionsToContent(st::boxWideWidth, _content);