update language domains used in standard views

This commit is contained in:
AD7six 2011-03-19 18:40:24 +01:00
parent 5725a23a56
commit ca254dae98
21 changed files with 163 additions and 164 deletions

View file

@ -24,7 +24,7 @@
"<strong>'{$url}'</strong>"
); ?>
</p>
<?php
<?php
if (Configure::read('debug') > 0 ):
echo $this->element('exception_stack_trace');
endif;

View file

@ -21,8 +21,8 @@
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'An Internal Error Has Occurred.'); ?>
</p>
<?php
<?php
if (Configure::read('debug') > 0 ):
echo $this->element('exception_stack_trace');
endif;
?>
?>

View file

@ -16,14 +16,13 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Method in %s', $controller); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'The action %1$s is not defined in controller %2$s', '<em>' . $action . '</em>', '<em>' . $controller . '</em>'); ?>
<h2><?php echo __d('cake_developer', 'Missing Method in %s', $controller); ?></h2> <p class="error">
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'The action %1$s is not defined in controller %2$s', '<em>' . $action . '</em>', '<em>' . $controller . '</em>'); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Create %1$s%2$s in file: %3$s.', '<em>' . $controller . '::</em>', '<em>' . $action . '()</em>', APP_DIR . DS . 'controllers' . DS . Inflector::underscore($controller) . '.php'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Create %1$s%2$s in file: %3$s.', '<em>' . $controller . '::</em>', '<em>' . $action . '()</em>', APP_DIR . DS . 'controllers' . DS . Inflector::underscore($controller) . '.php'); ?>
</p>
<pre>
&lt;?php
@ -38,7 +37,7 @@ class <?php echo $controller;?> extends AppController {
?&gt;
</pre>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_action.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_action.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Behavior Class'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Behavior Class'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'The behavior class <em>%s</em> can not be found or does not exist.', $class); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'The behavior class <em>%s</em> can not be found or does not exist.', $class); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Create the class below in file: %s', APP_DIR . DS . 'models' . DS . 'behaviors' . DS . $file); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Create the class below in file: %s', APP_DIR . DS . 'models' . DS . 'behaviors' . DS . $file); ?>
</p>
<pre>
&lt;?php
@ -33,8 +33,8 @@ class <?php echo $class;?> extends ModelBehavior {
?&gt;
</pre>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_behavior_class.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_behavior_class.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Behavior File'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Behavior File'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'The Behavior file %s can not be found or does not exist.', APP_DIR . DS . 'models' . DS . 'behaviors' . DS . $file); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'The Behavior file %s can not be found or does not exist.', APP_DIR . DS . 'models' . DS . 'behaviors' . DS . $file); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Create the class below in file: %s', APP_DIR . DS . 'models' . DS . 'behaviors' . DS . $file); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Create the class below in file: %s', APP_DIR . DS . 'models' . DS . 'behaviors' . DS . $file); ?>
</p>
<pre>
&lt;?php
@ -33,8 +33,8 @@ class <?php echo $class;?> extends ModelBehavior {
?&gt;
</pre>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_behavior_file.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_behavior_file.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Component Class'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Component Class'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Component class %1$s was not found.', '<em>' . $class . '</em>'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Component class %1$s was not found.', '<em>' . $class . '</em>'); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Create the class %s in file: %s', '<em>' . $class . '</em>', APP_DIR . DS . 'controllers' . DS . 'components' . DS . $file); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Create the class %s in file: %s', '<em>' . $class . '</em>', APP_DIR . DS . 'controllers' . DS . 'components' . DS . $file); ?>
</p>
<pre>
&lt;?php
@ -33,8 +33,8 @@ class <?php echo $class;?> extends Component {<br />
?&gt;
</pre>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_component_class.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_component_class.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Component File'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Component File'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'The component file was not found.'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'The component file was not found.'); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Create the class %s in file: %s', '<em>' . $class . '</em>', APP_DIR . DS . 'controllers' . DS . 'components' . DS . $file); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Create the class %s in file: %s', '<em>' . $class . '</em>', APP_DIR . DS . 'controllers' . DS . 'components' . DS . $file); ?>
</p>
<pre>
&lt;?php
@ -33,8 +33,8 @@ class <?php echo $class;?> extends Component {<br />
?&gt;
</pre>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_component_file.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_component_file.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,18 +16,18 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Database Connection'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Database Connection'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', '%s requires a database connection', $class); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', '%s requires a database connection', $class); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Confirm you have created the file : %s.', APP_DIR . DS . 'config' . DS . 'database.php'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Confirm you have created the file : %s.', APP_DIR . DS . 'config' . DS . 'database.php'); ?>
</p>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s.', APP_DIR . DS . 'views' . DS . 'errors' . DS . basename(__FILE__)); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s.', APP_DIR . DS . 'views' . DS . 'errors' . DS . basename(__FILE__)); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Controller'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Controller'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', '%s could not be found.', '<em>' . $controller . '</em>'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', '%s could not be found.', '<em>' . $controller . '</em>'); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Create the class %s below in file: %s', '<em>' . $controller . '</em>', APP_DIR . DS . 'controllers' . DS . Inflector::underscore($controller) . '.php'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Create the class %s below in file: %s', '<em>' . $controller . '</em>', APP_DIR . DS . 'controllers' . DS . Inflector::underscore($controller) . '.php'); ?>
</p>
<pre>
&lt;?php
@ -33,8 +33,8 @@ class <?php echo $controller;?> extends AppController {
?&gt;
</pre>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_controller.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_controller.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,18 +16,18 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Database Connection'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Database Connection'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Scaffold requires a database connection'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Scaffold requires a database connection'); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Confirm you have created the file: %s', APP_DIR . DS . 'config' . DS . 'database.php'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Confirm you have created the file: %s', APP_DIR . DS . 'config' . DS . 'database.php'); ?>
</p>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_scaffolddb.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_scaffolddb.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Datasource Configuration'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Datasource Configuration'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'The datasource configuration %1$s was not found in databases.php.', '<em>' . $config . '</em>'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'The datasource configuration %1$s was not found in databases.php.', '<em>' . $config . '</em>'); ?>
</p>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_datasource_config.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_datasource_config.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Datasource Class'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Datasource Class'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Datasource class %1$s was not found.', '<em>' . $class . '</em>'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Datasource class %1$s was not found.', '<em>' . $class . '</em>'); ?>
</p>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_datasource_file.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_datasource_file.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Helper Class'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Helper Class'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'The helper class <em>%s</em> can not be found or does not exist.', $class); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'The helper class <em>%s</em> can not be found or does not exist.', $class); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Create the class below in file: %s', APP_DIR . DS . 'views' . DS . 'helpers' . DS . $file); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Create the class below in file: %s', APP_DIR . DS . 'views' . DS . 'helpers' . DS . $file); ?>
</p>
<pre>
&lt;?php
@ -33,8 +33,8 @@ class <?php echo $class;?> extends AppHelper {
?&gt;
</pre>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_helper_class.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_helper_class.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Helper File'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Helper File'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'The helper file %s can not be found or does not exist.', APP_DIR . DS . 'views' . DS . 'helpers' . DS . $file); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'The helper file %s can not be found or does not exist.', APP_DIR . DS . 'views' . DS . 'helpers' . DS . $file); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Create the class below in file: %s', APP_DIR . DS . 'views' . DS . 'helpers' . DS . $file); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Create the class below in file: %s', APP_DIR . DS . 'views' . DS . 'helpers' . DS . $file); ?>
</p>
<pre>
&lt;?php
@ -33,8 +33,8 @@ class <?php echo $class;?> extends AppHelper {
?&gt;
</pre>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_helper_file.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_helper_file.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,18 +16,18 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Layout'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Layout'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'The layout file %s can not be found or does not exist.', '<em>' . $file . '</em>'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'The layout file %s can not be found or does not exist.', '<em>' . $file . '</em>'); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Confirm you have created the file: %s', '<em>' . $file . '</em>'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Confirm you have created the file: %s', '<em>' . $file . '</em>'); ?>
</p>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_layout.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_layout.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing Database Table'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing Database Table'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Database table %1$s for model %2$s was not found.', '<em>' . $table . '</em>', '<em>' . $class . '</em>'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Database table %1$s for model %2$s was not found.', '<em>' . $table . '</em>', '<em>' . $class . '</em>'); ?>
</p>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_table.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_table.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,18 +16,18 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Missing View'); ?></h2>
<h2><?php echo __d('cake_developer', 'Missing View'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'The view for %1$s%2$s was not found.', '<em>' . Inflector::camelize($this->request->controller) . 'Controller::</em>', '<em>' . $this->request->action . '()</em>'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'The view for %1$s%2$s was not found.', '<em>' . Inflector::camelize($this->request->controller) . 'Controller::</em>', '<em>' . $this->request->action . '()</em>'); ?>
</p>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Confirm you have created the file: %s', $file); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Confirm you have created the file: %s', $file); ?>
</p>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_view.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'missing_view.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Private Method in %s', $controller); ?></h2>
<h2><?php echo __d('cake_developer', 'Private Method in %s', $controller); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', '%s%s cannot be accessed directly.', '<em>' . $controller . '::</em>', '<em>' . $action . '()</em>'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', '%s%s cannot be accessed directly.', '<em>' . $controller . '::</em>', '<em>' . $action . '()</em>'); ?>
</p>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'private_action.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'private_action.ctp'); ?>
</p>
<?php echo $this->element('exception_stack_trace'); ?>

