diff options
author | KillyMXI | 2017-08-20 18:15:09 +0300 |
---|---|---|
committer | KillyMXI | 2017-08-20 18:15:09 +0300 |
commit | 8fa9a684c8a06bed7235f58f79af2d88da13fede (patch) | |
tree | 9fc35b94e23c90540e79272235b9900c6b9e3236 /juick-www/src/main/webapp/WEB-INF/views/partial | |
parent | 0bcb1e9529e6456db67a91eb2c699e26b5bbe42e (diff) |
www: i18n
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html | 8 | ||||
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html | 7 |
2 files changed, 9 insertions, 6 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html index 1e43b92f..1333351b 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html @@ -1,10 +1,10 @@ <form action="/post" method="post" enctype="multipart/form-data"> <section id="newmessage"> - <textarea name="body" placeholder="Новое сообщение..."></textarea> + <textarea name="body" placeholder="{{ i18n("messages","postForm.newMessage") }}"></textarea> <div> - <input type="text" class="img" name="img" placeholder="Ссылка на изображение (JPG/PNG, до 10Мб)"/> или <a href="#">загрузить</a><br/> - <input type="text" class="tags" name="tags" placeholder="Теги (через пробел)"/><br/> - <input type="submit" class="subm" value="Отправить"/> + <input type="text" class="img" name="img" placeholder="{{ i18n("messages","postForm.imageLink") }} ({{ i18n("messages","postForm.imageFormats") }})"/> {{ i18n("messages","postForm.or") }} <a href="#">{{ i18n("messages","postForm.upload") }}</a><br/> + <input type="text" class="tags" name="tags" placeholder="{{ i18n("messages","postForm.tags") }}"/><br/> + <input type="submit" class="subm" value="{{ i18n("messages","postForm.submit") }}"/> </div> </section> </form>
\ No newline at end of file diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html index af04e4fa..3ef9dd16 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html @@ -35,12 +35,15 @@ {% endif %} <div class="msg-links">/{{ msg.rid }} {% if msg.replyto > 0 %} - в ответ на <a href="#{{ msg.replyto }}">/{{ msg.replyto }}</a> + {{ i18n("messages","reply.inReplyTo") }} <a href="#{{ msg.replyto }}">/{{ msg.replyto }}</a> {% endif %} {% if msg.VisitorCanComment %} - · <a href="/post?body=%23{{ msg.mid }}/{{ msg.rid }}%20" class="a-thread-comment">Ответить</a> + · <a href="/post?body=%23{{ msg.mid }}/{{ msg.rid }}%20" class="a-thread-comment">{{ i18n("messages","reply.reply") }}</a> </div> <div class="msg-comment" style="display: none;"></div> + {% elseif visitor.uid == 0 %} + · <a href="#" class="a-login">{{ i18n("messages","reply.reply") }}</a> + </div> {% else %} </div> {% endif %} |