mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Add some phrases to langpack.
This commit is contained in:
parent
d58f312342
commit
080ab26804
3 changed files with 4 additions and 2 deletions
|
@ -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#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_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_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_no_topics" = "No topics currently created in this forum.";
|
||||||
"lng_forum_create_topic" = "Create topic";
|
"lng_forum_create_topic" = "Create topic";
|
||||||
"lng_forum_discard_sure" = "Are you sure you want to discard this topic?";
|
"lng_forum_discard_sure" = "Are you sure you want to discard this topic?";
|
||||||
|
|
|
@ -446,7 +446,7 @@ void EditForumTopicBox(
|
||||||
|
|
||||||
Settings::AddDividerText(
|
Settings::AddDividerText(
|
||||||
top,
|
top,
|
||||||
rpl::single(u"Choose title and icon for your topic"_q));
|
tr::lng_forum_choose_title_and_icon());
|
||||||
|
|
||||||
box->setScrollStyle(st::reactPanelScroll);
|
box->setScrollStyle(st::reactPanelScroll);
|
||||||
|
|
||||||
|
|
|
@ -2609,7 +2609,7 @@ std::optional<QString> HistoryWidget::writeRestriction() const {
|
||||||
if (result) {
|
if (result) {
|
||||||
return result;
|
return result;
|
||||||
} else if (_peer && _peer->isForum()) {
|
} 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;
|
return std::nullopt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue