Excluded method names from several tanslation strings

Removed unnecessary sprintfs
This commit is contained in:
dmromanov 2013-08-16 13:39:38 +04:00
parent c5a306b33c
commit 56ef44f495
9 changed files with 21 additions and 21 deletions

View file

@ -184,7 +184,7 @@ class Security {
*/
public static function cipher($text, $key) {
if (empty($key)) {
trigger_error(__d('cake_dev', 'You cannot use an empty key for Security::cipher()'), E_USER_WARNING);
trigger_error(__d('cake_dev', 'You cannot use an empty key for %s', 'Security::cipher()'), E_USER_WARNING);
return '';
}
@ -217,7 +217,7 @@ class Security {
*/
public static function rijndael($text, $key, $operation) {
if (empty($key)) {
trigger_error(__d('cake_dev', 'You cannot use an empty key for Security::rijndael()'), E_USER_WARNING);
trigger_error(__d('cake_dev', 'You cannot use an empty key for %s', 'Security::rijndael()'), E_USER_WARNING);
return '';
}
if (empty($operation) || !in_array($operation, array('encrypt', 'decrypt'))) {