Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixing translation domain to cake_dev

  • Loading branch information...
commit 7418be04d3fd24bd7cef09527bd40e55783c28c6 1 parent f9f380d
@steinkel steinkel authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Network/CakeSocket.php
View
4 lib/Cake/Network/CakeSocket.php
@@ -310,7 +310,7 @@ public function reset($state = null) {
*/
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 @@ public function enableCrypto($type, $clientOrServer = 'client', $enable = true)
$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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.