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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user