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:
phpnut 2007-10-20 07:12:54 +00:00
parent 5ddf8f7180
commit ae9243e43d

View file

@ -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;
} }