Merge pull request #2590 from rabuzarus/1106_finding_string
unify heading of search results to "results for:"
This commit is contained in:
commit
5fc0f06786
|
@ -787,7 +787,7 @@ function contacts_content(&$a) {
|
||||||
'$total' => $total,
|
'$total' => $total,
|
||||||
'$search' => $search_hdr,
|
'$search' => $search_hdr,
|
||||||
'$desc' => t('Search your contacts'),
|
'$desc' => t('Search your contacts'),
|
||||||
'$finding' => (($searching) ? t('Finding: ') . "'" . $search . "'" : ""),
|
'$finding' => (($searching) ? sprintf(t('Results for: %s'),$search) : ""),
|
||||||
'$submit' => t('Find'),
|
'$submit' => t('Find'),
|
||||||
'$cmd' => $a->cmd,
|
'$cmd' => $a->cmd,
|
||||||
'$contacts' => $contacts,
|
'$contacts' => $contacts,
|
||||||
|
|
|
@ -206,7 +206,7 @@ function directory_content(&$a) {
|
||||||
'$gdirpath' => $gdirpath,
|
'$gdirpath' => $gdirpath,
|
||||||
'$desc' => t('Find on this site'),
|
'$desc' => t('Find on this site'),
|
||||||
'$contacts' => $entries,
|
'$contacts' => $entries,
|
||||||
'$finding' => t('Finding:'),
|
'$finding' => t('Results for:'),
|
||||||
'$findterm' => (strlen($search) ? $search : ""),
|
'$findterm' => (strlen($search) ? $search : ""),
|
||||||
'$title' => t('Site Directory'),
|
'$title' => t('Site Directory'),
|
||||||
'$submit' => t('Find'),
|
'$submit' => t('Find'),
|
||||||
|
|
Loading…
Reference in a new issue