summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-18 19:57:27 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-18 19:57:27 +0000
commit83a739bd898094af5837d2b29863d8e988929e1b (patch)
tree957c07dd7b93fd1d074bb8609b22fe1e0c4f3992 /modules/profile/profile.module
parent0e36182c967685a55e02e48178f1d6cb64ad815e (diff)
downloadbrdo-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.module4
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>")));
}
}