From fe1e82eebc58b4b1e9a907d3cfb40f09ab653d9a Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Tue, 5 Oct 2010 02:11:00 +0000 Subject: [PATCH] - Patch #818136 by dww: some strings in update.module are not translatable. --- modules/update/update.module | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/update/update.module b/modules/update/update.module index 42aacc374049..4f1045b7c8a7 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. -- GitLab