diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-16 18:02:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-16 18:02:48 +0000 |
commit | 2f33b939c5dc73364a0e2073ea9410516d66242f (patch) | |
tree | 665361c02a1d68d05b55755a00da368417a0dc99 /modules/path | |
parent | 4545f798a9876716fb9ef56190d879bf62c49fdf (diff) | |
download | brdo-2f33b939c5dc73364a0e2073ea9410516d66242f.tar.gz brdo-2f33b939c5dc73364a0e2073ea9410516d66242f.tar.bz2 |
- Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
Diffstat (limited to 'modules/path')
-rw-r--r-- | modules/path/path.module | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index 4ce7b0514..b5699f21f 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -113,7 +113,7 @@ function path_admin_edit($pid = 0) { */ function path_admin_delete($pid = 0) { db_query('DELETE FROM {url_alias} WHERE pid = %d', $pid); - drupal_set_message(t('the alias has been deleted.')); + drupal_set_message(t('The alias has been deleted.')); drupal_goto('admin/path'); } @@ -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 "%src" is invalid.', array('%src' => $src))); } if (!valid_url($dst)) { - form_set_error('dst', t('the alias "%dst" is invalid.', array('%dst' => $dst))); + form_set_error('dst', t('The alias "%dst" is invalid.', array('%dst' => $dst))); } 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 "%dst" is already in use.', array('%dst' => $dst))); } if (form_get_errors()) { @@ -307,7 +307,7 @@ function path_save($edit) { else { path_set_alias($src, $dst, $pid); - drupal_set_message(t('the alias has been saved.')); + drupal_set_message(t('The alias has been saved.')); drupal_goto('admin/path'); } } |