diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-18 19:57:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-18 19:57:27 +0000 |
commit | 83a739bd898094af5837d2b29863d8e988929e1b (patch) | |
tree | 957c07dd7b93fd1d074bb8609b22fe1e0c4f3992 /modules/profile/profile.module | |
parent | 0e36182c967685a55e02e48178f1d6cb64ad815e (diff) | |
download | brdo-83a739bd898094af5837d2b29863d8e988929e1b.tar.gz brdo-83a739bd898094af5837d2b29863d8e988929e1b.tar.bz2 |
- Code improvements by Stefan: made all status messages consistent (and easier to translate).
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r-- | modules/profile/profile.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 802daca6c..73f5ef8a2 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -327,12 +327,12 @@ function profile_validate_profile($edit, $category) { if ($edit[$field->name]) { if ($field->type == 'url') { if (!valid_url($edit[$field->name], true)) { - form_set_error($field->name, t('The value provided for "%field" is not a valid URL.', array('%field' => $field->title))); + form_set_error($field->name, t('The value provided for %field is not a valid URL.', array('%field' => "<em>$field->title</em>"))); } } } else if ($field->required && !user_access('administer users')) { - form_set_error($field->name, t('The field "%field" is required.', array('%field' => $field->title))); + form_set_error($field->name, t('The field %field is required.', array('%field' => "<em>$field->title</em>"))); } } |