AUR web interface

Tasklist

FS#23252 - [AUR 1.8.1] Cannot search for orphaned packages when using $LANG != 'en'

Attached to Project: AUR web interface
Opened by speps (archspeps) - Saturday, 12 March 2011, 15:09 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 10 April 2011, 14:33 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version 1.8.0
Due in Version 1.8.2
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

As topic, "orphans" advanced search does not list orphaned
packages, when using language different from english.

In file lib/pkgfuncs.inc at row 490

if (isset($_GET["do_Orphans"]) && $_GET["do_Orphans"] == 'Orphans') {

should be

if (isset($_GET["do_Orphans"]) && $_GET["do_Orphans"] == __("Orphans")) {

or it will ever compare the translated orphan button name with the word 'Orphans'.


cheers
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Sunday, 10 April 2011, 14:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 1.8.2.

Loading...