View file

@ -16,14 +16,14 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<h2><?php echo __d('cake', 'Scaffold Error'); ?></h2>
<h2><?php echo __d('cake_developer', 'Scaffold Error'); ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'Method _scaffoldError in was not found in the controller'); ?>
<strong><?php echo __d('cake_developer', 'Error'); ?>: </strong>
<?php echo __d('cake_developer', 'Method _scaffoldError in was not found in the controller'); ?>
</p>
<p class="notice">
<strong><?php echo __d('cake', 'Notice'); ?>: </strong>
<?php echo __d('cake', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'scaffold_error.ctp'); ?>
<strong><?php echo __d('cake_developer', 'Notice'); ?>: </strong>
<?php echo __d('cake_developer', 'If you want to customize this error message, create %s', APP_DIR . DS . 'views' . DS . 'errors' . DS . 'scaffold_error.ctp'); ?>
</p>
<pre>
&lt;?php

View file

@ -21,7 +21,7 @@
<head>
<?php echo $this->Html->charset(); ?>
<title>
<?php echo __d('cake', 'CakePHP: the rapid development php framework:'); ?>
<?php echo __d('cake_developer', 'CakePHP: the rapid development php framework:'); ?>
<?php echo $title_for_layout; ?>
</title>
<?php
@ -35,7 +35,7 @@
<body>
<div id="container">
<div id="header">
<h1><?php echo $this->Html->link(__d('cake', 'CakePHP: the rapid development php framework'), 'http://cakephp.org'); ?></h1>
<h1><?php echo $this->Html->link(__d('cake_developer', 'CakePHP: the rapid development php framework'), 'http://cakephp.org'); ?></h1>
</div>
<div id="content">
@ -46,7 +46,7 @@
</div>
<div id="footer">
<?php echo $this->Html->link(
$this->Html->image('cake.power.gif', array('alt'=> __d('cake', 'CakePHP: the rapid development php framework'), 'border' => '0')),
$this->Html->image('cake.power.gif', array('alt'=> __d('cake_developer', 'CakePHP: the rapid development php framework'), 'border' => '0')),
'http://www.cakephp.org/',
array('target' => '_blank', 'escape' => false)
);

