diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-10-12 16:16:22 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-10-12 16:16:22 +0000 |
commit | a185443ed34db91d65b5278572c038a98508e4cb (patch) | |
tree | 7460191c46e54688cd707a61cad41a4cb04fa5e8 /modules | |
parent | 2c4a82bda243a006af96cb76be0c0500b4c3a47b (diff) | |
download | brdo-a185443ed34db91d65b5278572c038a98508e4cb.tar.gz brdo-a185443ed34db91d65b5278572c038a98508e4cb.tar.bz2 |
#11503: consistency improvements by Stefan
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment.module | 4 | ||||
-rw-r--r-- | modules/comment/comment.module | 4 | ||||
-rw-r--r-- | modules/user.module | 2 | ||||
-rw-r--r-- | modules/user/user.module | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/modules/comment.module b/modules/comment.module index 89beff806..801e9ebfe 100644 --- a/modules/comment.module +++ b/modules/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") 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") diff --git a/modules/user.module b/modules/user.module index 952659c00..ff63e7b09 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1393,7 +1393,7 @@ function user_admin_perm($edit = array()) { } // Render role/permission overview: - $header = array_merge(array(t('permission')), $role_names); + $header = array_merge(array(t('Permission')), $role_names); foreach (module_list() as $module) { if ($perms = module_invoke($module, 'perm')) { diff --git a/modules/user/user.module b/modules/user/user.module index 952659c00..ff63e7b09 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1393,7 +1393,7 @@ function user_admin_perm($edit = array()) { } // Render role/permission overview: - $header = array_merge(array(t('permission')), $role_names); + $header = array_merge(array(t('Permission')), $role_names); foreach (module_list() as $module) { if ($perms = module_invoke($module, 'perm')) { |