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/atom/libraries/Gallery_Atom_Link.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/atom') diff --git a/modules/atom/libraries/Gallery_Atom_Link.php b/modules/atom/libraries/Gallery_Atom_Link.php index 07e3e891..def0d497 100644 --- a/modules/atom/libraries/Gallery_Atom_Link.php +++ b/modules/atom/libraries/Gallery_Atom_Link.php @@ -21,7 +21,7 @@ class Gallery_Atom_Link_Core extends Atom_Link { public function related_atom($relative_uri, $title="") { if (empty($title)) { - $title = _("Get related meta data"); + $title = t("Get related meta data"); } $this->rel("related") @@ -33,7 +33,7 @@ class Gallery_Atom_Link_Core extends Atom_Link { public function related_image($relative_uri, $title="", $image_type="jpeg") { if (empty($title)) { - $title = _("Get related image"); + $title = t("Get related image"); } $this->rel("related") -- cgit v1.2.3