diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 73e8ebf302..44c59c5328 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -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"; diff --git a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp index a83ff19cd6..70901ecd7f 100644 --- a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp +++ b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp @@ -2607,7 +2607,7 @@ std::unique_ptr 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