continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r358258 - in /maven/continuum/trunk/continuum-webapp/src/main: resources/localization/Continuum.properties webapp/navigations/Menu.jsp
Date Wed, 21 Dec 2005 10:30:40 GMT
Author: evenisse
Date: Wed Dec 21 02:30:36 2005
New Revision: 358258

URL: http://svn.apache.org/viewcvs?rev=358258&view=rev
Log:
Add i18n in menu

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
    maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties?rev=358258&r1=358257&r2=358258&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
Wed Dec 21 02:30:36 2005
@@ -13,6 +13,19 @@
 top.logo.default = [Your company logo here]
 
 // ----------------------------------------------------------------------
+// Page: Menu
+// ----------------------------------------------------------------------
+menu.continuum.about = About
+menu.continuum.showProjects = Show Projects
+menu.addProject = Add Project
+menu.add.m2Project = Maven 2.0.x Project
+menu.add.m1Project = Maven 1.x Project
+menu.add.antProject = Ant Project
+menu.add.shellProject = Shell Project
+menu.administration = Administration
+menu.administration.configuration = Configuration
+
+// ----------------------------------------------------------------------
 // Page: About
 // ----------------------------------------------------------------------
 about.page.title = Continuum - About

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp?rev=358258&r1=358257&r2=358258&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp Wed Dec 21
02:30:36 2005
@@ -1,37 +1,41 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<ww:i18n name="localization.Continuum">
 <div id="navcolum">
   <div id="projectmenu" class="toolgroup">
     <div class="label">Continuum</div>
     <div class="body">
       <div>
-        <a href="<ww:url value="/about.jsp"/>">About</a>
+        <a href="<ww:url value="/about.jsp"/>"><ww:text name="menu.continuum.about"/></a>
       </div>
       <div>
-        <a href="<ww:url value="/summary.action"/>">Show Projects</a>
+        <a href="<ww:url value="/summary.action"/>"><ww:text name="menu.continuum.showProjects"/></a>
       </div>
     </div>
-    <div class="label">Add Project</div>
+  </div>
+  <div id="projectmenu" class="toolgroup">
+    <div class="label"><ww:text name="menu.addProject"/></div>
     <div class="body">
       <div>
-        <a href="<ww:url value="addMavenTwoProject!default.action"/>">Maven 2.0.x
Project</a>
+        <a href="<ww:url value="addMavenTwoProject!default.action"/>"><ww:text
name="menu.add.m2Project"/></a>
       </div>
       <div>
-        <a href="<ww:url value="addMavenOneProject!default.action"/>">Maven 1.x
Project</a>
+        <a href="<ww:url value="addMavenOneProject!default.action"/>"><ww:text
name="menu.add.m1Project"/></a>
       </div>
       <div>
-        <a href="<ww:url value="addProject!default.action"><ww:param name="projectType">ant</ww:param></ww:url>">Ant
Project</a>
+        <a href="<ww:url value="addProject!default.action"><ww:param name="projectType">ant</ww:param></ww:url>"><ww:text
name="menu.add.antProject"/></a>
       </div>
       <div>
-        <a href="<ww:url value="addProject!default.action"><ww:param name="projectType">shell</ww:param></ww:url>">Shell
Project</a>
+        <a href="<ww:url value="addProject!default.action"><ww:param name="projectType">shell</ww:param></ww:url>"><ww:text
name="menu.add.shellProject"/></a>
       </div>
     </div>
   </div>
   <div id="projectmenu" class="toolgroup">
-    <div class="label">Administration</div>
+    <div class="label"><ww:text name="menu.administration"/></div>
     <div class="body">
       <div>
-        <a href="<ww:url value="configuration!default.action"/>">Configuration</a>
+        <a href="<ww:url value="configuration!default.action"/>"><ww:text
name="menu.administration.configuration"/></a>
       </div>
     </div>
   </div>
-</div>
\ No newline at end of file
+</div>
+</ww:i18n>



Mime
View raw message