diff --git a/FormValidatorSwift.xcodeproj/project.pbxproj b/FormValidatorSwift.xcodeproj/project.pbxproj index 8df9728..2d044d0 100644 --- a/FormValidatorSwift.xcodeproj/project.pbxproj +++ b/FormValidatorSwift.xcodeproj/project.pbxproj @@ -370,6 +370,7 @@ 00F2E2DF1C46C6F400FE0B66 /* PresentConditionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PresentConditionTests.swift; sourceTree = ""; }; 00F2E2E11C46C7B500FE0B66 /* PasswordStrengthCondition.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PasswordStrengthCondition.swift; sourceTree = ""; }; 00F2E2E31C46CBC200FE0B66 /* PasswordStrengthConditionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PasswordStrengthConditionTests.swift; sourceTree = ""; }; + 0DB147A2207BB01E00E87A8F /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = ""; }; 88644DA61E2967F7006B0150 /* ValidatorTextFieldTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ValidatorTextFieldTests.swift; path = Controls/ValidatorTextFieldTests.swift; sourceTree = ""; }; 88644DA81E296AEC006B0150 /* ValidatorTextViewTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ValidatorTextViewTests.swift; path = Controls/ValidatorTextViewTests.swift; sourceTree = ""; }; BA6C8FAD1DC77E2200AFE4C4 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Localizable.strings; sourceTree = ""; }; @@ -870,6 +871,7 @@ sv, ru, tr, + es, ); mainGroup = 0062E9C61C45493E00021C0A; productRefGroup = 0062E9D11C45493E00021C0A /* Products */; @@ -1291,6 +1293,7 @@ 0032C1001C454D980023DB19 /* ja */, 0032C1011C454D990023DB19 /* it */, BA6C8FAD1DC77E2200AFE4C4 /* tr */, + 0DB147A2207BB01E00E87A8F /* es */, ); name = Localizable.strings; sourceTree = ""; diff --git a/Sources/Resources/es.lproj/Localizable.strings b/Sources/Resources/es.lproj/Localizable.strings new file mode 100644 index 0000000..7fa7523 --- /dev/null +++ b/Sources/Resources/es.lproj/Localizable.strings @@ -0,0 +1,20 @@ +/* + localizable.strings + FormValidatorSwift + + Created by Juan Delgado on 09/04/2018. + Copyright © 2018 ustwo. All rights reserved. +*/ + + +"US2KeyConditionViolationRange" = "Introduzca mínimo %d, máximo %d caracteres"; +"US2KeyConditionViolationNumeric" = "Introduzca sólo números"; +"US2KeyConditionViolationAlphanumeric" = "Introduzca sólo números y letras"; +"US2KeyConditionViolationAlphabetic" = "Introduzca sólo letras"; +"US2KeyConditionViolationEmail" = "Introduzca un email válido con formato ejemplo@ejemplo.com"; +"US2KeyConditionViolationURL" = "Introduzca una URL válida con formato http(s)://www.ejemplo.com"; +"US2KeyConditionViolationShorthandURL" = "Introduzca una URL válida con formato www.ejemplo.com"; +"US2KeyConditionViolationPasswordStrength" = "Introduzca una contraseña más compleja"; +"US2KeyConditionViolationPostcodeUK" = "Introduzca un código postal válido"; +"US2KeyConditionViolationPresent" = "Introduzca texto"; +"US2KeyConditionViolationCreditCard" = "Introduzca un número de tarjeta válido";