aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
index 89115b87..64877723 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
@@ -2,9 +2,9 @@
<div id="logo"><a href="/">Juick</a></div>
<nav id="global">
<ul>
- <li><a href="/">Популярные</a></li>
- <li><a href="/?show=all" rel="nofollow">Все сообщения</a></li>
- <li><a href="/?show=photos" rel="nofollow">Фотографии</a></li>
+ <li><a href="/">{{ i18n("messages","link.popular") }}</a></li>
+ <li><a href="/?show=all" rel="nofollow">{{ i18n("messages","link.allMessages") }}</a></li>
+ <li><a href="/?show=photos" rel="nofollow">{{ i18n("messages","link.withPhotos") }}</a></li>
</ul>
</nav>
<div id="search">
@@ -16,23 +16,23 @@
{% if visitor.getUID() > 0 %}
<nav id="user">
<ul>
- <li><a href="/?show=my">Моя лента</a></li>
- <li><a href="/pm/inbox">Приватные</a></li>
- <li><a href="/?show=discuss">Обсуждения</a></li>
- <li><a href="/?show=recommended">Рекомендации</a></li>
+ <li><a href="/?show=my">{{ i18n("messages","link.my") }}</a></li>
+ <li><a href="/pm/inbox">{{ i18n("messages","link.privateMessages") }}</a></li>
+ <li><a href="/?show=discuss">{{ i18n("messages","link.discuss") }}</a></li>
+ <li><a href="/?show=recommended">{{ i18n("messages","link.recommended") }}</a></li>
</ul>
</nav>
<nav id="actions">
<ul>
{% if not readonly %}
- <li><a href="/#post">Написать</a></li>
+ <li><a href="/#post">{{ i18n("messages","link.postMessage") }}</a></li>
{% endif %}
<li><a href="/{{ visitor.getName() }}">@{{ visitor.getName() }}</a></li>
- <li><a href="/logout">Выйти</a></li>
+ <li><a href="/logout">{{ i18n("messages","link.logout") }}</a></li>
</ul>
</nav>
{% else %}
- <p>Чтобы добавлять сообщения и комментарии, <a href="/login" class="a-login">представьтесь</a>.
+ <p>{{ i18n("messages","link.loginForSending", "/login") }}</a>.
</p>
{% endif %}
</section>