summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/helpers/comment_block.php4
-rw-r--r--modules/comment/helpers/comment_rss.php2
-rw-r--r--modules/comment/views/admin_comments.html.php12
3 files changed, 9 insertions, 9 deletions
diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php
index c00c6c51..7cd5d429 100644
--- a/modules/comment/helpers/comment_block.php
+++ b/modules/comment/helpers/comment_block.php
@@ -19,7 +19,7 @@
*/
class comment_block_Core {
static function get_admin_list() {
- return array("recent_comments" => t("Recent Comments"));
+ return array("recent_comments" => t("Recent comments"));
}
static function get($block_id) {
@@ -27,7 +27,7 @@ class comment_block_Core {
switch ($block_id) {
case "recent_comments":
$block->css_id = "g-recent-comments";
- $block->title = t("Recent Comments");
+ $block->title = t("Recent comments");
$block->content = new View("admin_block_recent_comments.html");
$block->content->comments =
ORM::factory("comment")->orderby("created", "DESC")->limit(5)->find_all();
diff --git a/modules/comment/helpers/comment_rss.php b/modules/comment/helpers/comment_rss.php
index 4424981d..3692a30d 100644
--- a/modules/comment/helpers/comment_rss.php
+++ b/modules/comment/helpers/comment_rss.php
@@ -61,7 +61,7 @@ class comment_rss_Core {
$feed->max_pages = ceil($comments->count_all() / $limit);
$feed->title = htmlspecialchars(t("Recent Comments"));
$feed->uri = url::abs_site("albums/" . (empty($id) ? "1" : $id));
- $feed->description = t("Recent Comments");
+ $feed->description = t("Recent comments");
return $feed;
}
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php
index 82e071a8..f0f5ab1c 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_comments.html.php
@@ -35,7 +35,7 @@
</script>
<div id="g-admin-comments" class="g-block">
- <h1> <?= t("Manage Comments") ?> </h1>
+ <h1> <?= t("Manage comments") ?> </h1>
<div class="g-block-content">
<!-- @todo: Highlight active menu option -->
@@ -46,13 +46,13 @@
<!-- @todo: Remove after setting active option? -->
<h2>
<? if ($state == "published"): ?>
- <?= t("Approved Comments") ?>
+ <?= t("Approved comments") ?>
<? elseif ($state == "unpublished"): ?>
- <?= t("Comments Awaiting Moderation") ?>
+ <?= t("Comments awaiting moderation") ?>
<? elseif ($state == "spam"): ?>
- <?= t("Spam Comments") ?>
+ <?= t("Spam comments") ?>
<? elseif ($state == "deleted"): ?>
- <?= t("Recently Deleted Comments") ?>
+ <?= t("Recently deleted comments") ?>
<? endif ?>
</h2>
@@ -196,6 +196,6 @@
<div class="g-pager">
<?= $pager ?>
</div>
-
+
</div>
</div>