diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-04-20 22:35:38 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-04-20 22:35:38 -0400 |
commit | c8dcd6931156431778b0c5fd623d19eb15b828cd (patch) | |
tree | 2ca0030ff93afe1ffa56315ec418c1d7343679f5 /modules | |
parent | 17c696e7fb29feb2d008f718ae8c0f003a8c6657 (diff) | |
download | brdo-c8dcd6931156431778b0c5fd623d19eb15b828cd.tar.gz brdo-c8dcd6931156431778b0c5fd623d19eb15b828cd.tar.bz2 |
- Patch #1026058 by plach, droplet add back Language switcher block help message.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/locale/locale.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 9505f7296..c1cdd434b 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -59,9 +59,9 @@ function locale_help($path, $arg) { return '<p>' . t('This page exports the translated strings used by your site. An export file may be in Gettext Portable Object (<em>.po</em>) form, which includes both the original string and the translation (used to share translations with others), or in Gettext Portable Object Template (<em>.pot</em>) form, which includes the original strings only (used to create new translations with a Gettext translation editor).') . '</p>'; case 'admin/config/regional/translate/translate': return '<p>' . t('This page allows a translator to search for specific translated and untranslated strings, and is used when creating or editing translations. (Note: For translation tasks involving many strings, it may be more convenient to <a href="@export">export</a> strings for offline editing in a desktop Gettext translation editor.) Searches may be limited to strings found within a specific text group or in a specific language.', array('@export' => url('admin/config/regional/translate/export'))) . '</p>'; - case 'admin/structure/block/manage': - if ($arg[4] == 'locale' && $arg[5] == 0) { - return '<p>' . t('This block is only shown if <a href="@languages">at least two languages are enabled</a> and <a href="@configuration">language negotiation</a> is set to something other than <em>None</em>.', array('@languages' => url('admin/config/regional/language'), '@configuration' => url('admin/config/regional/language/configure'))) . '</p>'; + case 'admin/structure/block/manage/%/%': + if ($arg[4] == 'locale' && $arg[5] == 'language') { + return '<p>' . t('This block is only shown if <a href="@languages">at least two languages are enabled</a> and <a href="@configuration">language negotiation</a> is set to <em>URL</em> or <em>Session</em>.', array('@languages' => url('admin/config/regional/language'), '@configuration' => url('admin/config/regional/language/configure'))) . '</p>'; } break; } |