diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 66aa97e9f4..7c17f71d68 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -3550,6 +3550,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_forum_topics_not_enough#one" = "Only groups with more than **{count} member** can have topics enabled."; "lng_forum_topics_not_enough#other" = "Only groups with more than **{count} members** can have topics enabled."; "lng_forum_topics_no_discussion" = "Topics can't be enabled in discussion groups at the moment."; +"lng_forum_choose_title_and_icon" = "Choose title and icon for your topic"; +"lng_forum_replies_only" = "You can reply to messages in topics."; "lng_forum_no_topics" = "No topics currently created in this forum."; "lng_forum_create_topic" = "Create topic"; "lng_forum_discard_sure" = "Are you sure you want to discard this topic?"; diff --git a/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp index 0aacd73d32..0be2cbb51e 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp @@ -446,7 +446,7 @@ void EditForumTopicBox( Settings::AddDividerText( top, - rpl::single(u"Choose title and icon for your topic"_q)); + tr::lng_forum_choose_title_and_icon()); box->setScrollStyle(st::reactPanelScroll); diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index 7af4eb5049..52f1a4a6f7 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -2609,7 +2609,7 @@ std::optional HistoryWidget::writeRestriction() const { if (result) { return result; } else if (_peer && _peer->isForum()) { - return u"You can reply to messages in topics."_q; + return tr::lng_forum_replies_only(tr::now); } return std::nullopt; }