incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject svn commit: r1375881 - in /incubator/flex/sdk/branches/develop/frameworks/projects/apache: build.xml bundles/es_ES/ bundles/es_ES/apache.properties src/org/apache/flex/validators/PostCodeValidator.as
Date Wed, 22 Aug 2012 02:41:08 GMT
Author: jmclean
Date: Wed Aug 22 02:41:08 2012
New Revision: 1375881

URL: http://svn.apache.org/viewvc?rev=1375881&view=rev
Log:
added es_ES locale to postcode classes

Added:
    incubator/flex/sdk/branches/develop/frameworks/projects/apache/bundles/es_ES/
    incubator/flex/sdk/branches/develop/frameworks/projects/apache/bundles/es_ES/apache.properties
Modified:
    incubator/flex/sdk/branches/develop/frameworks/projects/apache/build.xml
    incubator/flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/apache/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/apache/build.xml?rev=1375881&r1=1375880&r2=1375881&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/apache/build.xml (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/apache/build.xml Wed Aug 22 02:41:08
2012
@@ -109,6 +109,7 @@
 		<bundler locale="en_GB"/><!-- United Kingdom resources -->
 		<bundler locale="en_CA"/><!-- Canadian resources -->
 		<bundler locale="de_CH"/><!-- Swiss German resources -->
+		<bundler locale="es_ES"/><!-- Spanish resources -->
 	</target>
 	
 	<target name="clean" depends="bundles-clean">

Added: incubator/flex/sdk/branches/develop/frameworks/projects/apache/bundles/es_ES/apache.properties
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/apache/bundles/es_ES/apache.properties?rev=1375881&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/apache/bundles/es_ES/apache.properties
(added)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/apache/bundles/es_ES/apache.properties
Wed Aug 22 02:41:08 2012
@@ -0,0 +1,24 @@
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+#PostCodeValidator
+invalidCharPostcodeError=El código postal contiene caractéres inválidos.
+wrongLengthPostcodeError=La logitud del código postal es incorrecta.
+wrongFormatPostcodeError=El formato del código postal es incorrecto.
+incorrectFormatPostcodeError=El formato de la cadena del código postal es incorrecto.

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as?rev=1375881&r1=1375880&r2=1375881&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as
(original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as
Wed Aug 22 02:41:08 2012
@@ -922,6 +922,8 @@ public class PostCodeValidator extends V
                 formats = [ "ANA NAN" ];
                 break;
             case "ES":
+            	formats = [ "NNNNN" ];
+                break;
             case "FI":
             case "FR":
             case "IT":



Mime
View raw message