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
Opened by speps (archspeps) - Saturday, 12 March 2011, 15:09 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 10 April 2011, 14:33 GMT
|
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.
Sunday, 10 April 2011, 14:33 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.8.2.
[1] http://projects.archlinux.org/aur.git/commit/?id=bd36412321980024718306291706a85d8abde06c