Author: husted
Date: Tue Oct 10 00:13:11 2006
New Revision: 454651
URL: http://svn.apache.org/viewvc?view=rev&rev=454651
Log:
WW-1453 Struts-Blank: Add localization.
Added:
struts/struts2/trunk/apps/blank/src/main/resources/example/package_es.properties
- copied, changed from r454616,
struts/struts2/trunk/apps/blank/src/main/resources/example/package.properties
Modified:
struts/struts2/trunk/apps/blank/src/main/webapp/example/Welcome.jsp
Copied:
struts/struts2/trunk/apps/blank/src/main/resources/example/package_es.properties
(from r454616,
struts/struts2/trunk/apps/blank/src/main/resources/example/package.properties)
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/blank/src/main/resources/example/package_es.properties?view=diff&rev=454651&p1=struts/struts2/trunk/apps/blank/src/main/resources/example/package.properties&r1=454616&p2=struts/struts2/trunk/apps/blank/src/main/resources/example/package_es.properties&r2=454651
==============================================================================
---
struts/struts2/trunk/apps/blank/src/main/resources/example/package.properties
(original)
+++
struts/struts2/trunk/apps/blank/src/main/resources/example/package_es.properties
Tue Oct 10 00:13:11 2006
@@ -1,5 +1,5 @@
-requiredstring = ${getText(fieldName)} is required.
-password = Password
-username = User Name
-HelloWorld.message= Struts is up and running ...
-Missing.message = This feature is under construction. Please try again in the
next interation.
+requiredstring = ${getText(fieldName)} se requiere..
+password = Contraseña
+username = Nombre de Usuario
+HelloWorld.message= ¡Struts está bien! ...
+Missing.message = ¡en obras! ¡seguir intentando!
Modified: struts/struts2/trunk/apps/blank/src/main/webapp/example/Welcome.jsp
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/blank/src/main/webapp/example/Welcome.jsp?view=diff&rev=454651&r1=454650&r2=454651
==============================================================================
--- struts/struts2/trunk/apps/blank/src/main/webapp/example/Welcome.jsp
(original)
+++ struts/struts2/trunk/apps/blank/src/main/webapp/example/Welcome.jsp Tue Oct
10 00:13:11 2006
@@ -25,7 +25,7 @@
<s:url id="url" action="Welcome">
<s:param name="request_locale">es</s:param>
</s:url>
- <s:a href="%{url}">Espanol</s:a>
+ <s:a href="%{url}">Español</s:a>
</li>
</ul>