mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Discussions: Change text of count of messages in the topics
This commit is contained in:
parent
c0acfd7f7f
commit
26ddfada05
4 changed files with 13 additions and 2 deletions
|
@ -23,6 +23,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-top: 20px;">
|
<div style="margin-top: 20px;">
|
||||||
{include "../components/comments.xml", comments => $comments, count => $count, page => $page, model => "topics", club => $club, readOnly => $topic->isClosed(), parent => $topic}
|
<h4>{tr("topic_messages_count", $count)}</h4>
|
||||||
|
{include "../components/comments.xml", comments => $comments, count => $count, page => $page, model => "topics", club => $club, readOnly => $topic->isClosed(), showTitle => false, parent => $topic}
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<h4>{_"comments"} ({$count})</h4>
|
<h4 n:if="$showTitle ?? true">{_"comments"} ({$count})</h4>
|
||||||
|
|
||||||
<div n:ifset="$thisUser">
|
<div n:ifset="$thisUser">
|
||||||
{var commentsURL = "/al_comments.pl/create/$model/" . $parent->getId()}
|
{var commentsURL = "/al_comments.pl/create/$model/" . $parent->getId()}
|
||||||
|
|
|
@ -608,6 +608,10 @@
|
||||||
"messages_one" = "One message";
|
"messages_one" = "One message";
|
||||||
"messages_other" = "$1 messages";
|
"messages_other" = "$1 messages";
|
||||||
|
|
||||||
|
"topic_messages_count_zero" = "Topic has no messages";
|
||||||
|
"topic_messages_count_one" = "There are one message in the topic";
|
||||||
|
"topic_messages_count_other" = "There are $1 messages in the topic";
|
||||||
|
|
||||||
"replied" = "replied";
|
"replied" = "replied";
|
||||||
"create_topic" = "Create a topic";
|
"create_topic" = "Create a topic";
|
||||||
|
|
||||||
|
|
|
@ -635,6 +635,12 @@
|
||||||
"messages_many" = "$1 сообщений";
|
"messages_many" = "$1 сообщений";
|
||||||
"messages_other" = "$1 сообщений";
|
"messages_other" = "$1 сообщений";
|
||||||
|
|
||||||
|
"topic_messages_count_zero" = "В теме нет сообщений";
|
||||||
|
"topic_messages_count_one" = "В теме одно сообщение";
|
||||||
|
"topic_messages_count_few" = "В теме $1 сообщения";
|
||||||
|
"topic_messages_count_many" = "В теме $1 сообщений";
|
||||||
|
"topic_messages_count_other" = "В теме $1 сообщений";
|
||||||
|
|
||||||
"replied" = "ответил";
|
"replied" = "ответил";
|
||||||
"create_topic" = "Создать тему";
|
"create_topic" = "Создать тему";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue