Permalink
Browse files

Prevent accidently translating "%score" as "score"

  • Loading branch information...
1 parent bcfa077 commit ff01c28735afcde857f0ed007cf3736a77396840 @dmromanov dmromanov committed Aug 14, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Core/Configure.php
@@ -70,7 +70,7 @@ public static function bootstrap($boot = true) {
self::_appDefaults();
if (!include APP . 'Config' . DS . 'core.php') {
- trigger_error(__d('cake_dev', "Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", APP . 'Config' . DS), E_USER_ERROR);
+ trigger_error(__d('cake_dev', "Can't find application core file. Please create %s, and make sure it is readable by PHP.", APP . 'Config' . DS . 'core.php'), E_USER_ERROR);
}
App::init();
App::$bootstrapping = false;
@@ -86,7 +86,7 @@ public static function bootstrap($boot = true) {
self::_setErrorHandlers($error, $exception);
if (!include APP . 'Config' . DS . 'bootstrap.php') {
- trigger_error(__d('cake_dev', "Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", APP . 'Config' . DS), E_USER_ERROR);
+ trigger_error(__d('cake_dev', "Can't find application bootstrap file. Please create %s, and make sure it is readable by PHP.", APP . 'Config' . DS . 'bootstrap.php'), E_USER_ERROR);
}
restore_error_handler();

0 comments on commit ff01c28

Please sign in to comment.