diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 16b3b2240f..713d4fd8d3 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -4989,6 +4989,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_context_reply_to_poll_option" = "Reply to Option"; "lng_context_copy_poll_option" = "Copy Option"; "lng_context_delete_poll_option" = "Delete Item"; +"lng_context_poll_message_tab" = "Poll"; +"lng_context_poll_option_tab" = "Option"; "lng_context_edit_msg" = "Edit"; "lng_context_draw" = "Edit Image"; "lng_context_add_factcheck" = "Add Fact Check"; diff --git a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp index 742c4f7042..d973d46abc 100644 --- a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp +++ b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp @@ -1636,7 +1636,10 @@ void AttachPollOptionTabs( const auto &tabsSt = st::popupMenuPillTabs; const auto tabs = Ui::CreateChild( menu.get(), - std::vector{ u"Option"_q, u"Poll"_q }, + std::vector{ + tr::lng_context_poll_option_tab(tr::now), + tr::lng_context_poll_message_tab(tr::now), + }, 0, tabsSt);