syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [2/2] syncope git commit: [SYNCOPE-156] Localizing left menu
Date Tue, 26 Jan 2016 16:18:13 GMT
[SYNCOPE-156] Localizing left menu


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/800a39f9
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/800a39f9
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/800a39f9

Branch: refs/heads/master
Commit: 800a39f9d534d199b7b8e37ac8915cb1425db99b
Parents: 6c2ba20
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Tue Jan 26 17:18:05 2016 +0100
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Tue Jan 26 17:18:05 2016 +0100

----------------------------------------------------------------------
 .../syncope/client/console/pages/BasePage.java  |  4 +--
 .../SyncopeConsoleApplication.properties        | 13 +++++++++
 .../SyncopeConsoleApplication_it.properties     | 13 +++++++++
 .../SyncopeConsoleApplication_pt_BR.properties  | 13 +++++++++
 .../syncope/client/console/pages/BasePage.html  | 28 ++++++++++----------
 5 files changed, 55 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/800a39f9/client/console/src/main/java/org/apache/syncope/client/console/pages/BasePage.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/pages/BasePage.java
b/client/console/src/main/java/org/apache/syncope/client/console/pages/BasePage.java
index 4d4b01a..f2aea0c 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/pages/BasePage.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/pages/BasePage.java
@@ -224,8 +224,8 @@ public class BasePage extends WebPage implements NotificationAwareComponent,
IAj
         }
 
         // Extensions
-        ClassPathScanImplementationLookup classPathScanImplementationLookup
-                = (ClassPathScanImplementationLookup) SyncopeConsoleApplication.get().
+        ClassPathScanImplementationLookup classPathScanImplementationLookup =
+                (ClassPathScanImplementationLookup) SyncopeConsoleApplication.get().
                 getServletContext().getAttribute(ConsoleInitializer.CLASSPATH_LOOKUP);
         List<Class<? extends AbstractExtPage>> extPageClasses = classPathScanImplementationLookup.getExtPageClasses();
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/800a39f9/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties
b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties
index dc84f30..2e273c3 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication.properties
@@ -54,3 +54,16 @@ jexl_syntax_url=Full JEXL reference
 create=Create
 key=Key
 types=Types
+dashboard=Dashboard
+realms=Realms
+topology=Topology
+roles=Roles
+policies=Policies
+securityQuestions=Security Questions
+workflow=Workflow
+logs=Logs
+layouts=Layouts
+notifications=Notifications
+parameters=Parameters
+extensions=Extensions
+NavigatorLabel=Showing ${from} to ${to} of ${of}

http://git-wip-us.apache.org/repos/asf/syncope/blob/800a39f9/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties
b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties
index 536cb4e..85ba7f8 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_it.properties
@@ -53,3 +53,16 @@ jexl_syntax_url=Sintassi JEXL completa
 create=Crea
 key=Chiave
 types=Tipi
+dashboard=Cruscotto
+realms=Realm
+topology=Topologia
+roles=Ruoli
+policies=Politiche
+securityQuestions=Domande di sicurezza
+workflow=Workflow
+logs=Log
+layouts=Layout
+notifications=Notifiche
+parameters=Parametri
+extensions=Estensioni
+NavigatorLabel=Da ${from} a ${to} di ${of}

http://git-wip-us.apache.org/repos/asf/syncope/blob/800a39f9/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties
b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties
index 58c022b..d2f689e 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/SyncopeConsoleApplication_pt_BR.properties
@@ -53,3 +53,16 @@ jexl_syntax_url=Refer\u00eancia JEXL completa
 create=Criar
 key=Chave
 types=Tipos
+dashboard=Painel de instrumentos
+realms=Realm
+topology=Topologia
+roles=\t\nFun\u00e7\u00e3o\n\t
+policies=Pol\u00edticas
+securityQuestions=Perguntas de seguran\u00e7a
+workflow=Fluxo de trabalho
+logs=Log
+layouts=Layout
+notifications=Notifica\u00e7\u00f5es
+parameters=Par\u00e2metros
+extensions=Extens\u00f5es
+NavigatorLabel=A partir de ${from} a ${to} de ${of}

http://git-wip-us.apache.org/repos/asf/syncope/blob/800a39f9/client/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
b/client/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
index ca7abd7..4990e5a 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
@@ -92,26 +92,26 @@ under the License.
       <aside class="main-sidebar block-sidebar">
         <section class="sidebar">
           <ul class="sidebar-menu">
