unify heading of search results to "results for:"

This commit is contained in:
rabuzarus 2016-06-11 10:44:52 +02:00
parent 710822dca7
commit ca269b6329
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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'),