Commit 84ca3c5d authored by hass's avatar hass
Browse files

Changed wording of validation form error

parent 583220f5
...@@ -409,7 +409,7 @@ function realname_username_raw_token_validate(&$element, &$form_state) { ...@@ -409,7 +409,7 @@ function realname_username_raw_token_validate(&$element, &$form_state) {
$value = isset($element['#value']) ? $element['#value'] : $element['#default_value']; $value = isset($element['#value']) ? $element['#value'] : $element['#default_value'];
if (!strpos($value, '[user:name-raw]')) { if (!strpos($value, '[user:name-raw]')) {
form_error($element, t('The %element-title does not contain realname token <code>[user:name-raw]</code>.', array('%element-title' => $element['#title']))); form_error($element, t('The %element-title does not contain <code>[user:name-raw]</code> token.', array('%element-title' => $element['#title'])));
} }
return $element; return $element;
......
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