Fixing usage of i18n

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5801 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2007-10-19 09:05:53 +00:00
parent 1674e9d936
commit 07ad5c9853

View file

@ -78,7 +78,7 @@ class FileEngine extends CacheEngine {
}
$this->settings['path'] = $this->__File->Folder->cd($this->settings['path']);
if (!is_writable($this->settings['path'])) {
trigger_error(__(sprintf('%s is not writable', $this->settings['path']), true), E_USER_WARNING);
trigger_error(sprintf(__('%s is not writable', true), $this->settings['path']), E_USER_WARNING);
return false;
}
return true;