Hi.

I used the console to bake some views and noticed that "Submit" in
forms is not translated.

I guess that line 47 in the template (cake/console/libs/templates/
views/form.ctp) should be changed from:
        echo "<?php echo \$form->end('Submit');?>\n";
to:
        echo "<?php echo \$form->end(__('Submit', true));?>\n";

- but maybe there is an even better way? (E.g. $form->end(array))
would give a submit button with the default submit text from the form
helper).

  Regards

    Jonathan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to