From 58907e0bffb5a7d2d0bfc05cec28f366432bb3e8 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 22 Jun 2011 20:57:07 +0200 Subject: use php's gettext module Signed-off-by: Florian Pritz --- web/html/packages.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'web/html/packages.php') diff --git a/web/html/packages.php b/web/html/packages.php index 4a1fa881..26fe84be 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -11,9 +11,9 @@ check_sid(); # see if they're still logged in if (isset($_GET['ID']) && ($pkgname = pkgname_from_id($_GET['ID']))) { $title = $pkgname; } else if (!empty($_GET['K'])) { - $title = __("Search Criteria") . ": " . $_GET['K']; + $title = _("Search Criteria") . ": " . $_GET['K']; } else { - $title = __("Packages"); + $title = _("Packages"); } # Retrieve account type @@ -54,7 +54,7 @@ if (current_action("do_Flag")) { unset($_GET['ID']); } else { - $output = __("The selected packages have not been deleted, check the confirmation checkbox."); + $output = _("The selected packages have not been deleted, check the confirmation checkbox."); } } elseif (current_action("do_Notify")) { $output = pkg_notify($atype, $ids); @@ -77,7 +77,7 @@ html_header($title); if (isset($_GET['ID'])) { include('pkg_search_form.php'); if (!$_GET['ID'] = intval($_GET['ID'])) { - print __("Error trying to retrieve package details.")."
\n"; + print _("Error trying to retrieve package details.")."
\n"; } else { if (isset($_COOKIE["AURSID"])) { package_details($_GET['ID'], $_COOKIE["AURSID"]); -- cgit v1.2.3-24-g4f1b