mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-04 10:32:40 +00:00
"Closes #1854, Core.po not loaded when using /app/locale/..../default.po
Closes #3539 Fixes #3611, Cannot redeclare loadmodels Fixes #3622, loadControllers() and loadModels() look in wrong folders for AppController resp. AppModel Added trigger_error to all deprecated functions in basics.php Refactored I18n class to remove debug_backtrace() usage in basics.php, all translations should be placed in a default.po or .mo file from this point forward. _ _d() function should be used if domain specific translations are used. Core translations can be placed in app/locales/{lang}/LC_MESSAGES/core.po or .mo these will now be merged with the specified language strings from default.po will replace the core message strings All translations are now cached to improve performance. " git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6065 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
2eef50c90b
commit
de8e7d8b01
9 changed files with 265 additions and 281 deletions
|
@ -881,7 +881,7 @@ class Controller extends Object {
|
|||
}
|
||||
|
||||
if (!is_object($object)) {
|
||||
trigger_error(sprintf(__("Controller::paginate() - can't find model %1$s in controller %2$sController", true), $object, $this->name), E_USER_WARNING);
|
||||
trigger_error(sprintf(__('Controller::paginate() - can\'t find model %1$s in controller %2$sController', true), $object, $this->name), E_USER_WARNING);
|
||||
return array();
|
||||
}
|
||||
$options = am($this->params, $this->params['url'], $this->passedArgs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue