mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-28 19:40:54 +00:00
Add 'Send now' confirmation to langpack.
This commit is contained in:
parent
c31cda0587
commit
c46bcef9ff
@ -1271,6 +1271,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
"lng_scheduled_messages" = "Scheduled Messages";
|
||||
"lng_reminder_messages" = "Reminders";
|
||||
"lng_scheduled_send_now" = "Send message now?";
|
||||
"lng_scheduled_send_now_many#one" = "Send {count} message now?";
|
||||
"lng_scheduled_send_now_many#other" = "Send {count} messages now?";
|
||||
|
||||
"lng_archived_name" = "Archived chats";
|
||||
"lng_archived_add" = "Archive";
|
||||
|
@ -865,7 +865,9 @@ QPointer<Ui::RpWidget> ShowSendNowMessagesBox(
|
||||
MessageIdsList &&items,
|
||||
FnMut<void()> &&successCallback) {
|
||||
const auto session = &navigation->session();
|
||||
const auto text = "Send now?";
|
||||
const auto text = (items.size() > 1)
|
||||
? tr::lng_scheduled_send_now_many(tr::now, lt_count, items.size())
|
||||
: tr::lng_scheduled_send_now(tr::now);
|
||||
const auto box = std::make_shared<QPointer<BoxContent>>();
|
||||
auto done = [
|
||||
=,
|
||||
|
Loading…
Reference in New Issue
Block a user