mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Added translated string for 'Submit' in FormHelper::end()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5814 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
5ddf8f7180
commit
ae9243e43d
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class FormHelper extends AppHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($submitOptions === true) {
|
if ($submitOptions === true) {
|
||||||
$submit = 'Submit';
|
$submit = __('Submit', true);
|
||||||
} elseif (is_string($submitOptions)) {
|
} elseif (is_string($submitOptions)) {
|
||||||
$submit = $submitOptions;
|
$submit = $submitOptions;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue