svnno****@sourc*****
svnno****@sourc*****
2008年 11月 11日 (火) 18:38:40 JST
Revision: 1329 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=1329 Author: takakura Date: 2008-11-11 18:38:40 +0900 (Tue, 11 Nov 2008) Log Message: ----------- added internationalization property files & JSP files. Modified Paths: -------------- userinfo/trunk/src/main/resources/application.properties userinfo/trunk/src/main/webapp/WEB-INF/view/config/index.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/confirm.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/error.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/index.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/confirm.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/error.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/index.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/confirm.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/error.jsp userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/index.jsp Added Paths: ----------- userinfo/trunk/src/main/resources/application_ja.properties -------------- next part -------------- Modified: userinfo/trunk/src/main/resources/application.properties =================================================================== --- userinfo/trunk/src/main/resources/application.properties 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/resources/application.properties 2008-11-11 09:38:40 UTC (rev 1329) @@ -12,7 +12,7 @@ errors.minbytelength={0} can not be less than {1} bytes. errors.range={0} is not in the range {1} through {2}. errors.required={0} is required. -errors.required.other={0} is required ({1}). +errors.required.other={0} is required ({1}). errors.byte={0} must be an byte. errors.date={0} is not a date. errors.double={0} must be an double. @@ -50,3 +50,54 @@ errors.failed_to_delete_groupInfo=Failed to delete the group information. errors.could_not_find_groupInfo=Could not find the group information({0}). +labels.detail=Detail +labels.create=Create +labels.update=Update +labels.delete=Delete +labels.back=Back +labels.edit=Edit +labels.confirm=Confirm + +labels.config=Configuration +labels.role=Role +labels.group=Group +labels.enabled=Enabled +labels.disabled=Disabled + +labels.user=User +labels.confirmation_of_group_info=Confirmation of Group Info +labels.group_id=Group ID +labels.name=Name +labels.description=Description +labels.email=Email +labels.url=URL +labels.telephone_number=Telephone Number + +labels.group_detail=Group Detail + +labels.create_new_group=Create New Group +labels.to_next=Next +labels.to_back=Back + +labels.confirmation_of_role_info=Confirmation of Role Info +labels.role_id=Role ID + +labels.role_detail=Role Detail + +labels.create_new_role=Create New Role + +labels.confirmation_of_role_info=Confirmation of User Info +labels.user_id=User ID +labels.given_name=Given Name +labels.given_name_desc=Given Name(Desc) +labels.family_name=Family Name +labels.family_name_desc=Family Name(Desc) +labels.middle_name=Middle Name +labels.none=None + +labels.default_role=Default Role +labels.default_group=Default Group + +labels.user_detail=User Detail + +labels.create_new_user=Create New User \ No newline at end of file Added: userinfo/trunk/src/main/resources/application_ja.properties =================================================================== --- userinfo/trunk/src/main/resources/application_ja.properties (rev 0) +++ userinfo/trunk/src/main/resources/application_ja.properties 2008-11-11 09:38:40 UTC (rev 1329) @@ -0,0 +1,96 @@ +errors.invalid={0} \u306b\u306f\u6b63\u3057\u3044\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +errors.maxlength={0} \u306f {1} \u6587\u5b57\u4ee5\u4e0b\u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.minlength={0} \u306f {1} \u6587\u5b57\u4ee5\u4e0a\u5165\u529b\u3057\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.maxbytelength={0} \u306e\u30b5\u30a4\u30ba\u306f {1} \u30d0\u30a4\u30c8\u4ee5\u4e0b\u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.minbytelength={0} \u306e\u30b5\u30a4\u30ba\u306f {1} \u30d0\u30a4\u30c8\u4ee5\u4e0b\u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.range={0} \u306f {1} \u304b\u3089 {2} \u306e\u9593\u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.required={0} \u306f\u5fc5\u305a\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 +errors.required.other={0} \u306f\u5fc5\u305a\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002({1}) +errors.byte={0} \u306f\u30d0\u30a4\u30c8\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.date={0} \u306f\u65e5\u4ed8\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.double={0} \u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u578b (double \u578b) \u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.float={0} \u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u578b (float \u578b) \u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.integer={0} \u306f\u6574\u6570\u578b (2147483647 \u4ee5\u4e0b\u306e\u6574\u6570) \u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.long={0} \u306f\u6574\u6570\u578b (9223372036854775807 \u4ee5\u4e0b\u306e\u6574\u6570) \u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.short={0} \u306f\u6574\u6570\u578b (32767 \u4ee5\u4e0b\u306e\u6574\u6570) \u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002 +errors.creditcard={0} \u306f\u6b63\u3057\u3044\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u756a\u53f7\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 +errors.email={0} \u306f\u6b63\u3057\u3044\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 +errors.url={0} \u306f\u6b63\u3057\u3044 URL (\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306e\u30a2\u30c9\u30ec\u30b9) \u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 + +success.update_config=\u8a2d\u5b9a\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002 +success.create_userInfo=\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 +success.update_userInfo=\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002 +success.delete_userInfo=\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002 +success.create_roleInfo=\u30ed\u30fc\u30eb\u60c5\u5831\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 +success.update_roleInfo=\u30ed\u30fc\u30eb\u60c5\u5831\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002 +success.delete_roleInfo=\u30ed\u30fc\u30eb\u60c5\u5831\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002 +success.create_groupInfo=\u30b0\u30eb\u30fc\u30d7\u60c5\u5831\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 +success.update_groupInfo=\u30b0\u30eb\u30fc\u30d7\u60c5\u5831\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002 +success.delete_groupInfo=\u30b0\u30eb\u30fc\u30d7\u60c5\u5831\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002 + +errors.failed_to_update_config=\u8a2d\u5b9a\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.invalid.mode=\u30e2\u30fc\u30c9\u304c\u9055\u3044\u307e\u3059\u3002(\u6b63\u3057\u3044\u5024\u306f {0} \u3067\u3059\u304c\u3001\u5165\u529b\u3055\u308c\u305f\u5024\u306f {1} \u306b\u306a\u3063\u3066\u3044\u307e\u3059) +errors.failed_to_create_userInfo=\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_update_userInfo=\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_delete_userInfo=\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.could_not_find_userInfo=\u30e6\u30fc\u30b6\u30fc\u60c5\u5831 {0} \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 +errors.failed_to_create_roleInfo=\u30ed\u30fc\u30eb\u60c5\u5831\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_update_roleInfo=\u30ed\u30fc\u30eb\u60c5\u5831\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_delete_roleInfo=\u30ed\u30fc\u30eb\u60c5\u5831\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.could_not_find_roleInfo=\u30ed\u30fc\u30eb\u60c5\u5831 {0} \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 +errors.failed_to_create_groupInfo=\u30b0\u30eb\u30fc\u30d7\u60c5\u5831\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_update_groupInfo=\u30b0\u30eb\u30fc\u30d7\u60c5\u5831\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.failed_to_delete_groupInfo=\u30b0\u30eb\u30fc\u30d7\u60c5\u5831\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 +errors.could_not_find_groupInfo=\u30b0\u30eb\u30fc\u30d7\u60c5\u5831 {0} \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002 + +labels.detail=\u8a73\u7d30 +labels.create=\u4f5c\u6210 +labels.update=\u66f4\u65b0 +labels.delete=\u524a\u9664 +labels.back=\u623b\u308b +labels.edit=\u7de8\u96c6 +labels.confirm=\u78ba\u8a8d + +labels.config=\u8a2d\u5b9a +labels.role=\u30ed\u30fc\u30eb +labels.group=\u30b0\u30eb\u30fc\u30d7 +labels.enabled=\u4f7f\u7528\u3059\u308b +labels.disabled=\u4f7f\u7528\u3057\u306a\u3044 + +labels.user=\u30e6\u30fc\u30b6\u30fc +labels.confirmation_of_group_info=\u30b0\u30eb\u30fc\u30d7\u60c5\u5831\u306e\u767b\u9332 +labels.group_id=\u30b0\u30eb\u30fc\u30d7 ID +labels.name=\u540d\u524d +labels.description=\u8aac\u660e +labels.email=\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9 +labels.url=URL +labels.telephone_number=\u96fb\u8a71\u756a\u53f7 + +labels.group_detail=\u30b0\u30eb\u30fc\u30d7\u306e\u8a73\u7d30 + +labels.create_new_group=\u30b0\u30eb\u30fc\u30d7\u306e\u4f5c\u6210 +labels.to_next=\u6b21\u3078 +labels.to_back=\u524d\u3078 + +labels.confirmation_of_role_info=\u30ed\u30fc\u30eb\u60c5\u5831\u306e\u767b\u9332 +labels.role_id=\u30ed\u30fc\u30eb ID + +labels.role_detail=\u30ed\u30fc\u30eb\u306e\u8a73\u7d30 + +labels.create_new_role=\u30ed\u30fc\u30eb\u306e\u4f5c\u6210 + +labels.confirmation_of_role_info=\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u306e\u767b\u9332 +labels.user_id=\u30e6\u30fc\u30b6\u30fc ID +labels.given_name=\u540d +labels.given_name_desc=\u540d(\u8a73\u7d30) +labels.family_name=\u59d3 +labels.family_name_desc=\u59d3(\u8a73\u7d30) +labels.middle_name=\u30df\u30c9\u30eb\u30cd\u30fc\u30e0 +labels.none=\u306a\u3057 + +labels.default_role=\u65e2\u5b9a\u306e\u30ed\u30fc\u30eb +labels.default_group=\u65e2\u5b9a\u306e\u30b0\u30eb\u30fc\u30d7 + +labels.user_detail=\u30e6\u30fc\u30b6\u30fc\u306e\u8a73\u7d30 + +labels.create_new_user=\u30e6\u30fc\u30b6\u30fc\u306e\u4f5c\u6210 \ No newline at end of file Property changes on: userinfo/trunk/src/main/resources/application_ja.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/config/index.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/config/index.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,23 +10,23 @@ <div class="form-table"> <s:form> <table> - <caption>Configuration</caption> + <caption><bean:message key="labels.config"/></caption> <tbody> <tr> - <th>Role</th> + <th><bean:message key="labels.role"/></th> <td> <html:select property="roleAvailable"> - <html:option value="true">Enabled</html:option> - <html:option value="false">Disabled</html:option> + <html:option value="true"><bean:message key="labels.enabled"/></html:option> + <html:option value="false"><bean:message key="labels.disabled"/></html:option> </html:select> </td> </tr> <tr> - <th>Group</th> + <th><bean:message key="labels.group"/></th> <td> <html:select property="groupAvailable"> - <html:option value="true">Enabled</html:option> - <html:option value="false">Disabled</html:option> + <html:option value="true"><bean:message key="labels.enabled"/></html:option> + <html:option value="false"><bean:message key="labels.disabled"/></html:option> </html:select> </td> </tr> @@ -34,7 +34,7 @@ <tfoot> <tr> <td colspan="2"> -<input type="submit" name="update" value="更新"/> +<input type="submit" name="update" value="<bean:message key="labels.update"/>"/> </td> </tr> </tfoot> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/confirm.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/confirm.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/confirm.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,13 +10,13 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;">User</s:link></li> + <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;"><bean:message key="labels.user"/></s:link></li> <c:if test="${roleAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;">Role</s:link></li> + <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;"><bean:message key="labels.role"/></s:link></li> </c:if> <li class="spacer"></li> - <li class="selected"><span>Group</span></li> + <li class="selected"><span><bean:message key="labels.group"/></span></li> <li class="last"></li> </ul> </div> @@ -28,30 +28,30 @@ <html:hidden property="mode"/> <div class="form-table" style="margin-top:3px;"> <table style="width: 400px;"> - <caption>Confirmation of Group Info</caption> + <caption><bean:message key="labels.confirmation_of_group_info"/></caption> <tbody> <tr> - <th style="width: 120px;">Group ID</th> + <th style="width: 120px;"><bean:message key="labels.group_id"/></th> <td>${f:h(groupId)}<html:hidden property="groupId"/></td> </tr> <tr> - <th>Name</th> + <th><bean:message key="labels.name"/></th> <td>${f:h(name)}<html:hidden property="name"/></td> </tr> <tr> - <th>Description</th> + <th><bean:message key="labels.description"/></th> <td>${f:h(description)}<html:hidden property="description"/></td> </tr> <tr> - <th>Email</th> + <th><bean:message key="labels.email"/></th> <td>${f:h(email)}<html:hidden property="email"/></td> </tr> <tr> - <th>URL</th> + <th><bean:message key="labels.url"/></th> <td>${f:h(url)}<html:hidden property="url"/></td> </tr> <tr> - <th>Telephone Number</th> + <th><bean:message key="labels.telephone_number"/></th> <td>${f:h(telephone)}<html:hidden property="telephone"/></td> </tr> </tbody> @@ -59,21 +59,21 @@ <tr> <td colspan="2"> <c:if test="${mode == 1}"> - <input type="submit" name="create" value="登録"/> - <input type="submit" name="editagain" value="戻る"/> + <input type="submit" name="create" value="<bean:message key="labels.create"/>"/> + <input type="submit" name="editagain" value="<bean:message key="labels.back"/>"/> </c:if> <c:if test="${mode == 2}"> - <input type="submit" name="update" value="更新"/> - <input type="submit" name="editagain" value="戻る"/> + <input type="submit" name="update" value="<bean:message key="labels.update"/>"/> + <input type="submit" name="editagain" value="<bean:message key="labels.back"/>"/> </c:if> <c:if test="${mode == 3}"> - <input type="submit" name="delete" value="削除"/> - <input type="submit" name="back" value="戻る"/> + <input type="submit" name="delete" value="<bean:message key="labels.delete"/>"/> + <input type="submit" name="back" value="<bean:message key="labels.back"/>"/> </c:if> <c:if test="${mode == 4}"> - <input type="submit" name="back" value="戻る"/> - <input type="submit" name="editpagefromconfirm" value="編集"/> - <input type="submit" name="deletepagefromconfirm" value="削除"/> + <input type="submit" name="back" value="<bean:message key="labels.back"/>"/> + <input type="submit" name="editpagefromconfirm" value="<bean:message key="labels.edit"/>"/> + <input type="submit" name="deletepagefromconfirm" value="<bean:message key="labels.delete"/>"/> </c:if> </td> </tr> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,13 +10,13 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;">User</s:link></li> + <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;"><bean:message key="labels.user"/></s:link></li> <c:if test="${roleAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;">Role</s:link></li> + <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;"><bean:message key="labels.role"/></s:link></li> </c:if> <li class="spacer"></li> - <li class="selected"><span>Group</span></li> + <li class="selected"><span><bean:message key="labels.group"/></span></li> <li class="last"></li> </ul> </div> @@ -28,38 +28,38 @@ <html:hidden property="mode"/> <div class="form-table" style="margin-top:3px;"> <table style="width: 400px;"> - <caption>Group Detail</caption> + <caption><bean:message key="labels.group_detail"/></caption> <tbody> <tr> - <th style="width: 120px;">Group ID</th> + <th style="width: 120px;"><bean:message key="labels.group_id"/></th> <td><html:text property="groupId" size="20"/></td> </tr> <tr> - <th>Name</th> + <th><bean:message key="labels.name"/></th> <td><html:text property="name" size="20"/></td> </tr> <tr> - <th>Description</th> + <th><bean:message key="labels.description"/></th> <td><html:text property="description" size="20"/></td> </tr> <tr> - <th>Email</th> + <th><bean:message key="labels.email"/></th> <td><html:text property="email" size="20"/></td> </tr> <tr> - <th>URL</th> + <th><bean:message key="labels.url"/></th> <td><html:text property="url" size="20"/></td> </tr> <tr> - <th>Telephone Number</th> + <th><bean:message key="labels.telephone_number"/></th> <td><html:text property="telephone" size="20"/></td> </tr> </tbody> <tfoot> <tr> <td colspan="2"> - <input type="submit" name="confirm" value="確認"/> - <input type="submit" name="back" value="戻る"/> + <input type="submit" name="confirm" value="<bean:message key="labels.confirm"/>"/> + <input type="submit" name="back" value="<bean:message key="labels.back"/>"/> </td> </tr> </tfoot> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/error.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/error.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/error.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -9,13 +9,13 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;">User</s:link></li> + <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;"><bean:message key="labels.user"/></s:link></li> <c:if test="${roleAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;">Role</s:link></li> + <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;"><bean:message key="labels.role"/></s:link></li> </c:if> <li class="spacer"></li> - <li class="selected"><span>Group</span></li> + <li class="selected"><span><bean:message key="labels.group"/></span></li> <li class="last"></li> </ul> </div> @@ -23,7 +23,7 @@ <html:errors/> <br> -<s:link href="index">戻る</s:link> +<s:link href="index"><bean:message key="labels.back"/></s:link> </div> </body> </html> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/index.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/index.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/index.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,13 +10,13 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;">User</s:link></li> + <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;"><bean:message key="labels.user"/></s:link></li> <c:if test="${roleAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;">Role</s:link></li> + <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;"><bean:message key="labels.role"/></s:link></li> </c:if> <li class="spacer"></li> - <li class="selected"><span>Group</span></li> + <li class="selected"><span><bean:message key="labels.group"/></span></li> <li class="last"></li> </ul> </div> @@ -26,13 +26,13 @@ <div class="list-table" style="margin-top:3px;"> <div> -<s:link href="createpage">Create New Group</s:link> +<s:link href="createpage"><bean:message key="labels.create_new_group"/></s:link> </div> <table border="1"> <thead> <tr> - <th style="width:100px;text-align: center;">Group ID</th> - <th style="width:100px;text-align: center;">Name</th> + <th style="width:100px;text-align: center;"><bean:message key="labels.group_id"/></th> + <th style="width:100px;text-align: center;"><bean:message key="labels.name"/></th> <th style="width:100px;text-align: center;"> </th> </tr> </thead> @@ -42,8 +42,8 @@ <td><s:link href="confirmpage/4/${f:u(g.groupId)}">${f:h(g.groupId)}</s:link></td> <td>${f:h(g.name)}</td> <td align="center"> - <s:link href="editpage/2/${f:u(g.groupId)}">Edit</s:link> - <s:link href="deletepage/3/${f:u(g.groupId)}">Delete</s:link> + <s:link href="editpage/2/${f:u(g.groupId)}"><bean:message key="labels.edit"/></s:link> + <s:link href="deletepage/3/${f:u(g.groupId)}"><bean:message key="labels.delete"/></s:link> </td> </tr> </c:forEach> @@ -53,7 +53,7 @@ <div style="width: 450px;text-align: center;"> <span> <c:if test="${groupInfoPager.existPrePage}"> - <s:link href="list/${groupInfoPager.currentPageNumber - 1}">前へ</s:link> + <s:link href="list/${groupInfoPager.currentPageNumber - 1}"><bean:message key="labels.to_back"/></s:link> </c:if> </span> <span> @@ -70,7 +70,7 @@ </span> <span> <c:if test="${groupInfoPager.existNextPage}"> - <s:link href="list/${groupInfoPager.currentPageNumber + 1}">次へ</s:link> + <s:link href="list/${groupInfoPager.currentPageNumber + 1}"><bean:message key="labels.to_next"/></s:link> </c:if> </span> </div> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/confirm.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/confirm.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/confirm.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,12 +10,12 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;">User</s:link></li> + <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;"><bean:message key="labels.user"/></s:link></li> <li class="spacer"></li> - <li class="selected"><span>Role</span></li> + <li class="selected"><span><bean:message key="labels.role"/></span></li> <c:if test="${groupAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;">Group</s:link></li> + <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;"><bean:message key="labels.group"/></s:link></li> </c:if> <li class="last"></li> </ul> @@ -28,30 +28,30 @@ <html:hidden property="mode"/> <div class="form-table"> <table style="width: 400px;" style="margin-top:3px;"> - <caption>Confirmation of Role Info</caption> + <caption><bean:message key="labels.confirmation_of_role_info"/></caption> <tbody> <tr> - <th style="width: 120px;">Role ID</th> + <th style="width: 120px;"><bean:message key="labels.role_id"/></th> <td>${f:h(roleId)}<html:hidden property="roleId"/></td> </tr> <tr> - <th>Name</th> + <th><bean:message key="labels.name"/></th> <td>${f:h(name)}<html:hidden property="name"/></td> </tr> <tr> - <th>Description</th> + <th><bean:message key="labels.description"/></th> <td>${f:h(description)}<html:hidden property="description"/></td> </tr> <tr> - <th>Email</th> + <th><bean:message key="labels.email"/></th> <td>${f:h(email)}<html:hidden property="email"/></td> </tr> <tr> - <th>URL</th> + <th><bean:message key="labels.url"/></th> <td>${f:h(url)}<html:hidden property="url"/></td> </tr> <tr> - <th>Telephone Number</th> + <th><bean:message key="labels.telephone_number"/></th> <td>${f:h(telephone)}<html:hidden property="telephone"/></td> </tr> </tbody> @@ -59,21 +59,21 @@ <tr> <td colspan="2"> <c:if test="${mode == 1}"> - <input type="submit" name="create" value="登録"/> - <input type="submit" name="editagain" value="戻る"/> + <input type="submit" name="create" value="<bean:message key="labels.create"/>"/> + <input type="submit" name="editagain" value="<bean:message key="labels.back"/>"/> </c:if> <c:if test="${mode == 2}"> - <input type="submit" name="update" value="更新"/> - <input type="submit" name="editagain" value="戻る"/> + <input type="submit" name="update" value="<bean:message key="labels.update"/>"/> + <input type="submit" name="editagain" value="<bean:message key="labels.back"/>"/> </c:if> <c:if test="${mode == 3}"> - <input type="submit" name="delete" value="削除"/> - <input type="submit" name="back" value="戻る"/> + <input type="submit" name="delete" value="<bean:message key="labels.delete"/>"/> + <input type="submit" name="back" value="<bean:message key="labels.back"/>"/> </c:if> <c:if test="${mode == 4}"> - <input type="submit" name="back" value="戻る"/> - <input type="submit" name="editpagefromconfirm" value="編集"/> - <input type="submit" name="deletepagefromconfirm" value="削除"/> + <input type="submit" name="back" value="<bean:message key="labels.back"/>"/> + <input type="submit" name="editpagefromconfirm" value="<bean:message key="labels.edit"/>"/> + <input type="submit" name="deletepagefromconfirm" value="<bean:message key="labels.delete"/>"/> </c:if> </td> </tr> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,12 +10,12 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;">User</s:link></li> + <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;"><bean:message key="labels.user"/></s:link></li> <li class="spacer"></li> - <li class="selected"><span>Role</span></li> + <li class="selected"><span><bean:message key="labels.role"/></span></li> <c:if test="${groupAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;">Group</s:link></li> + <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;"><bean:message key="labels.group"/></s:link></li> </c:if> <li class="last"></li> </ul> @@ -28,38 +28,38 @@ <html:hidden property="mode"/> <div class="form-table" style="margin-top:3px;"> <table style="width: 400px;"> - <caption>Role Detail</caption> + <caption><bean:message key="labels.role_detail"/></caption> <tbody> <tr> - <th style="width: 120px;">Role ID</th> + <th style="width: 120px;"><bean:message key="labels.role_id"/></th> <td><html:text property="roleId" size="20"/></td> </tr> <tr> - <th>Name</th> + <th><bean:message key="labels.name"/></th> <td><html:text property="name" size="20"/></td> </tr> <tr> - <th>Description</th> + <th><bean:message key="labels.description"/></th> <td><html:text property="description" size="20"/></td> </tr> <tr> - <th>Email</th> + <th><bean:message key="labels.email"/></th> <td><html:text property="email" size="20"/></td> </tr> <tr> - <th>URL</th> + <th><bean:message key="labels.url"/></th> <td><html:text property="url" size="20"/></td> </tr> <tr> - <th>Telephone Number</th> + <th><bean:message key="labels.telephone_number"/></th> <td><html:text property="telephone" size="20"/></td> </tr> </tbody> <tfoot> <tr> <td colspan="2"> - <input type="submit" name="confirm" value="確認"/> - <input type="submit" name="back" value="戻る"/> + <input type="submit" name="confirm" value="<bean:message key="labels.confirm"/>"/> + <input type="submit" name="back" value="<bean:message key="labels.back"/>"/> </td> </tr> </tfoot> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/error.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/error.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/error.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -9,12 +9,12 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;">User</s:link></li> + <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;"><bean:message key="labels.user"/></s:link></li> <li class="spacer"></li> - <li class="selected"><span>Role</span></li> + <li class="selected"><span><bean:message key="labels.role"/></span></li> <c:if test="${groupAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;">Group</s:link></li> + <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;"><bean:message key="labels.group"/></s:link></li> </c:if> <li class="last"></li> </ul> @@ -23,7 +23,7 @@ <html:errors/> <br> -<s:link href="index">戻る</s:link> +<s:link href="index"><bean:message key="labels.back"/></s:link> </div> </body> </html> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/index.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/index.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/index.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,12 +10,12 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;">User</s:link></li> + <li class="selectable"><s:link href="/userInfo/" style="text-decoration: none;"><bean:message key="labels.user"/></s:link></li> <li class="spacer"></li> - <li class="selected"><span>Role</span></li> + <li class="selected"><span><bean:message key="labels.role"/></span></li> <c:if test="${groupAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;">Group</s:link></li> + <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;"><bean:message key="labels.group"/></s:link></li> </c:if> <li class="last"></li> </ul> @@ -26,13 +26,13 @@ <div class="list-table" style="margin-top:3px;"> <div> -<s:link href="createpage">Create New Role</s:link> +<s:link href="createpage"><bean:message key="labels.create_new_role"/></s:link> </div> <table border="1"> <thead> <tr> - <th style="width:100px;text-align: center;">Role ID</th> - <th style="width:100px;text-align: center;">Name</th> + <th style="width:100px;text-align: center;"><bean:message key="labels.role_id"/></th> + <th style="width:100px;text-align: center;"><bean:message key="labels.name"/></th> <th style="width:100px;text-align: center;"> </th> </tr> </thead> @@ -42,8 +42,8 @@ <td><s:link href="confirmpage/4/${f:u(r.roleId)}">${f:h(r.roleId)}</s:link></td> <td>${f:h(r.name)}</td> <td align="center"> - <s:link href="editpage/2/${f:u(r.roleId)}">Edit</s:link> - <s:link href="deletepage/3/${f:u(r.roleId)}">Delete</s:link> + <s:link href="editpage/2/${f:u(r.roleId)}"><bean:message key="labels.edit"/></s:link> + <s:link href="deletepage/3/${f:u(r.roleId)}"><bean:message key="labels.delete"/></s:link> </td> </tr> </c:forEach> @@ -53,7 +53,7 @@ <div style="width: 450px;text-align: center;"> <span> <c:if test="${roleInfoPager.existPrePage}"> - <s:link href="list/${roleInfoPager.currentPageNumber - 1}">前へ</s:link> + <s:link href="list/${roleInfoPager.currentPageNumber - 1}"><bean:message key="labels.to_back"/></s:link> </c:if> </span> <span> @@ -70,7 +70,7 @@ </span> <span> <c:if test="${roleInfoPager.existNextPage}"> - <s:link href="list/${roleInfoPager.currentPageNumber + 1}">次へ</s:link> + <s:link href="list/${roleInfoPager.currentPageNumber + 1}"><bean:message key="labels.to_next"/></s:link> </c:if> </span> </div> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/confirm.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/confirm.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/confirm.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,14 +10,14 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selected"><span>User</span></li> + <li class="selected"><span><bean:message key="labels.user"/></span></li> <c:if test="${roleAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;">Role</s:link></li> + <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;"><bean:message key="labels.role"/></s:link></li> </c:if> <c:if test="${groupAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;">Group</s:link></li> + <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;"><bean:message key="labels.group"/></s:link></li> </c:if> <li class="last"></li> </ul> @@ -30,64 +30,64 @@ <html:hidden property="mode"/> <div class="form-table" style="margin-top:3px;"> <table style="width: 400px;"> - <caption>Confirmation of User Info</caption> + <caption><bean:message key="labels.confirmation_of_user_info"/></caption> <tbody> <tr> - <th style="width: 120px;">User ID</th> + <th style="width: 120px;"><bean:message key="labels.user_id"/></th> <td>${f:h(userId)}<html:hidden property="userId"/></td> </tr> <tr> - <th>Given Name</th> + <th><bean:message key="labels.given_name"/></th> <td>${f:h(givenName)}<html:hidden property="givenName"/></td> </tr> <tr> - <th>Given Name(Desc)</th> + <th><bean:message key="labels.given_name_desc"/></th> <td>${f:h(givenNameDesc)}<html:hidden property="givenNameDesc"/></td> </tr> <tr> - <th>Family Name</th> + <th><bean:message key="labels.family_name"/></th> <td>${f:h(familyName)}<html:hidden property="familyName"/></td> </tr> <tr> - <th>Family Name(Desc)</th> + <th><bean:message key="labels.family_name_desc"/></th> <td>${f:h(familyNameDesc)}<html:hidden property="familyNameDesc"/></td> </tr> <tr> - <th>Middle Name</th> + <th><bean:message key="labels.middle_name"/></th> <td>${f:h(middleName)}<html:hidden property="middleName"/></td> </tr> <tr> - <th>Email</th> + <th><bean:message key="labels.email"/></th> <td>${f:h(email)}<html:hidden property="email"/></td> </tr> <tr> - <th>URL</th> + <th><bean:message key="labels.url"/></th> <td>${f:h(url)}<html:hidden property="url"/></td> </tr> <tr> - <th>Telephone Number</th> + <th><bean:message key="labels.telephone_number"/></th> <td>${f:h(telephone)}<html:hidden property="telephone"/></td> </tr> <c:if test="${roleAvailable}"> <tr> - <th>Role</th> + <th><bean:message key="labels.role"/></th> <td> <c:forEach var="r" varStatus="s" items="${roleInfoItems}"> <c:if test="${roleId==r.roleId}">${f:h(r.name)}</c:if> </c:forEach> -<c:if test="${roleId==''}">None</c:if> +<c:if test="${roleId==''}"><bean:message key="labels.none"/></c:if> <html:hidden property="roleId"/> </td> </tr> </c:if> <c:if test="${groupAvailable}"> <tr> - <th>Group</th> + <th><bean:message key="labels.group"/></th> <td> <c:forEach var="g" varStatus="s" items="${groupInfoItems}"> <c:if test="${groupId==g.groupId}">${f:h(g.name)}</c:if> </c:forEach> -<c:if test="${groupId==''}">None</c:if> +<c:if test="${groupId==''}"><bean:message key="labels.none"/></c:if> <html:hidden property="groupId"/> </td> </tr> @@ -97,21 +97,21 @@ <tr> <td colspan="2"> <c:if test="${mode == 1}"> - <input type="submit" name="create" value="登録"/> - <input type="submit" name="editagain" value="戻る"/> + <input type="submit" name="create" value="<bean:message key="labels.create"/>"/> + <input type="submit" name="editagain" value="<bean:message key="labels.back"/>"/> </c:if> <c:if test="${mode == 2}"> - <input type="submit" name="update" value="更新"/> - <input type="submit" name="editagain" value="戻る"/> + <input type="submit" name="update" value="<bean:message key="labels.update"/>"/> + <input type="submit" name="editagain" value="<bean:message key="labels.back"/>"/> </c:if> <c:if test="${mode == 3}"> - <input type="submit" name="delete" value="削除"/> - <input type="submit" name="back" value="戻る"/> + <input type="submit" name="delete" value="<bean:message key="labels.delete"/>"/> + <input type="submit" name="back" value="<bean:message key="labels.back"/>"/> </c:if> <c:if test="${mode == 4}"> - <input type="submit" name="back" value="戻る"/> - <input type="submit" name="editpagefromconfirm" value="編集"/> - <input type="submit" name="deletepagefromconfirm" value="削除"/> + <input type="submit" name="back" value="<bean:message key="labels.back"/>"/> + <input type="submit" name="editpagefromconfirm" value="<bean:message key="labels.edit"/>"/> + <input type="submit" name="deletepagefromconfirm" value="<bean:message key="labels.delete"/>"/> </c:if> </td> </tr> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,14 +10,14 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selected"><span>User</span></li> + <li class="selected"><span><bean:message key="labels.user"/></span></li> <c:if test="${roleAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;">Role</s:link></li> + <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;"><bean:message key="labels.role"/></s:link></li> </c:if> <c:if test="${groupAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;">Group</s:link></li> + <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;"><bean:message key="labels.group"/></s:link></li> </c:if> <li class="last"></li> </ul> @@ -30,50 +30,50 @@ <html:hidden property="mode"/> <div class="form-table" style="margin-top:3px;"> <table style="width: 400px;"> - <caption>User Detail</caption> + <caption><bean:message key="labels.user_detail"/></caption> <tbody> <tr> - <th style="width: 120px;">User ID</th> + <th style="width: 120px;"><bean:message key="labels.user_id"/></th> <td><html:text property="userId" size="20"/></td> </tr> <tr> - <th>Given Name</th> + <th><bean:message key="labels.given_name"/></th> <td><html:text property="givenName" size="20"/></td> </tr> <tr> - <th>Given Name(Desc)</th> + <th><bean:message key="labels.given_name_desc"/></th> <td><html:text property="givenNameDesc" size="20"/></td> </tr> <tr> - <th>Family Name</th> + <th><bean:message key="labels.family_name"/></th> <td><html:text property="familyName" size="20"/></td> </tr> <tr> - <th>Family Name(Desc)</th> + <th><bean:message key="labels.family_name_desc"/></th> <td><html:text property="familyNameDesc" size="20"/></td> </tr> <tr> - <th>Middle Name</th> + <th><bean:message key="labels.middle_name"/></th> <td><html:text property="middleName" size="20"/></td> </tr> <tr> - <th>Email</th> + <th><bean:message key="labels.email"/></th> <td><html:text property="email" size="20"/></td> </tr> <tr> - <th>URL</th> + <th><bean:message key="labels.url"/></th> <td><html:text property="url" size="20"/></td> </tr> <tr> - <th>Telephone Number</th> + <th><bean:message key="labels.telephone_number"/></th> <td><html:text property="telephone" size="20"/></td> </tr> <c:if test="${roleAvailable}"> <tr> - <th>Default Role</th> + <th><bean:message key="labels.default_role"/></th> <td> <html:select property="roleId"> -<option value="">None</option> +<option value=""><bean:message key="labels.none"/></option> <c:forEach var="r" varStatus="s" items="${roleInfoItems}"> <html:option value="${f:h(r.roleId)}">${f:h(r.name)}</html:option> </c:forEach> @@ -83,10 +83,10 @@ </c:if> <c:if test="${groupAvailable}"> <tr> - <th>Default Group</th> + <th><bean:message key="labels.default_group"/></th> <td> <html:select property="groupId"> -<option value="">None</option> +<option value=""><bean:message key="labels.none"/></option> <c:forEach var="g" varStatus="s" items="${groupInfoItems}"> <html:option value="${f:h(g.groupId)}">${f:h(g.name)}</html:option> </c:forEach> @@ -98,8 +98,8 @@ <tfoot> <tr> <td colspan="2"> - <input type="submit" name="confirm" value="確認"/> - <input type="submit" name="back" value="戻る"/> + <input type="submit" name="confirm" value="<bean:message key="labels.confirm"/>"/> + <input type="submit" name="back" value="<bean:message key="labels.back"/>"/> </td> </tr> </tfoot> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/error.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/error.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/error.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -9,14 +9,14 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selected"><span>User</span></li> + <li class="selected"><span><bean:message key="labels.user"/></span></li> <c:if test="${roleAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;">Role</s:link></li> + <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;"><bean:message key="labels.role"/></s:link></li> </c:if> <c:if test="${groupAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;">Group</s:link></li> + <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;"><bean:message key="labels.group"/></s:link></li> </c:if> <li class="last"></li> </ul> @@ -25,7 +25,7 @@ <html:errors/> <br> -<s:link href="index">戻る</s:link> +<s:link href="index"><bean:message key="labels.back"/></s:link> </div> </body> </html> Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/index.jsp =================================================================== --- userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/index.jsp 2008-11-11 09:32:53 UTC (rev 1328) +++ userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/index.jsp 2008-11-11 09:38:40 UTC (rev 1329) @@ -10,14 +10,14 @@ <div class="tab-nav"> <ul> <li class="first"></li> - <li class="selected"><span>User</span></li> + <li class="selected"><span><bean:message key="labels.user"/></span></li> <c:if test="${roleAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;">Role</s:link></li> + <li class="selectable"><s:link href="/roleInfo/" style="text-decoration: none;"><bean:message key="labels.role"/></s:link></li> </c:if> <c:if test="${groupAvailable}"> <li class="spacer"></li> - <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;">Group</s:link></li> + <li class="selectable"><s:link href="/groupInfo/" style="text-decoration: none;"><bean:message key="labels.group"/></s:link></li> </c:if> <li class="last"></li> </ul> @@ -28,15 +28,15 @@ <div class="list-table" style="margin-top:3px;"> <div> -<s:link href="createpage">Create New User</s:link> +<s:link href="createpage"><bean:message key="labels.create_new_user"/></s:link> </div> <table border="1"> <thead> <tr> - <th style="width:100px;text-align: center;">User ID</th> - <th style="width:100px;text-align: center;">Given Name</th> - <th style="width:100px;text-align: center;">Family Name</th> - <th style="width:200px;text-align: center;">Email</th> + <th style="width:100px;text-align: center;"><bean:message key="labels.user_id"/></th> + <th style="width:100px;text-align: center;"><bean:message key="labels.given_name"/></th> + <th style="width:100px;text-align: center;"><bean:message key="labels.family_name"/></th> + <th style="width:200px;text-align: center;"><bean:message key="labels.email"/></th> <th style="width:100px;text-align: center;"> </th> </tr> </thead> @@ -48,8 +48,8 @@ <td>${f:h(u.familyName)}</td> <td>${f:h(u.email)}</td> <td align="center"> - <s:link href="editpage/2/${f:u(u.userId)}">Edit</s:link> - <s:link href="deletepage/3/${f:u(u.userId)}">Delete</s:link> + <s:link href="editpage/2/${f:u(u.userId)}"><bean:message key="labels.edit"/></s:link> + <s:link href="deletepage/3/${f:u(u.userId)}"><bean:message key="labels.delete"/></s:link> </td> </tr> </c:forEach> @@ -59,7 +59,7 @@ <div style="width: 450px;text-align: center;"> <span> <c:if test="${userInfoPager.existPrePage}"> - <s:link href="list/${userInfoPager.currentPageNumber - 1}">前へ</s:link> + <s:link href="list/${userInfoPager.currentPageNumber - 1}"><bean:message key="labels.to_back"/></s:link> </c:if> </span> <span> @@ -76,7 +76,7 @@ </span> <span> <c:if test="${userInfoPager.existNextPage}"> - <s:link href="list/${userInfoPager.currentPageNumber + 1}">次へ</s:link> + <s:link href="list/${userInfoPager.currentPageNumber + 1}"><bean:message key="labels.to_next"/></s:link> </c:if> </span> </div>