mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-28 19:40:54 +00:00
Add some phrases to langpack.
This commit is contained in:
parent
d58f312342
commit
080ab26804
@ -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?";
|
||||
|
@ -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);
|
||||
|
||||
|
@ -2609,7 +2609,7 @@ std::optional<QString> 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user