diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-05 02:11:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-05 02:11:00 +0000 |
commit | fe1e82eebc58b4b1e9a907d3cfb40f09ab653d9a (patch) | |
tree | f75730ec2d75aa54f18e6ff354df6ae83f1173a6 /modules/update | |
parent | fd0e4caf2f6139d44b71d142fca7f07aac65a195 (diff) | |
download | brdo-fe1e82eebc58b4b1e9a907d3cfb40f09ab653d9a.tar.gz brdo-fe1e82eebc58b4b1e9a907d3cfb40f09ab653d9a.tar.bz2 |
- Patch #818136 by dww: some strings in update.module are not translatable.
Diffstat (limited to 'modules/update')
-rw-r--r-- | modules/update/update.module | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/update/update.module b/modules/update/update.module index 42aacc374..4f1045b7c 100644 --- a/modules/update/update.module +++ b/modules/update/update.module @@ -222,9 +222,10 @@ function update_menu() { ); } // Customize the titles of the action links depending on where they appear. - $items['admin/reports/updates/install']['title'] = 'Install new module or theme'; - $items['admin/modules/install']['title'] = 'Install new module'; - $items['admin/appearance/install']['title'] = 'Install new theme'; + // We use += array() to let the translation extractor find these menu titles. + $items['admin/reports/updates/install'] += array('title' => 'Install new module or theme'); + $items['admin/modules/install'] += array('title' => 'Install new module'); + $items['admin/appearance/install'] += array('title' => 'Install new theme'); // Menu callback used for the confirmation page after all the releases // have been downloaded, asking you to backup before installing updates. |