2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Add 'Send now' confirmation to langpack.

This commit is contained in:
John Preston
2019-08-30 15:24:42 +03:00
parent c31cda0587
commit c46bcef9ff
2 changed files with 6 additions and 1 deletions

View File

@@ -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 = [
=,