From 7418be04d3fd24bd7cef09527bd40e55783c28c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Gonz=C3=A1lez?= Date: Wed, 25 Jul 2012 19:20:30 +0100 Subject: [PATCH] fixing translation domain to cake_dev --- lib/Cake/Network/CakeSocket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Network/CakeSocket.php b/lib/Cake/Network/CakeSocket.php index 9ced3c7ce..d2d72e76a 100644 --- a/lib/Cake/Network/CakeSocket.php +++ b/lib/Cake/Network/CakeSocket.php @@ -310,7 +310,7 @@ class CakeSocket { */ public function enableCrypto($type, $clientOrServer = 'client', $enable = true) { if (!array_key_exists($type . '_' . $clientOrServer, $this->_encryptMethods)) { - throw new InvalidArgumentException(__('Invalid encryption scheme chosen')); + throw new InvalidArgumentException(__d('cake_dev', 'Invalid encryption scheme chosen')); } $enableCryptoResult = false; try { @@ -323,7 +323,7 @@ class CakeSocket { $this->encrypted = $enable; return true; } else { - $errorMessage = __('Unable to perform enableCrypto operation on CakeSocket'); + $errorMessage = __d('cake_dev', 'Unable to perform enableCrypto operation on CakeSocket'); $this->setLastError(null, $errorMessage); throw new SocketException($errorMessage); }