Skip to content
This repository
Browse code

fixing translation domain to cake_dev

  • Loading branch information...
commit 7418be04d3fd24bd7cef09527bd40e55783c28c6 1 parent f9f380d
Jorge M. González Martín authored July 25, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/Cake/Network/CakeSocket.php
4  lib/Cake/Network/CakeSocket.php
@@ -310,7 +310,7 @@ public function reset($state = null) {
310 310
  */
311 311
 	public function enableCrypto($type, $clientOrServer = 'client', $enable = true) {
312 312
 		if (!array_key_exists($type . '_' . $clientOrServer, $this->_encryptMethods)) {
313  
-			throw new InvalidArgumentException(__('Invalid encryption scheme chosen'));
  313
+			throw new InvalidArgumentException(__d('cake_dev', 'Invalid encryption scheme chosen'));
314 314
 		}
315 315
 		$enableCryptoResult = false;
316 316
 		try {
@@ -323,7 +323,7 @@ public function enableCrypto($type, $clientOrServer = 'client', $enable = true)
323 323
 			$this->encrypted = $enable;
324 324
 			return true;
325 325
 		} else {
326  
-			$errorMessage = __('Unable to perform enableCrypto operation on CakeSocket');
  326
+			$errorMessage = __d('cake_dev', 'Unable to perform enableCrypto operation on CakeSocket');
327 327
 			$this->setLastError(null, $errorMessage);
328 328
 			throw new SocketException($errorMessage);
329 329
 		}

0 notes on commit 7418be0

Please sign in to comment.
Something went wrong with that request. Please try again.