From 5369ef896dc718d7c37c5d01e3ad591e16e173b3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 13 Jan 2011 01:04:13 +0000 Subject: - Patch #997884 by jhodgdon: improved t() documentation. --- modules/dashboard/dashboard.module | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') 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')), )), -- cgit v1.2.3