From 859a906ef87d91061b76bd39a9614371b3d72a4f Mon Sep 17 00:00:00 2001 From: raul Date: Wed, 16 Jul 2014 11:28:37 -0300 Subject: [i18n] Altering JSONs through the web interface is now possible --- templates/administration/_page.html | 50 ++++++++++++----------- templates/administration/messages.html | 72 ++++++++++++++++++++++++++++++++++ templates/administration/template.html | 58 +++++++++++++++------------ templates/main-menu-login.html | 2 +- templates/main-menu-logout.html | 2 +- 5 files changed, 134 insertions(+), 50 deletions(-) create mode 100644 templates/administration/messages.html (limited to 'templates') diff --git a/templates/administration/_page.html b/templates/administration/_page.html index b6d11cd6..ac24ed71 100644 --- a/templates/administration/_page.html +++ b/templates/administration/_page.html @@ -1,34 +1,40 @@
- Language Administration + {{lang_langAdministration}}
- - - - - - - - - - - {{#table}} - - - - - - - {{/table}} - -
Template{{lang_german}}{{lang_english}}Português
{{template}}{{de}}{{en}}{{pt}}
+

{{lang_adminInfo}}

+ +
+
+ + + + + + + + + + + {{#table}} + + + + + + + {{/table}} + +
Template{{lang_german}}{{lang_english}}{{lang_portuguese}}
{{template}}{{de}}{{en}}{{pt}}
diff --git a/templates/administration/messages.html b/templates/administration/messages.html new file mode 100644 index 00000000..76d2d1e0 --- /dev/null +++ b/templates/administration/messages.html @@ -0,0 +1,72 @@ +
+
+
+ {{lang_messages}} +
+
+

{{lang_templateMessagesHelp}} +

+
+ + + + + + + + + + + {{#msgs}} + + + + + + + {{/msgs}} + +
{{lang_messages}}{{lang_germanJSON}}{{lang_englishJSON}}{{lang_portugueseJSON}}
{{tag}} + + + + + +
+ + + + + + + + + + + {{#msgsHC}} + + + + + + + {{/msgsHC}} + +
{{lang_messagesHardcoded}}{{lang_germanJSON}}{{lang_englishJSON}}{{lang_portugueseJSON}}
{{tag}} + + + + + +
+
+ {{lang_back}} + {{lang_newTag}} + + + + + +
+
+
diff --git a/templates/administration/template.html b/templates/administration/template.html index 02317472..1ff2e23a 100644 --- a/templates/administration/template.html +++ b/templates/administration/template.html @@ -4,34 +4,40 @@ {{template}}
- - - - - - - - - - - {{#tags}} +

{{lang_templateAdminHelp}} +
+

Mustache TagGerman JSONEnglish JSONPortuguese JSON
+ - - - - + + + + - {{/tags}} - -
{{tag}} - - - - - - Mustache Tag{{lang_germanJSON}}{{lang_englishJSON}}{{lang_portugueseJSON}}
- Back - Update + + + {{#tags}} + + {{tag}} + + + + + + + + + + + {{/tags}} + + + {{lang_back}} + + + + +
diff --git a/templates/main-menu-login.html b/templates/main-menu-login.html index 2b165fb5..e2edf7da 100644 --- a/templates/main-menu-login.html +++ b/templates/main-menu-login.html @@ -19,7 +19,7 @@
  • {{lang_localization}}
  • bwLehrpool Mini-Linux
  • {{lang_configurationVariables}}
  • -
  • Admin
  • +
  • {{lang_administration}}
  • {{lang_configurationBasic}}
  • diff --git a/templates/main-menu-logout.html b/templates/main-menu-logout.html index abe2c516..2b90de5c 100644 --- a/templates/main-menu-logout.html +++ b/templates/main-menu-logout.html @@ -19,7 +19,7 @@
  • {{lang_localization}}
  • bwLehrpool Mini-Linux
  • {{lang_configurationVariables}}
  • -
  • Admin
  • +
  • {{lang_administration}}
  • {{lang_configurationBasic}}
  • -- cgit v1.2.3-55-g7522