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/block.module | |
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/block.module')
-rw-r--r-- | modules/block.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/block.module b/modules/block.module index 564f4225b..2979a4b20 100644 --- a/modules/block.module +++ b/modules/block.module @@ -244,11 +244,11 @@ function block_box_save($edit) { if ($edit['bid']) { db_query("UPDATE {boxes} SET title = '%s', body = '%s', info = '%s', format = %d WHERE bid = %d", $edit['title'], $edit['body'], $edit['info'], $edit['format'], $edit['bid']); - return t('the block has been updated.'); + return t('The block has been updated.'); } else { db_query("INSERT INTO {boxes} (title, body, info, format) VALUES ('%s', '%s', '%s', %d)", $edit['title'], $edit['body'], $edit['info'], $edit['format']); - return t('the new block has been added.'); + return t('The new block has been added.'); } } @@ -258,7 +258,7 @@ function block_box_save($edit) { function block_box_delete($bid = 0) { if ($bid) { db_query('DELETE FROM {boxes} WHERE bid = %d', $bid); - drupal_set_message(t('the block has been deleted.')); + drupal_set_message(t('The block has been deleted.')); cache_clear_all(); } print theme('page', block_admin_display()); |