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/path.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/path.module')
-rw-r--r-- | modules/path.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/path.module b/modules/path.module index b5699f21f..cee8385fb 100644 --- a/modules/path.module +++ b/modules/path.module @@ -290,15 +290,15 @@ function path_save($edit) { $pid = $edit['pid']; if (!valid_url($src)) { - form_set_error('src', t('The system path "%src" is invalid.', array('%src' => $src))); + form_set_error('src', t('The system path %path is invalid.', array('%path' => "<em>$src</em>"))); } if (!valid_url($dst)) { - form_set_error('dst', t('The alias "%dst" is invalid.', array('%dst' => $dst))); + form_set_error('dst', t('The alias %alias is invalid.', array('%alias' => "<em>$dst</em>"))); } if (db_result(db_query("SELECT COUNT(dst) FROM {url_alias} WHERE pid != %d AND dst = '%s'", $pid, $dst))) { - form_set_error('dst', t('The alias "%dst" is already in use.', array('%dst' => $dst))); + form_set_error('dst', t('The alias %alias is already in use.', array('%alias' => "<em>$dst</em>"))); } if (form_get_errors()) { |