mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use tr:: instead of langFactory and __rich.
This commit is contained in:
@@ -1441,8 +1441,8 @@ void SendFilesBox::setupShadows(
|
||||
}
|
||||
|
||||
void SendFilesBox::prepare() {
|
||||
_send = addButton(langFactory(lng_send_button), [=] { send(); });
|
||||
addButton(langFactory(lng_cancel), [=] { closeBox(); });
|
||||
_send = addButton(tr::lng_send_button(), [=] { send(); });
|
||||
addButton(tr::lng_cancel(), [=] { closeBox(); });
|
||||
initSendWay();
|
||||
setupCaption();
|
||||
preparePreview();
|
||||
|
Reference in New Issue
Block a user