--- maxlength.module Sat Jun 06 19:53:32 2009
+++ maxlength.module Sat Sep 26 20:51:00 2009
@@ -113,7 +113,7 @@
$form['submission'][MAXLENGTH_NODE_TYPE . $label][MAXLENGTH_NODE_TYPE . $label .'_text'] = array(
'#type' => 'textarea',
'#title' => t('!label count down message', array('!label' => ucwords($label))),
- '#default_value' => variable_get(MAXLENGTH_NODE_TYPE . $label .'_text_'. $type, 'Content limited to !limit characters, remaining: !remaining'),
+ '#default_value' => variable_get(MAXLENGTH_NODE_TYPE . $label .'_text_'. $type, t('Content limited to !limit characters, remaining: !remaining')),
'#description' => t('The text used in the Javascript message under the !type input, where "!limit" and "!remaining" are replaced by the appropriate numbers.', array('!type' => $label)),
);
}
@@ -136,7 +136,7 @@
$new_fields[MAXLENGTH_NODE_TYPE . $form['field_name']['#value'] .'_text'] = array(
'#type' => 'textarea',
'#title' => t('Count down message'),
- '#default_value' => variable_get(MAXLENGTH_NODE_TYPE . $form['field_name']['#value'] .'_text', 'Content limited to !limit characters, remaining: !remaining'),
+ '#default_value' => variable_get(MAXLENGTH_NODE_TYPE . $form['field_name']['#value'] .'_text', t('Content limited to !limit characters, remaining: !remaining')),
'#description' => t('The text used in the Javascript message under the input, where "!limit" and "!remaining" are replaced by the appropriate numbers.'),
);
}