mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
"Fixes #4360, Error in \"i18n\" Shell Script"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6597 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
c4a4e9da39
commit
3e61954dbc
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ class ModelTask extends Shell {
|
||||||
$alias = 'Child' . $associations[$type][$i]['alias'];
|
$alias = 'Child' . $associations[$type][$i]['alias'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$alternateAlias = $this->in(__("This is a self join. Use {$alias} as the alias", true), array('y', 'n'), 'y');
|
$alternateAlias = $this->in(sprintf(__('This is a self join. Use %s as the alias', true), $alias), array('y', 'n'), 'y');
|
||||||
|
|
||||||
if ('n' == low($alternateAlias) || 'no' == low($alternateAlias)) {
|
if ('n' == low($alternateAlias) || 'no' == low($alternateAlias)) {
|
||||||
$associations[$type][$i]['alias'] = $this->in(__('Specify an alternate alias.', true));
|
$associations[$type][$i]['alias'] = $this->in(__('Specify an alternate alias.', true));
|
||||||
|
|
Loading…
Reference in a new issue