diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-06-22 20:57:07 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-06-22 20:57:07 +0200 |
commit | 58907e0bffb5a7d2d0bfc05cec28f366432bb3e8 (patch) | |
tree | d0567e509e8769d2b1363af45c1b48cf18563715 /web/html/packages.php | |
parent | adbb59308024bfb6386eaa4a9d1a2eb6591b8456 (diff) | |
download | aur-58907e0bffb5a7d2d0bfc05cec28f366432bb3e8.tar.gz aur-58907e0bffb5a7d2d0bfc05cec28f366432bb3e8.tar.xz |
use php's gettext modulegettext
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'web/html/packages.php')
-rw-r--r-- | web/html/packages.php | 8 |
1 files changed, 4 insertions, 4 deletions
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.")."<br />\n"; + print _("Error trying to retrieve package details.")."<br />\n"; } else { if (isset($_COOKIE["AURSID"])) { package_details($_GET['ID'], $_COOKIE["AURSID"]); |