The "Update" button value in the update wizard is t()ranslated. On the other hand, the case checks for 'Update' instead of t('Update') therefore causing an immediate return to the first page (default action).
Patch adds the missing t() call.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | update.php.translate_update_case1.patch | 481 bytes | MarcoZ |
| update.php.translate_update_case.patch | 303 bytes | flevour |
Comments
Comment #1
MarcoZ commentedHi Flevour,
looks good on this end!
+1
Marco
Comment #2
MarcoZ commentedSync'ed patch with head rev of update.php. I just did another test today, and it looks like this one is ready to go in.
Comment #3
dries commentedI think we should remove all t() functions from update.php. Goba had an update patch pending that is related to this one.
Comment #4
gábor hojtsyI also encountered this problem, and was asked to submit a patch with some other update process related issues. My latest patch at http://drupal.org/node/41118 solves the t() problem, so the update starts on localized sites, as well as fixes some 4.5 -> 4.7 update problems, and introduces a favicon, so your watchdog update logs are not filled with errors. Please support that patch.