From c0831038bd7bde32df5af8fb851d210daeccc853 Mon Sep 17 00:00:00 2001 From: Alexander Alexeev Date: Mon, 12 Dec 2016 22:41:10 +0700 Subject: i18n for pages --- .../src/main/webapp/WEB-INF/templates/index.html | 21 --- .../webapp/WEB-INF/templates/layout/error.html | 25 ---- .../webapp/WEB-INF/templates/layout/login.html | 145 --------------------- .../WEB-INF/templates/layout/mainLayout.html | 19 ++- .../WEB-INF/templates/layout/partial/footer.html | 44 +++---- .../templates/layout/partial/navigation.html | 51 ++++---- .../main/webapp/WEB-INF/templates/views/error.html | 27 ++++ .../main/webapp/WEB-INF/templates/views/index.html | 7 +- .../main/webapp/WEB-INF/templates/views/login.html | 145 +++++++++++++++++++++ .../templates/views/partial/blog_postform.html | 24 ++-- .../templates/views/partial/homecolumn.html | 9 +- .../templates/views/partial/settings_tabs.html | 12 +- 12 files changed, 256 insertions(+), 273 deletions(-) delete mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/index.html delete mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/layout/error.html delete mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/layout/login.html create mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html create mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/views/login.html (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates') diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/index.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/index.html deleted file mode 100644 index 7ee2156d..00000000 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/index.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - Популярные - Микроблоги Juick: популярные записи - - - -
-

Главная страница !

-

-

-

-
- - - \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/error.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/error.html deleted file mode 100644 index 60df54a7..00000000 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/error.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - Error page - - - -

404

-

Error java.lang.NullPointerException

- Back to Home Page - - \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/login.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/login.html deleted file mode 100644 index bcfa318d..00000000 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/login.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - Juick - - - - - - - - -
juick.com © 2008-2017   Контакты · Помощь
- -
- Зарегистрироваться: -
Facebook
-
VK
-
XMPP -
[(#{message.sendLoginToXmpp})]
-
-
-
-

Произошла ошибка, проверьте имя пользователя и пароль

- Уже зарегистрированы? -
-
- - - -
-
-
- - \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/mainLayout.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/mainLayout.html index ef9887d2..c07886b6 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/mainLayout.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/mainLayout.html @@ -11,20 +11,19 @@ Juick.com - + -
Navigation block
-
-

Main content

-
- - - +
Navigation block
+
+

Main content

+
+ + \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/footer.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/footer.html index 154e1ccf..1d565db3 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/footer.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/footer.html @@ -1,13 +1,9 @@ - - - - + \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/navigation.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/navigation.html index c7cd1c81..2317369c 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/navigation.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/navigation.html @@ -1,43 +1,50 @@ - - - - -
+
@@ -45,6 +52,4 @@

[(#{message.loginForSending(@{/login})})]

-
- - +
\ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html new file mode 100644 index 00000000..98ce70e4 --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + Error page + + + +

404

+ +

Error java.lang.NullPointerException

+ + Back to Home Page + + \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html index 8f667135..6b6f278d 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html @@ -3,17 +3,20 @@ xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout/mainLayout}"> - Main title + Популярные + Микроблоги Juick: популярные записи
-
+
+ + \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/login.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/login.html new file mode 100644 index 00000000..2736ca53 --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/login.html @@ -0,0 +1,145 @@ + + + + + + + + Juick + + + + + + + + +
juick.com © 2008-2017   Контакты · Помощь
+ +
+ Зарегистрироваться: +
Facebook
+
VK
+
XMPP +
[(#{message.sendLoginToXmpp})]
+
+
+
+

Произошла ошибка, проверьте имя пользователя и пароль

+ Уже зарегистрированы? +
+
+ + + +
+
+
+ + \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_postform.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_postform.html index 804605dd..df2caf7b 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_postform.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_postform.html @@ -1,12 +1,14 @@ -
-
- -
- или загрузить
+
+ +
+ +
+ + [(#{postForm.orImageUpload})] -
- -
-
- \ No newline at end of file +
+ +
+
+ + \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html index 2f0d707c..cbf25c3b 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html @@ -1,11 +1,4 @@ - - - - -

+

Tags
конструктор сайтов

- - diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/settings_tabs.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/settings_tabs.html index d7901d5e..253511b5 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/settings_tabs.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/settings_tabs.html @@ -1,5 +1,7 @@ -
\ No newline at end of file +
+ +
\ No newline at end of file -- cgit v1.2.3