X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdirectory.php;h=a02a4a4a572e8a688df4f8654766129f78a073e0;hb=44c47f118c20a22c1540c6c88823b48a357e5ca3;hp=825e2a375f7e59509f54507e0e3c5e552b2350a3;hpb=9838245c6c9b2e311650b53a1c3aa1ef778ef935;p=friendica.git diff --git a/mod/directory.php b/mod/directory.php index 825e2a375f..a02a4a4a57 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -35,7 +35,9 @@ function directory_content(&$a) { $o .= replace_macros($tpl, array( '$search' => $search, '$globaldir' => $globaldir, - '$finding' => (strlen($search) ? '

' . t('Finding: ') . "'" . $search . "'" . '

' : "") + '$finding' => (strlen($search) ? '

' . t('Finding: ') . "'" . $search . "'" . '

' : ""), + '$sitedir' => t('Site Directory'), + '$submit' => t('Find') )); if($search) @@ -86,10 +88,10 @@ function directory_content(&$a) { } if(strlen($rr['dob'])) { if(($years = age($rr['dob'],$rr['timezone'],'')) != 0) - $details .= "
Age: $years" ; + $details .= '
' . t('Age: ') . $years ; } if(strlen($rr['gender'])) - $details .= '
Gender: ' . $rr['gender']; + $details .= '
' . t('Gender: ') . $rr['gender']; $entry = replace_macros($tpl,array( '$id' => $rr['id'], @@ -115,7 +117,7 @@ function directory_content(&$a) { } else - notice("No entries (some entries may be hidden)."); + notice( t("No entries \x28some entries may be hidden\x29.") . EOL); return $o; } \ No newline at end of file