aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/partial
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-04-07 10:29:52 +0300
committerGravatar Vitaly Takmazov2017-04-07 10:29:52 +0300
commit9820abe11c0c037f50bb2f7ddbb0bd19646264dc (patch)
tree5a33901fc294546c40b0cdbc65640b041e4c694e /juick-www/src/main/webapp/WEB-INF/views/partial
parent6951e2ad47ed4db3dc7d0b08aeadeb09bc3b994d (diff)
juick-www: merge juick-spring-www i18n, drop thymeleaf
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/footer.html10
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html20
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html6
3 files changed, 18 insertions, 18 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
index 19f22cbd..71d675de 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
@@ -1,9 +1,9 @@
<div id="footer">
<div id="footer-right">
- <a href="/settings" rel="nofollow">Настройки</a> &#183;
- <a href="/help/ru/contacts" rel="nofollow">Контакты</a> &#183;
- <a href="/help/" rel="nofollow">Справка</a> &#183;
- <a href="/help/ru/adv" rel="nofollow">Реклама</a>
+ <a href="/settings" rel="nofollow">{{ i18n("messages","link.settings") }}</a> &#183;
+ <a href="/help/ru/contacts" rel="nofollow">{{ i18n("messages","link.contacts") }}</a> &#183;
+ <a href="/help/" rel="nofollow">{{ i18n("messages","link.help") }}</a> &#183;
+ <a href="/help/ru/adv" rel="nofollow">{{ i18n("messages","link.adv") }}</a>
</div>
<div id="footer-social">
<a href="https://twitter.com/Juick" rel="nofollow" class="ico32-twi">Twitter</a>
@@ -12,7 +12,7 @@
</div>
<div id="footer-left">juick.com &copy; 2008-2017
{% if links %}
- <br/>Спонсоры: {{ links }}
+ <br/>{{ i18n("messages","label.sponsors") }}: {{ links }}
{% endif %}
</div>
</div>
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>
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html b/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html
index d7901d5e..35a5a98e 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html
@@ -1,5 +1,5 @@
<div id="pagetabs"><ul>
- <li><a href="/settings">Main</a></li>
- <li><a href="/settings?page=password">Password</a></li>
- <li><a href="/settings?page=about">About</a></li>
+ <li><a href="/settings">{{ i18n("messages","link.settings.main") }}</a></li>
+ <li><a href="/settings?page=password">{{ i18n("messages","link.settings.password") }}</a></li>
+ <li><a href="/settings?page=about">{{ i18n("messages","link.settings.about") }}</a></li>
</ul></div> \ No newline at end of file