You are viewing a plain text version of this content. The canonical link for it is here.
Posted to portalapps-dev@portals.apache.org by sh...@apache.org on 2009/03/23 03:08:32 UTC

svn commit: r757298 - in /portals/applications/sandbox/widgets/trunk/src/main: resources/application.properties resources/application_ja.properties webapp/WEB-INF/view/google/edit/index.jsp webapp/WEB-INF/view/netvibes/edit/index.jsp

Author: shinsuke
Date: Mon Mar 23 02:08:32 2009
New Revision: 757298

URL: http://svn.apache.org/viewvc?rev=757298&view=rev
Log:
contribution from Takaaki Sone.
 - i18ned messages

Modified:
    portals/applications/sandbox/widgets/trunk/src/main/resources/application.properties
    portals/applications/sandbox/widgets/trunk/src/main/resources/application_ja.properties
    portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/google/edit/index.jsp
    portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/netvibes/edit/index.jsp

Modified: portals/applications/sandbox/widgets/trunk/src/main/resources/application.properties
URL: http://svn.apache.org/viewvc/portals/applications/sandbox/widgets/trunk/src/main/resources/application.properties?rev=757298&r1=757297&r2=757298&view=diff
==============================================================================
--- portals/applications/sandbox/widgets/trunk/src/main/resources/application.properties (original)
+++ portals/applications/sandbox/widgets/trunk/src/main/resources/application.properties Mon Mar 23 02:08:32 2009
@@ -49,3 +49,41 @@
 warn.need_to_set_widget_url=Please select a widget on edit mode.
 
 success.update_widget=Changed to {0}.
+
+widget.prev=Previous
+widget.next=Next
+widget.current=Current
+widget.name=Name
+widget.action=Action
+widget.search=Search
+widget.select=Select
+widget.find=Find
+widget.reset=Reset
+widget.language=Language
+
+widget.google.category=Category
+widget.google.all=All
+widget.google.news=News
+widget.google.tools=Tools
+widget.google.communication=Communication
+widget.google.funandgames=Fun & Games
+widget.google.finance=Finance
+widget.google.sports=Sports
+widget.google.lifestyle=Lifestyle
+widget.google.technology=Technology
+widget.google.new=New stuff
+widget.google.anylanguage=Any language
+
+widget.netvibes.category=Category
+widget.netvibes.all=All
+widget.netvibes.news=News
+widget.netvibes.business=Business & Finance
+widget.netvibes.sports=Sports
+widget.netvibes.tv=TV, Movies & Music
+widget.netvibes.tools=Tools & Technology
+widget.netvibes.funandgames=Fun & Games
+widget.netvibes.lifestyle=Lifestyle
+widget.netvibes.shopping=Shopping
+widget.netvibes.travel=Travel
+widget.netvibes.anyregion=Any region
+

Modified: portals/applications/sandbox/widgets/trunk/src/main/resources/application_ja.properties
URL: http://svn.apache.org/viewvc/portals/applications/sandbox/widgets/trunk/src/main/resources/application_ja.properties?rev=757298&r1=757297&r2=757298&view=diff
==============================================================================
--- portals/applications/sandbox/widgets/trunk/src/main/resources/application_ja.properties (original)
+++ portals/applications/sandbox/widgets/trunk/src/main/resources/application_ja.properties Mon Mar 23 02:08:32 2009
@@ -41,3 +41,41 @@
 warn.need_to_set_widget_url=\u7de8\u96c6\u30e2\u30fc\u30c9\u3067\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002
 
 success.update_widget={0}\u306b\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002
+
+widget.prev=\u524d\u3078
+widget.next=\u6b21\u3078
+widget.current=\u73fe\u5728
+widget.name=\u540d\u524d
+widget.action=\u30a2\u30af\u30b7\u30e7\u30f3
+widget.search=\u691c\u7d22
+widget.select=\u9078\u629e
+widget.find=\u691c\u7d22
+widget.reset=\u30ea\u30bb\u30c3\u30c8
+widget.language=\u8a00\u8a9e
+
+widget.google.category=\u30ab\u30c6\u30b4\u30ea\u30fc
+widget.google.all=\u3059\u3079\u3066
+widget.google.news=\u30cb\u30e5\u30fc\u30b9
+widget.google.tools=\u30c4\u30fc\u30eb
+widget.google.communication=\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3
+widget.google.funandgames=\u30a8\u30f3\u30bf\u30fc\u30c6\u30a4\u30f3\u30e1\u30f3\u30c8
+widget.google.finance=\u30de\u30cd\u30fc\u30fb\u7d4c\u6e08
+widget.google.sports=\u30b9\u30dd\u30fc\u30c4
+widget.google.lifestyle=\u30e9\u30a4\u30d5
+widget.google.technology=\u30c6\u30af\u30ce\u30ed\u30b8\u30fc
+widget.google.new=\u65b0\u7740
+widget.google.anylanguage=\u3059\u3079\u3066\u306e\u8a00\u8a9e
+
+widget.netvibes.category=\u30ab\u30c6\u30b4\u30ea\u30fc
+widget.netvibes.all=\u3059\u3079\u3066
+widget.netvibes.news=\u30cb\u30e5\u30fc\u30b9
+widget.netvibes.business=\u30d3\u30b8\u30cd\u30b9
+widget.netvibes.sports=\u30b9\u30dd\u30fc\u30c4
+widget.netvibes.tv=\u30c6\u30ec\u30d3\u3001\u6620\u753b\u3001\u97f3\u697d
+widget.netvibes.tools=Tools & Technology
+widget.netvibes.funandgames=\u5a2f\u697d\u3001\u30b2\u30fc\u30e0
+widget.netvibes.lifestyle=\u30e9\u30a4\u30d5\u30b9\u30bf\u30a4\u30eb
+widget.netvibes.shopping=\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0
+widget.netvibes.travel=\u65c5\u884c
+widget.netvibes.anyregion=\u3059\u3079\u3066\u306e\u5730\u57df
+

