Commit 58316319 authored by webchick's avatar webchick

#505942 by andypost and hass: Added label context to Trigger description's t() string.

parent ec732a63
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment