Explorar el Código

[GENERIC] Resources:

- update

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21573 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas hace 16 años
padre
commit
ce4cf60aed
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 1 1
      library/Zend/Validate/Regex.php
  2. 2 1
      resources/languages/en/Zend_Validate.php

+ 1 - 1
library/Zend/Validate/Regex.php

@@ -42,7 +42,7 @@ class Zend_Validate_Regex extends Zend_Validate_Abstract
     protected $_messageTemplates = array(
         self::INVALID   => "Invalid type given, value should be string, integer or float",
         self::NOT_MATCH => "'%value%' does not match against pattern '%pattern%'",
-        self::ERROROUS  => "There was an error while using the pattern '%pattern%'",
+        self::ERROROUS  => "There was an internal error while using the pattern '%pattern%'",
     );
 
     /**

+ 2 - 1
resources/languages/en/Zend_Validate.php

@@ -21,7 +21,7 @@
  */
 
 /**
- * EN-Revision: 21485
+ * EN-Revision: 21573
  */
 return array(
     // Zend_Validate_Alnum
@@ -239,6 +239,7 @@ return array(
     // Zend_Validate_Regex
     "Invalid type given, value should be string, integer or float" => "Invalid type given, value should be string, integer or float",
     "'%value%' does not match against pattern '%pattern%'" => "'%value%' does not match against pattern '%pattern%'",
+    "There was an internal error while using the pattern '%pattern%'" => "There was an internal error while using the pattern '%pattern%'",
 
     // Zend_Validate_Sitemap_Changefreq
     "'%value%' is no valid sitemap changefreq" => "'%value%' is no valid sitemap changefreq",