From a631fe29f3950f8db1f7fb4ce1f47261a9b0feff Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Thu, 8 Jan 2009 17:13:06 +0000 Subject: i18n refactoring: Rename all _() (reserved by gettext) calls to t(). - And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key. --- modules/comment/views/admin_comments.html.php | 31 ++++++++++++++++----------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'modules/comment/views/admin_comments.html.php') diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index b1f0aa97..b9f5148b 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -16,7 +16,7 @@
-

+

@@ -33,18 +33,22 @@

- + "Gallery has caught {{count}} spam for you since you installed spam filtering.", + "other" => "Gallery has caught {{count}} spam for you since you installed spam filtering."), + array("count" => $spam_caught)) ?>

count()): ?> - count()) ?> + "There is currently one comment in your spam queue. You can delete it with a single click, but there is no undo operation so you may want to check the message first to make sure that it really is spam.", + "other" => "There are currently {{count}} comments in your spam queue. You can delete them all with a single click, but there is no undo operation so you may want to check the messages first to make sure that they really are spam."), + array("count" => $spam->count())) ?>

- + - +

@@ -58,13 +62,13 @@ @@ -89,7 +93,8 @@ thumb_width, $item->thumb_height, 75) ?> /> - %s"), $item->url(), $item->title) ?> + sprintf("%s", $item->url(), $item->title))) ?>
- + - + - +
@@ -100,7 +105,7 @@ state != "unpublished"): ?>
  • - +
  • @@ -108,7 +113,7 @@ state != "published"): ?>
  • - +
  • @@ -116,14 +121,14 @@ state != "spam"): ?>
  • - +
  • - +
  • -- cgit v1.2.3