]> git.mxchange.org Git - friendica.git/blobdiff - mod/directory.php
"profile locator/address" is now called "Identity Address" to reduce confusion
[friendica.git] / mod / directory.php
index 825e2a375f7e59509f54507e0e3c5e552b2350a3..a02a4a4a572e8a688df4f8654766129f78a073e0 100644 (file)
@@ -35,7 +35,9 @@ function directory_content(&$a) {
        $o .= replace_macros($tpl, array(
                '$search' => $search,
                '$globaldir' => $globaldir,
-               '$finding' => (strlen($search) ? '<h4>' . t('Finding: ') . "'" . $search . "'" . '</h4>' : "")
+               '$finding' => (strlen($search) ? '<h4>' . t('Finding: ') . "'" . $search . "'" . '</h4>' : ""),
+               '$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 .= "<br />Age: $years" ; 
+                                       $details .= '<br />' . t('Age: ') . $years ; 
                        }
                        if(strlen($rr['gender']))
-                               $details .= '<br />Gender: ' . $rr['gender'];
+                               $details .= '<br />' . 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