-            <li wicket:id="dashboardLI"><a href="#" wicket:id="dashboard"><i
class="fa fa-dashboard"></i>Dashboard</a></li>
-            <li wicket:id="realmsLI"><a href="#" wicket:id="realms"><i class="fa
fa-folder-o"></i>Realms</a></li>
-            <li wicket:id="topologyLI"><a href="#" wicket:id="topology"><i
class="fa fa-plug"></i>Topology</a></li>
-            <li wicket:id="reportsLI"><a href="#" wicket:id="reports"><i class="fa
fa-pie-chart"></i>Reports</a></li>
+            <li wicket:id="dashboardLI"><a href="#" wicket:id="dashboard"><i
class="fa fa-dashboard"></i><wicket:message key="dashboard"/></a></li>
+            <li wicket:id="realmsLI"><a href="#" wicket:id="realms"><i class="fa
fa-folder-o"></i><wicket:message key="realms"/></a></li>
+            <li wicket:id="topologyLI"><a href="#" wicket:id="topology"><i
class="fa fa-plug"></i><wicket:message key="topology"/></a></li>
+            <li wicket:id="reportsLI"><a href="#" wicket:id="reports"><i class="fa
fa-pie-chart"></i><wicket:message key="reports"/></a></li>
             <li wicket:id="configurationLI" class="treeview">
-              <a href="#"><i class="fa fa-edit"></i><span>Configuration</span>
<i class="fa fa-angle-left pull-right"></i></a>
+              <a href="#"><i class="fa fa-edit"></i><span><wicket:message
key="configuration"/></span> <i class="fa fa-angle-left pull-right"></i></a>
               <ul wicket:id="configurationUL" class="treeview-menu">
-                <li wicket:id="rolesLI"><a href="#" wicket:id="roles"><i class="fa
fa-users"></i>Roles</a></li>
-                <li wicket:id="policiesLI"><a href="#" wicket:id="policies"><i
class="fa fa-list"></i>Policies</a></li>
-                <li wicket:id="securityquestionsLI"><a href="#" wicket:id="securityquestions"><i
class="fa fa-question"></i>Security Questions</a></li>
-                <li wicket:id="workflowLI"><a href="#" wicket:id="workflow"><i
class="fa fa-share-alt"></i>Workflow</a></li>
-                <li wicket:id="logsLI"><a href="#" wicket:id="logs"><i class="fa
fa-file-text-o"></i>Logs</a></li>
-                <li wicket:id="layoutsLI"><a href="#" wicket:id="layouts"><i
class="fa fa-object-ungroup"></i>Layouts</a></li>
+                <li wicket:id="rolesLI"><a href="#" wicket:id="roles"><i class="fa
fa-users"></i><wicket:message key="roles"/></a></li>
+                <li wicket:id="policiesLI"><a href="#" wicket:id="policies"><i
class="fa fa-list"></i><wicket:message key="policies"/></a></li>
+                <li wicket:id="securityquestionsLI"><a href="#" wicket:id="securityquestions"><i
class="fa fa-question"></i><wicket:message key="securityQuestions"/></a></li>
+                <li wicket:id="workflowLI"><a href="#" wicket:id="workflow"><i
class="fa fa-share-alt"></i><wicket:message key="workflow"/></a></li>
+                <li wicket:id="logsLI"><a href="#" wicket:id="logs"><i class="fa
fa-file-text-o"></i><wicket:message key="logs"/></a></li>
+                <li wicket:id="layoutsLI"><a href="#" wicket:id="layouts"><i
class="fa fa-object-ungroup"></i><wicket:message key="layouts"/></a></li>
                 <li wicket:id="typesLI"><a href="#" wicket:id="types"><i class="fa
fa-wrench"></i><wicket:message key="types"/></a></li>
-                <li wicket:id="notificationsLI"><a href="#" wicket:id="notifications"><i
class="fa fa-envelope-o"></i>Notifications</a></li>
-                <li wicket:id="parametersLI"><a href="#" wicket:id="parameters"><i
class="fa fa-cog"></i>Parameters</a></li>
+                <li wicket:id="notificationsLI"><a href="#" wicket:id="notifications"><i
class="fa fa-envelope-o"></i><wicket:message key="notifications"/></a></li>
+                <li wicket:id="parametersLI"><a href="#" wicket:id="parameters"><i
class="fa fa-cog"></i><wicket:message key="parameters"/></a></li>
               </ul>
             </li>
             <li wicket:id="extensionsLI" class="treeview">
-              <a href="#"><i class="fa fa-puzzle-piece"></i><span>Extensions</span>
<i class="fa fa-angle-left pull-right"></i></a>
+              <a href="#"><i class="fa fa-puzzle-piece"></i><span><wicket:message
key="extensions"/></span> <i class="fa fa-angle-left pull-right"></i></a>
               <ul class="treeview-menu" wicket:id="extPages">
                 <li wicket:id="extPageLI">
                   <a href="#" wicket:id="extPage"><i wicket:id="extPageIcon"></i><span
wicket:id="extPageLabel"/></a>


Mime
View raw message