In the feedapi_import_opml form, the Submit button is not translatable. Please, change it:

$form['submit'] = array('#type' => 'submit', '#value' => 'Submit');
to
$form['submit'] = array('#type' => 'submit', '#value' => t('Submit'));

Thanks.

CommentFileSizeAuthor
#2 462800-translate_submit_button.patch1.13 KBpasqualle

Comments

alex_b’s picture

Version: 6.x-1.6 » 6.x-1.x-dev
Priority: Normal » Critical
Issue tags: +Novice

Critical for 1.7 beta 1 release. Novice task.

pasqualle’s picture

Status: Active » Needs review
StatusFileSize
new1.13 KB

button text changed to Import

zoltán balogh’s picture

Patch in #2 works fine.

aron novak’s picture

Status: Needs review » Reviewed & tested by the community

We don't rely on the $op, so changing the caption is not harmful.
Köszi szépen :)

aron novak’s picture

Status: Reviewed & tested by the community » Fixed

Thanks again, I committed.
Altough I had to modify the automated tests as well (the test pushes that button and the text matters)

Status: Fixed » Closed (fixed)
Issue tags: -Novice

Automatically closed -- issue fixed for 2 weeks with no activity.