Modified: portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/google/edit/index.jsp
URL: http://svn.apache.org/viewvc/portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/google/edit/index.jsp?rev=757298&r1=757297&r2=757298&view=diff
==============================================================================
--- portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/google/edit/index.jsp (original)
+++ portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/google/edit/index.jsp Mon Mar 23 02:08:32 2009
@@ -17,20 +17,20 @@
 <%@page pageEncoding="UTF-8" %>
 <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div>
 <c:if test="${currentName != ''}">
-<div>Current: ${currentName}</div>
+<div><bean:message key="widget.current"/>: ${currentName}</div>
 </c:if>
 <div style="padding: 3px;">
   <table>
     <thead class="portlet-section-subheader">
       <tr>
-        <th style="width: 250px;">Name</th>
-        <th style="width: 50px;">Action</th>
+        <th style="width: 250px;"><bean:message key="widget.name"/></th>
+        <th style="width: 50px;"><bean:message key="widget.action"/></th>
       </tr>
     </thead>
     <tbody><c:forEach var="widget" varStatus="s" items="${widgetItems}">
       <tr style="background-color:${s.index %2 == 0 ? 'eeeeee' : 'e0e0e0'}">
         <td>${f:h(widget.shortName)}</td>
-        <td align="center"><s:link href="update/${f:u(widget.id)}">Select</s:link></td>
+        <td align="center"><s:link href="update/${f:u(widget.id)}"><bean:message key="widget.select"/></s:link></td>
       </tr>
     </c:forEach></tbody>
   </table>
@@ -38,28 +38,28 @@
 <div style="padding: 3px;">
 <s:form>
 	<div>
-		Category:
+		<bean:message key="widget.google.category"/>:
 		<html:select property="category">
-<html:option value="all">All</html:option>
-<html:option value="news">News</html:option>
-<html:option value="tools">Tools</html:option>
-<html:option value="communication">Communication</html:option>
-<html:option value="funandgames">Fun &amp; Games</html:option>
-<html:option value="finance">Finance</html:option>
-<html:option value="sports">Sports</html:option>
-<html:option value="lifestyle">Lifestyle</html:option>
-<html:option value="technology">Technology</html:option>
-<html:option value="new">New stuff</html:option>
+<html:option value="all"><bean:message key="widget.google.all"/></html:option>
+<html:option value="news"><bean:message key="widget.google.news"/></html:option>
+<html:option value="tools"><bean:message key="widget.google.tools"/></html:option>
+<html:option value="communication"><bean:message key="widget.google.communication"/></html:option>
+<html:option value="funandgames"><bean:message key="widget.google.funandgames"/></html:option>
+<html:option value="finance"><bean:message key="widget.google.finance"/></html:option>
+<html:option value="sports"><bean:message key="widget.google.sports"/></html:option>
+<html:option value="lifestyle"><bean:message key="widget.google.lifestyle"/></html:option>
+<html:option value="technology"><bean:message key="widget.google.technology"/></html:option>
+<html:option value="new"><bean:message key="widget.google.new"/></html:option>
 		</html:select>
 	</div>
 	<div>
-		Search:
+		<bean:message key="widget.search"/>:
 		<html:text property="query" size="10"/>
 	</div>
 	<div>
-		Language:
+		<bean:message key="widget.language"/>:
 		<html:select property="language">
-<html:option value="">Any language</html:option>
+<html:option value=""><bean:message key="widget.google.anylanguage"/></html:option>
 <html:option value="cs">&#269;esky</html:option>
 <html:option value="da">Dansk</html:option>
 <html:option value="de">Deutsch</html:option>
@@ -89,15 +89,15 @@
 		</html:select>
 	</div>
 	<div>
-		<input type="submit" name="find" value="Find"/>
-		<input type="submit" name="reset" value="Reset"/>
+		<input type="submit" name="find" value="<bean:message key="widget.find"/>"/>
+		<input type="submit" name="reset" value="<bean:message key="widget.reset"/>"/>
 	</div>
 </s:form>
 </div>
 <div style="padding: 3px;">
 	<span>
 	<c:if test="${existPrevPage}">
-		<s:link href="prev">&lt;&lt;Previous</s:link>
+		<s:link href="prev">&lt;&lt;<bean:message key="widget.prev"/></s:link>
 	</c:if>
 	</span>
 	<span>
