summaryrefslogtreecommitdiff
path: root/modules/update/update.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/update/update.module')
-rw-r--r--modules/update/update.module7
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.