Ticket #976: user_search.diff

File user_search.diff, 1.8 KB (added by Christian Beer, 14 years ago)
  • user/user_search.php

     
    116116    row2(tra("Decreasing average credit"), "<input type=radio name=search_type value=\"rac\">");
    117117    row2(tra("Decreasing total credit"), "<input type=radio name=search_type value=\"total\">");
    118118    row1(tra("Filters"), 2, "heading");
    119     row2_init(tra("Country"), "<select name=country><option value=\"any\" selected>Any</option>");
     119    row2_init(tra("Country"), "<select name=country><option value=\"any\" selected>".tra("Any")."</option>");
    120120    print_country_select("asdf");
    121121    echo "</select></td></tr>";
    122122    row2(tra("With profile?"),
    123         "<input type=radio name=profile value=either checked=1> Either
    124         <input type=radio name=profile value=no> No
    125         <input type=radio name=profile value=yes> Yes
     123        "<input type=radio name=profile value=either checked=1> ".tra("Either")."
     124        <input type=radio name=profile value=no> ".tra("No")."
     125        <input type=radio name=profile value=yes> ".tra("Yes")."
    126126    ");
    127127    row2(tra("On a team?"),
    128         "<input type=radio name=team value=either checked=1> Either
    129         <input type=radio name=team value=no> No
    130         <input type=radio name=team value=yes> Yes
     128        "<input type=radio name=team value=either checked=1> ".tra("Either")."
     129        <input type=radio name=team value=no> ".tra("No")."
     130        <input type=radio name=team value=yes> ".tra("Yes")."
    131131    ");
    132132    row2("", "<input type=submit name=action value=".tra("Search").">");
    133133    end_table();
     
    183183        case 'name_prefix':
    184184            break;
    185185        default:
    186             error_page("missing search type");
     186            error_page(tra("missing search type"));
    187187        }
    188188
    189189        $filter = null;