mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Use tr:: instead of langFactory and __rich.
This commit is contained in:
@@ -124,7 +124,7 @@ BackgroundBox::BackgroundBox(QWidget*) {
|
||||
void BackgroundBox::prepare() {
|
||||
setTitle(tr::lng_backgrounds_header());
|
||||
|
||||
addButton(langFactory(lng_close), [=] { closeBox(); });
|
||||
addButton(tr::lng_close(), [=] { closeBox(); });
|
||||
|
||||
setDimensions(st::boxWideWidth, st::boxMaxListHeight);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user