Skip to content

Commit

Permalink
fixing translation domain to cake_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
steinkel committed Jul 25, 2012
1 parent f9f380d commit 7418be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Network/CakeSocket.php
Expand Up @@ -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 {
Expand All @@ -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);
}
Expand Down

0 comments on commit 7418be0

Please sign in to comment.