summaryrefslogtreecommitdiff
path: root/modules/trigger
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-02 04:36:25 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-02 04:36:25 +0000
commit583163193d55e91cc6dedebf7a1c5d9f85dcc408 (patch)
treeef00c11d66c6836246224f5515dfcdc8291fb8de /modules/trigger
parentec732a63601adb4755b3356d1b1f487975279ba3 (diff)
downloadbrdo-583163193d55e91cc6dedebf7a1c5d9f85dcc408.tar.gz
brdo-583163193d55e91cc6dedebf7a1c5d9f85dcc408.tar.bz2
#505942 by andypost and hass: Added label context to Trigger description's t() string.
Diffstat (limited to 'modules/trigger')
-rw-r--r--modules/trigger/trigger.admin.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/trigger/trigger.admin.inc b/modules/trigger/trigger.admin.inc
index e3350f80c..15b9fd39f 100644
--- a/modules/trigger/trigger.admin.inc
+++ b/modules/trigger/trigger.admin.inc
@@ -143,8 +143,10 @@ function trigger_assign_form($form, $form_state, $module, $hook, $label) {
$form[$hook] = array(
'#type' => 'fieldset',
- '#title' => t('Trigger: ') . $label,
- '#theme' => 'trigger_display'
+ // !description is correct, since these labels are passed through t() in
+ // hook_trigger_info().
+ '#title' => t('Trigger: !description', array('!description' => $label)),
+ '#theme' => 'trigger_display',
);
// Retrieve actions that are already assigned to this hook combination.