From cbf6349e6bd6179bea8200ddc2a4ac38ac37125c Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Thu, 19 Aug 2010 23:27:54 -0400 Subject: pkg_search_form: Properly call translation function to translate strings. Signed-off-by: Loui Chang --- web/template/pkg_search_form.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'web/template/pkg_search_form.php') diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 9a82713..c616c7b 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -39,13 +39,13 @@ 'Name', 'c' => 'Category', 'l' => 'Location', 'v' => 'Votes', 'w' => 'Voted', 'o' => 'Notify', 'm' => 'Maintainer', 'a' => 'Age'); + $sortby = array('n' => __('Name'), 'c' => __('Category'), 'l' => __('Location'), 'v' => __('Votes'), 'w' => __('Voted'), 'o' => __('Notify'), 'm' => __('Maintainer'), 'a' => __('Age')); foreach ($sortby as $k => $v): if ($_REQUEST['SB'] == $k): ?> - + - +