Browse Source

Remiving the last places where cake_dev domain was used

Jose Lorenzo Rodriguez 11 years ago
parent
commit
2843535ecc

+ 1 - 1
src/Network/Email/Email.php

@@ -616,7 +616,7 @@ class Email {
 		} elseif (preg_match($this->_emailPattern, $email)) {
 			return;
 		}
-		throw new Error\SocketException(__d('cake_dev', 'Invalid email: "%s"', $email));
+		throw new Error\SocketException(sprintf('Invalid email: "%s"', $email));
 	}
 
 /**

+ 2 - 3
src/Network/Response.php

@@ -1334,10 +1334,9 @@ class Response {
 		);
 
 		if (strpos($path, '..') !== false) {
-			throw new Error\NotFoundException(__d(
-				'cake_dev',
+			throw new Error\NotFoundException(
 				'The requested file contains `..` and will not be read.'
-			));
+			);
 		}
 
 		if (!is_file($path)) {

+ 1 - 1
src/Template/Error/missing_layout.ctp

@@ -20,7 +20,7 @@
 </p>
 
 <p>
-	<?php echo __d('cake_dev', 'Confirm you have created the file: %s', h($file)); ?>
+	<?= sprintf('Confirm you have created the file: %s', h($file)); ?>
 	in one of the following paths:
 </p>
 <ul>

+ 1 - 1
src/Template/Error/missing_view.ctp

@@ -21,7 +21,7 @@ use Cake\Utility\Inflector;
 </p>
 
 <p>
-	<?php echo __d('cake_dev', 'Confirm you have created the file: %s', h($file)); ?>
+	<?= sprintf('Confirm you have created the file: %s', h($file)); ?>
 	in one of the following paths:
 </p>
 <ul>