Notes: Change strings to localized

I also corrected the tabs because it looked ridiculous
This commit is contained in:
Ilya Prokopenko 2022-01-26 14:57:34 +03:00
parent 9c5bc4936b
commit a08640780c
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56

View file

@ -36,40 +36,40 @@
</style>
<article id="userContent" style="margin: 10px 10px 0;">
<div class="note_header">
<div class="note_title">
<div class="note_title">
<a>{$note->getName()}</a>
</div>
</div>
<div class="byline">
<span><a href="{$author->getURL()}">{$author->getCanonicalName()}</a></span> {$note->getPublicationTime()}
</div>
</div>
<div style="margin-left: 6px; width: 535px;">
{$note->getText()|noescape}
</div>
<div class="note_header">
<div class="note_title">
<div class="note_title">
<a>{$note->getName()}</a>
</div>
</div>
<div class="byline">
<span><a href="{$author->getURL()}">{$author->getCanonicalName()}</a></span> {$note->getPublicationTime()}
</div>
</div>
<div style="margin-left: 6px; width: 535px;">
{$note->getText()|noescape}
</div>
</article>
<div class="note_footer" style="margin: 10px 10px 0;">
<div class="comments_count">
{if sizeof($comments) > 0}
Комментарии ({$note->getCommentsCount()})
{else}
Нет комментариев
{/if}
<span n:if="isset($thisUser) && $thisUser->getId() === $note->getOwner()->getId()">&nbsp;|&nbsp;
<a id="_noteDelete" href="/note{$note->getOwner()->getId()}_{$note->getId()}/delete">удалить</a>
</span>
</div>
</div>
<div style="margin: 6px 10px 10px;border-top: 1px solid #ddd;">
{include "../components/comments.xml",
comments => $comments,
count => $cCount,
page => $cPage,
model => "notes",
parent => $note,
showTitle => false}
<div class="note_footer" style="margin: 10px 10px 0;">
<div class="comments_count">
{if sizeof($comments) > 0}
{_comments} ({$note->getCommentsCount()})
{else}
{_no_comments}
{/if}
<span n:if="isset($thisUser) && $thisUser->getId() === $note->getOwner()->getId()">&nbsp;|&nbsp;
<a id="_noteDelete" href="/note{$note->getOwner()->getId()}_{$note->getId()}/delete">{_delete}</a>
</span>
</div>
</div>
<div style="margin: 6px 10px 10px;border-top: 1px solid #ddd;">
{include "../components/comments.xml",
comments => $comments,
count => $cCount,
page => $cPage,
model => "notes",
parent => $note,
showTitle => false}
</div>
{/block}