diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-21 01:31:28 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-22 08:15:36 +0200 |
commit | dad42297c7fe5404b2b7c65cd350b7ea4a8ac865 (patch) | |
tree | b68dda05c3cf961b134a3860dd4a3b4b9ffbc51a /web | |
parent | fdddd76cbf1fa70962e6f2e674570b6b8283dd69 (diff) | |
download | aur-dad42297c7fe5404b2b7c65cd350b7ea4a8ac865.tar.gz aur-dad42297c7fe5404b2b7c65cd350b7ea4a8ac865.tar.xz |
Add missing __() to category info in package details
This makes the "Category" label as well as "Change category" button on
the package details page translatable. Fixes FS#25692.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web')
-rw-r--r-- | web/template/pkg_details.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index c03493d8..880a6758 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -10,7 +10,7 @@ if ($uid == $row["MaintainerUID"] or $edit_cat = "<form method='post' action='packages.php?ID=".$pkgid."'>\n"; $edit_cat.= "<p>"; $edit_cat.= "<input type='hidden' name='action' value='do_ChangeCategory' />"; - $edit_cat.= "<span class='f3'>Category:</span> "; + $edit_cat.= "<span class='f3'>" . __("Category") . ":</span> "; $edit_cat.= "<select name='category_id'>\n"; foreach ($catarr as $cid => $catname) { $edit_cat.= "<option value='$cid'"; @@ -19,13 +19,13 @@ if ($uid == $row["MaintainerUID"] or } $edit_cat.=">".$catname."</option>"; } - $edit_cat.= "</select> <input type='submit' value='Change category' />"; + $edit_cat.= "</select> <input type='submit' value='" . __("Change category") . "' />"; $edit_cat.= "</p>"; $edit_cat.= "</form>"; } else { - $edit_cat = "<span class='f3'>Category: " . $row['Category'] . "</span>"; + $edit_cat = "<span class='f3'>" . __("Category") . ": " . $row['Category'] . "</span>"; } if ($row["SubmitterUID"]) { |