summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-10-12 16:16:22 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-10-12 16:16:22 +0000
commita185443ed34db91d65b5278572c038a98508e4cb (patch)
tree7460191c46e54688cd707a61cad41a4cb04fa5e8 /modules/comment/comment.module
parent2c4a82bda243a006af96cb76be0c0500b4c3a47b (diff)
downloadbrdo-a185443ed34db91d65b5278572c038a98508e4cb.tar.gz
brdo-a185443ed34db91d65b5278572c038a98508e4cb.tar.bz2
#11503: consistency improvements by Stefan
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 89beff806..801e9ebfe 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -955,7 +955,7 @@ function comment_admin_edit($cid) {
$form .= form_textfield(t('Subject'), 'subject', $comment->subject, 70, 128);
$form .= form_textarea(t('Comment'), 'comment', $comment->comment, 70, 15, '');
$form .= filter_form('format', $comment->format);
- $form .= form_radios(t('Status'), 'status', $comment->status, array(t('published'), t('not published')));
+ $form .= form_radios(t('Status'), 'status', $comment->status, array(t('Published'), t('Not published')));
$form .= form_hidden('cid', $cid);
$form .= form_submit(t('Submit'));
print theme('page', form($form));
@@ -1030,7 +1030,7 @@ function comment_admin_overview($type = 'new') {
$rows[] = array(
l($comment->subject, "node/$comment->nid", array('title' => htmlspecialchars(truncate_utf8($comment->comment, 128))), NULL, "comment-$comment->cid") ." ". (node_is_new($comment->nid, $comment->timestamp) ? theme('mark') : ''),
format_name($comment),
- ($comment->status == 0 ? t('published') : t('not published')),
+ ($comment->status == 0 ? t('Published') : t('Not published')),
format_date($comment->timestamp, 'small'),
l(t('edit'), "admin/comment/edit/$comment->cid"),
l(t('delete'), "admin/comment/delete/$comment->cid")