diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 49d1973684..c1b6641db1 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -2199,11 +2199,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_polls_create_limit#other" = "You can add {count} more options."; "lng_polls_create_maximum" = "You have added the maximum number of options."; "lng_polls_create_settings" = "Settings"; -"lng_polls_create_hint" = "Tap to select the right option"; "lng_polls_create_anonymous" = "Anonymous Votes"; "lng_polls_create_multiple_choice" = "Multiple Answers"; "lng_polls_create_quiz_mode" = "Quiz Mode"; "lng_polls_create_button" = "Create"; +"lng_polls_create_one_answer" = "Quiz has only one right answer."; "lng_polls_choose_question" = "Please enter a question."; "lng_polls_choose_answers" = "Please enter at least two options."; "lng_polls_choose_correct" = "Please choose the correct answer."; diff --git a/Telegram/SourceFiles/boxes/create_poll_box.cpp b/Telegram/SourceFiles/boxes/create_poll_box.cpp index 4b37d38c67..040f5fd090 100644 --- a/Telegram/SourceFiles/boxes/create_poll_box.cpp +++ b/Telegram/SourceFiles/boxes/create_poll_box.cpp @@ -873,7 +873,7 @@ object_ptr<Ui::RpWidget> CreatePollBox::setupContent() { ) | rpl::filter([=](not_null<QEvent*> e) { return (e->type() == QEvent::MouseButtonPress) && quiz->checked(); }) | rpl::start_with_next([=] { - Ui::Toast::Show("Quiz has only one right answer."); + Ui::Toast::Show(tr::lng_polls_create_one_answer(tr::now)); }, multiple->lifetime()); }