@@ -114,7 +114,7 @@
 	</span>
 	<span>
 	<c:if test="${existNextPage}">
-		<s:link href="next">Next&gt;&gt;</s:link>
+		<s:link href="next"><bean:message key="widget.next"/>&gt;&gt;</s:link>
 	</c:if>
 	</span>
 </div>

Modified: portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/netvibes/edit/index.jsp
URL: http://svn.apache.org/viewvc/portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/netvibes/edit/index.jsp?rev=757298&r1=757297&r2=757298&view=diff
==============================================================================
--- portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/netvibes/edit/index.jsp (original)
+++ portals/applications/sandbox/widgets/trunk/src/main/webapp/WEB-INF/view/netvibes/edit/index.jsp Mon Mar 23 02:08:32 2009
@@ -17,20 +17,20 @@
 <%@page pageEncoding="UTF-8" %>
 <div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div>
 <c:if test="${currentName != ''}">
-<div>Current: ${currentName}</div>
+<div><bean:message key="widget.current"/>: ${currentName}</div>
 </c:if>
 <div style="padding: 3px;">
   <table>
     <thead class="portlet-section-subheader">
       <tr>
-        <th style="width: 250px;">Name</th>
-        <th style="width: 50px;">Action</th>
+        <th style="width: 250px;"><bean:message key="widget.name"/></th>
+        <th style="width: 50px;"><bean:message key="widget.action"/></th>
       </tr>
     </thead>
     <tbody><c:forEach var="widget" varStatus="s" items="${widgetItems}">
       <tr style="background-color:${s.index %2 == 0 ? 'eeeeee' : 'e0e0e0'}">
         <td>${f:h(widget.shortName)}</td>
-        <td align="center"><s:link href="update/${f:u(widget.id)}">Select</s:link></td>
+        <td align="center"><s:link href="update/${f:u(widget.id)}"><bean:message key="widget.select"/></s:link></td>
       </tr>
     </c:forEach></tbody>
   </table>
@@ -38,28 +38,28 @@
 <div style="padding: 3px;">
 <s:form>
 	<div>
-		Category:
+		<bean:message key="widget.netvibes.category"/>:
 		<html:select property="category">
-<html:option value="">All</html:option>
-<html:option value="1">News</html:option>
-<html:option value="2">Business &amp; Finance</html:option>
-<html:option value="3">Sport</html:option>
-<html:option value="4">TV, Movies &amp; Music</html:option>
-<html:option value="6">Tools &amp; Technology</html:option>
-<html:option value="7">Fun &amp; Games</html:option>
-<html:option value="8">Lifestyle</html:option>
-<html:option value="10">Shopping</html:option>
-<html:option value="13">Travel</html:option>
+<html:option value=""><bean:message key="widget.netvibes.all"/></html:option>
+<html:option value="1"><bean:message key="widget.netvibes.news"/></html:option>
+<html:option value="2"><bean:message key="widget.netvibes.business"/></html:option>
+<html:option value="3"><bean:message key="widget.netvibes.sports"/></html:option>
+<html:option value="4"><bean:message key="widget.netvibes.tv"/></html:option>
+<html:option value="6"><bean:message key="widget.netvibes.tools"/></html:option>
+<html:option value="7"><bean:message key="widget.netvibes.funandgames"/></html:option>
+<html:option value="8"><bean:message key="widget.netvibes.lifestyle"/></html:option>
+<html:option value="10"><bean:message key="widget.netvibes.shopping"/></html:option>
+<html:option value="13"><bean:message key="widget.netvibes.travel"/></html:option>
 		</html:select>
 	</div>
 	<div>
-		Search:
+		<bean:message key="widget.search"/>:
 		<html:text property="query" size="10"/>
 	</div>
 	<div>
-		Language:
+		<bean:message key="widget.language"/>:
 		<html:select property="language">
-    <html:option value="any">Any region</html:option>
+    <html:option value="any"><bean:message key="widget.netvibes.anyregion"/></html:option>
     <html:option value="al">Albania</html:option>
     <html:option value="dz">Algeria</html:option>
 
@@ -204,15 +204,15 @@
 		</html:select>
 	</div>
 	<div>
-		<input type="submit" name="find" value="Find"/>
-		<input type="submit" name="reset" value="Reset"/>
+		<input type="submit" name="find" value="<bean:message key="widget.find"/>"/>
+		<input type="submit" name="reset" value="<bean:message key="widget.reset"/>"/>
 	</div>
 </s:form>
 </div>
 <div style="padding: 3px;">
 	<span>
 	<c:if test="${existPrevPage}">
-		<s:link href="prev">&lt;&lt;Previous</s:link>
+		<s:link href="prev">&lt;&lt;<bean:message key="widget.prev"/></s:link>
 	</c:if>
 	</span>
 	<span>
@@ -229,7 +229,7 @@
 	</span>
 	<span>
 	<c:if test="${existNextPage}">
-		<s:link href="next">Next&gt;&gt;</s:link>
+		<s:link href="next"><bean:message key="widget.next"/>&gt;&gt;</s:link>
 	</c:if>
 	</span>
 </div>