diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-01-13 01:04:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-01-13 01:04:13 +0000 |
commit | 5369ef896dc718d7c37c5d01e3ad591e16e173b3 (patch) | |
tree | b584132d3f63bc8923cd5708e81978f19121bbf7 /modules | |
parent | 07569a4f38765e85db5b7c5448422bb204ce8a0f (diff) | |
download | brdo-5369ef896dc718d7c37c5d01e3ad591e16e173b3.tar.gz brdo-5369ef896dc718d7c37c5d01e3ad591e16e173b3.tar.bz2 |
- Patch #997884 by jhodgdon: improved t() documentation.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/dashboard/dashboard.module | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/dashboard/dashboard.module b/modules/dashboard/dashboard.module index 1917c873d..561569798 100644 --- a/modules/dashboard/dashboard.module +++ b/modules/dashboard/dashboard.module @@ -82,6 +82,9 @@ function dashboard_permission() { return array( 'access dashboard' => array( 'title' => t('View the administrative dashboard'), + // Note: We translate the 'Administer blocks' permission string here with + // a separate t() call, to make sure it gets the same translation as when + // it's in block_permission(). 'description' => t('Customizing the dashboard requires the !permission-name permission.', array( '!permission-name' => l(t('Administer blocks'), 'admin/people/permissions', array('fragment' => 'module-block')), )), |