mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-24 06:22:59 +02:00
Add distinct item for Poll in menu.
This commit is contained in:
parent
7253d764d2
commit
b0971601b1
2 changed files with 2 additions and 1 deletions
|
@ -5965,6 +5965,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
"lng_polls_stop" = "Stop poll";
|
||||
"lng_polls_stop_warning" = "If you stop this poll now, nobody will be able to vote in it anymore. This action cannot be undone.";
|
||||
"lng_polls_stop_sure" = "Stop";
|
||||
"lng_polls_menu_item" = "Poll";
|
||||
"lng_polls_create" = "Create poll";
|
||||
"lng_polls_create_title" = "New poll";
|
||||
"lng_polls_create_question" = "Question";
|
||||
|
|
|
@ -2607,7 +2607,7 @@ std::unique_ptr<Ui::DropdownMenu> MakeAttachBotsMenu(
|
|||
}
|
||||
if (peer->canCreatePolls()) {
|
||||
++minimal;
|
||||
raw->addAction(tr::lng_polls_create(tr::now), [=] {
|
||||
raw->addAction(tr::lng_polls_menu_item(tr::now), [=] {
|
||||
const auto action = actionFactory();
|
||||
const auto source = action.options.scheduled
|
||||
? Api::SendType::Scheduled
|
||||
|
|
Loading…
Add table
Reference in a new issue