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:
@@ -400,11 +400,11 @@ void ShareBox::keyPressEvent(QKeyEvent *e) {
|
||||
void ShareBox::createButtons() {
|
||||
clearButtons();
|
||||
if (_hasSelected) {
|
||||
addButton(langFactory(lng_share_confirm), [=] { submit(); });
|
||||
addButton(tr::lng_share_confirm(), [=] { submit(); });
|
||||
} else if (_copyCallback) {
|
||||
addButton(langFactory(lng_share_copy_link), [=] { copyLink(); });
|
||||
addButton(tr::lng_share_copy_link(), [=] { copyLink(); });
|
||||
}
|
||||
addButton(langFactory(lng_cancel), [=] { closeBox(); });
|
||||
addButton(tr::lng_cancel(), [=] { closeBox(); });
|
||||
}
|
||||
|
||||
void ShareBox::applyFilterUpdate(const QString &query) {
|
||||
|
Reference in New Issue
Block a user