Merge pull request #2590 from rabuzarus/1106_finding_string

unify heading of search results to "results for:"
This commit is contained in:
Michael Vogel 2016-06-11 11:53:20 +02:00 committed by GitHub
commit 5fc0f06786
2 changed files with 2 additions and 2 deletions

View File

@ -787,7 +787,7 @@ function contacts_content(&$a) {
'$total' => $total,
'$search' => $search_hdr,
'$desc' => t('Search your contacts'),
'$finding' => (($searching) ? t('Finding: ') . "'" . $search . "'" : ""),
'$finding' => (($searching) ? sprintf(t('Results for: %s'),$search) : ""),
'$submit' => t('Find'),
'$cmd' => $a->cmd,
'$contacts' => $contacts,

View File

@ -206,7 +206,7 @@ function directory_content(&$a) {
'$gdirpath' => $gdirpath,
'$desc' => t('Find on this site'),
'$contacts' => $entries,
'$finding' => t('Finding:'),
'$finding' => t('Results for:'),
'$findterm' => (strlen($search) ? $search : ""),
'$title' => t('Site Directory'),
'$submit' => t('Find'),