View file

@ -20,8 +20,8 @@ if (Configure::read('debug') == 0):
endif;
App::uses('Debugger', 'Utility');
?>
<h2><?php echo __d('cake', 'Release Notes for CakePHP %s.', Configure::version()); ?></h2>
<a href="http://cakephp.org/changelogs/1.3.6"><?php __d('cake', 'Read the changelog'); ?> </a>
<h2><?php echo __d('cake_developer', 'Release Notes for CakePHP %s.', Configure::version()); ?></h2>
<a href="http://cakephp.org/changelogs/1.3.6"><?php __d('cake_developer', 'Read the changelog'); ?> </a>
<?php
if (Configure::read('debug') > 0):
Debugger::checkSecurityKeys();
@ -31,11 +31,11 @@ endif;
<?php
if (is_writable(TMP)):
echo '<span class="notice success">';
echo __d('cake', 'Your tmp directory is writable.');
echo __d('cake_developer', 'Your tmp directory is writable.');
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake', 'Your tmp directory is NOT writable.');
echo __d('cake_developer', 'Your tmp directory is NOT writable.');
echo '</span>';
endif;
?>
@ -45,11 +45,11 @@ endif;
$settings = Cache::settings();
if (!empty($settings)):
echo '<span class="notice success">';
echo __d('cake', 'The %s is being used for caching. To change the config edit APP/config/core.php ', '<em>'. $settings['engine'] . 'Engine</em>');
echo __d('cake_developer', 'The %s is being used for caching. To change the config edit APP/config/core.php ', '<em>'. $settings['engine'] . 'Engine</em>');
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake', 'Your cache is NOT working. Please check the settings in APP/config/core.php');
echo __d('cake_developer', 'Your cache is NOT working. Please check the settings in APP/config/core.php');
echo '</span>';
endif;
?>
@ -59,14 +59,14 @@ endif;
$filePresent = null;
if (file_exists(CONFIGS.'database.php')):
echo '<span class="notice success">';
echo __d('cake', 'Your database configuration file is present.');
echo __d('cake_developer', 'Your database configuration file is present.');
$filePresent = true;
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake', 'Your database configuration file is NOT present.');
echo __d('cake_developer', 'Your database configuration file is NOT present.');
echo '<br/>';
echo __d('cake', 'Rename config/database.php.default to config/database.php');
echo __d('cake_developer', 'Rename config/database.php.default to config/database.php');
echo '</span>';
endif;
?>
@ -84,11 +84,11 @@ if (isset($filePresent)):
<?php
if ($connected && $connected->isConnected()):
echo '<span class="notice success">';
echo __d('cake', 'Cake is able to connect to the database.');
echo __d('cake_developer', 'Cake is able to connect to the database.');
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake', 'Cake is NOT able to connect to the database.');
echo __d('cake_developer', 'Cake is NOT able to connect to the database.');
echo '</span>';
endif;
?>
@ -104,20 +104,20 @@ if (isset($filePresent)):
echo '</span></p>';
}
?>
<h3><?php echo __d('cake', 'Editing this Page'); ?></h3>
<h3><?php echo __d('cake_developer', 'Editing this Page'); ?></h3>
<p>
<?php
echo __d('cake', 'To change the content of this page, create: APP/views/pages/home.ctp.<br />
echo __d('cake_developer', 'To change the content of this page, create: APP/views/pages/home.ctp.<br />
To change its layout, create: APP/views/layouts/default.ctp.<br />
You can also add some CSS styles for your pages at: APP/webroot/css.');
?>
</p>
<h3><?php echo __d('cake', 'Getting Started'); ?></h3>
<h3><?php echo __d('cake_developer', 'Getting Started'); ?></h3>
<p>
<?php
echo $this->Html->link(
sprintf('<strong>%s</strong> %s', __d('cake', 'New'), __d('cake', 'CakePHP 1.3 Docs')),
sprintf('<strong>%s</strong> %s', __d('cake_developer', 'New'), __d('cake_developer', 'CakePHP 1.3 Docs')),
'http://book.cakephp.org/view/875/x1-3-Collection',
array('target' => '_blank', 'escape' => false)
);
@ -126,46 +126,46 @@ You can also add some CSS styles for your pages at: APP/webroot/css.');
<p>
<?php
echo $this->Html->link(
__d('cake', 'The 15 min Blog Tutorial'),
__d('cake_developer', 'The 15 min Blog Tutorial'),
'http://book.cakephp.org/view/1528/Blog',
array('target' => '_blank', 'escape' => false)
);
?>
</p>
<h3><?php echo __d('cake', 'More about Cake'); ?></h3>
<h3><?php echo __d('cake_developer', 'More about Cake'); ?></h3>
<p>
<?php echo __d('cake', 'CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.'); ?>
<?php echo __d('cake_developer', 'CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.'); ?>
</p>
<p>
<?php echo __d('cake', 'Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.'); ?>
<?php echo __d('cake_developer', 'Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.'); ?>
</p>
<ul>
<li><a href="http://cakefoundation.org/"><?php echo __d('cake', 'Cake Software Foundation'); ?> </a>
<ul><li><?php echo __d('cake', 'Promoting development related to CakePHP'); ?></li></ul></li>
<li><a href="http://www.cakephp.org"><?php echo __d('cake', 'CakePHP'); ?> </a>
<ul><li><?php echo __d('cake', 'The Rapid Development Framework'); ?></li></ul></li>
<li><a href="http://book.cakephp.org"><?php echo __d('cake', 'CakePHP Documentation'); ?> </a>
<ul><li><?php echo __d('cake', 'Your Rapid Development Cookbook'); ?></li></ul></li>
<li><a href="http://api.cakephp.org"><?php echo __d('cake', 'CakePHP API'); ?> </a>
<ul><li><?php echo __d('cake', 'Quick Reference'); ?></li></ul></li>
<li><a href="http://bakery.cakephp.org"><?php echo __d('cake', 'The Bakery'); ?> </a>
<ul><li><?php echo __d('cake', 'Everything CakePHP'); ?></li></ul></li>
<li><a href="http://live.cakephp.org"><?php echo __d('cake', 'The Show'); ?> </a>
<ul><li><?php echo __d('cake', 'The Show is a live and archived internet radio broadcast CakePHP-related topics and answer questions live via IRC, Skype, and telephone.'); ?></li></ul></li>
<li><a href="http://groups.google.com/group/cake-php"><?php echo __d('cake', 'CakePHP Google Group'); ?> </a>
<ul><li><?php echo __d('cake', 'Community mailing list'); ?></li></ul></li>
<li><a href="http://cakefoundation.org/"><?php echo __d('cake_developer', 'Cake Software Foundation'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'Promoting development related to CakePHP'); ?></li></ul></li>
<li><a href="http://www.cakephp.org"><?php echo __d('cake_developer', 'CakePHP'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'The Rapid Development Framework'); ?></li></ul></li>
<li><a href="http://book.cakephp.org"><?php echo __d('cake_developer', 'CakePHP Documentation'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'Your Rapid Development Cookbook'); ?></li></ul></li>
<li><a href="http://api.cakephp.org"><?php echo __d('cake_developer', 'CakePHP API'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'Quick Reference'); ?></li></ul></li>
<li><a href="http://bakery.cakephp.org"><?php echo __d('cake_developer', 'The Bakery'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'Everything CakePHP'); ?></li></ul></li>
<li><a href="http://live.cakephp.org"><?php echo __d('cake_developer', 'The Show'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'The Show is a live and archived internet radio broadcast CakePHP-related topics and answer questions live via IRC, Skype, and telephone.'); ?></li></ul></li>
<li><a href="http://groups.google.com/group/cake-php"><?php echo __d('cake_developer', 'CakePHP Google Group'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'Community mailing list'); ?></li></ul></li>
<li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a>
<ul><li><?php echo __d('cake', 'Live chat about CakePHP'); ?></li></ul></li>
<li><a href="http://github.com/cakephp/"><?php echo __d('cake', 'CakePHP Code'); ?> </a>
<ul><li><?php echo __d('cake', 'For the Development of CakePHP Git repository, Downloads'); ?></li></ul></li>
<li><a href="http://cakephp.lighthouseapp.com/"><?php echo __d('cake', 'CakePHP Lighthouse'); ?> </a>
<ul><li><?php echo __d('cake', 'CakePHP Tickets, Wiki pages, Roadmap'); ?></li></ul></li>
<li><a href="http://www.cakeforge.org"><?php echo __d('cake', 'CakeForge'); ?> </a>
<ul><li><?php echo __d('cake', 'Open Development for CakePHP'); ?></li></ul></li>
<li><a href="http://astore.amazon.com/cakesoftwaref-20/"><?php echo __d('cake', 'Book Store'); ?> </a>
<ul><li><?php echo __d('cake', 'Recommended Software Books'); ?></li></ul></li>
<li><a href="http://www.cafepress.com/cakefoundation"><?php echo __d('cake', 'CakePHP gear'); ?> </a>
<ul><li><?php echo __d('cake', 'Get your own CakePHP gear - Doughnate to Cake'); ?></li></ul></li>
<ul><li><?php echo __d('cake_developer', 'Live chat about CakePHP'); ?></li></ul></li>
<li><a href="http://github.com/cakephp/"><?php echo __d('cake_developer', 'CakePHP Code'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'For the Development of CakePHP Git repository, Downloads'); ?></li></ul></li>
<li><a href="http://cakephp.lighthouseapp.com/"><?php echo __d('cake_developer', 'CakePHP Lighthouse'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'CakePHP Tickets, Wiki pages, Roadmap'); ?></li></ul></li>
<li><a href="http://www.cakeforge.org"><?php echo __d('cake_developer', 'CakeForge'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'Open Development for CakePHP'); ?></li></ul></li>
<li><a href="http://astore.amazon.com/cakesoftwaref-20/"><?php echo __d('cake_developer', 'Book Store'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'Recommended Software Books'); ?></li></ul></li>
<li><a href="http://www.cafepress.com/cakefoundation"><?php echo __d('cake_developer', 'CakePHP gear'); ?> </a>
<ul><li><?php echo __d('cake_developer', 'Get your own CakePHP gear - Doughnate to Cake'); ?></li></ul></li>
</ul>