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.
This commit is contained in:
Andy Staudacher
2009-01-08 17:13:06 +00:00
parent fd081159f1
commit a631fe29f3
70 changed files with 479 additions and 414 deletions

View File

@@ -9,8 +9,8 @@
<? //endif ?>
<p class="gAuthor">
<a href="#"><img src="<?= $avatar ?>" class="gAvatar" alt="<?= $comment->author ?>" /></a>
<?= _("on ") . date("Y-M-d H:i:s", $comment->created) ?>
<a href="#"><?= $comment->author ?></a> <?= _("said") ?>
<?= t("on ") . date("Y-M-d H:i:s", $comment->created) ?>
<a href="#"><?= $comment->author ?></a> <?= t("said") ?>
</p>
<div>
<?= $comment->text ?>