X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frepair_ostatus.php;h=b8f6fc52324dd67d7996fa5ec6c79963c361b9d6;hb=5af9596dde162b1b9819869e3d5129f571a1c503;hp=07721220a087150f14a42bedb3d60235381e4c4e;hpb=c0df692f5fc4eaadb322614069b2c7ed40453fa1;p=friendica.git diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php old mode 100755 new mode 100644 index 07721220a0..b8f6fc5232 --- a/mod/repair_ostatus.php +++ b/mod/repair_ostatus.php @@ -1,17 +1,21 @@ ".t("Resubscribing to OStatus contacts").""; + $o = "

".L10n::t("Resubscribing to OStatus contacts")."

"; $uid = local_user(); @@ -27,7 +31,7 @@ function repair_ostatus_content(App &$a) { intval(CONTACT_IS_SHARING)); if (!$r) - return($o.t("Error")); + return($o.L10n::t("Error")); $total = $r[0]["total"]; @@ -41,17 +45,17 @@ function repair_ostatus_content(App &$a) { intval(CONTACT_IS_SHARING), $counter++); if (!$r) { - $o .= t("Done"); + $o .= L10n::t("Done"); return $o; } $o .= "

".$counter."/".$total.": ".$r[0]["url"]."

"; - $o .= "

".t("Keep this window open until done.")."

"; + $o .= "

".L10n::t("Keep this window open until done.")."

"; - $result = new_contact($uid,$r[0]["url"],true); + $result = Contact::createFromProbe($uid, $r[0]["url"], true); - $a->page['htmlhead'] = ''; + $a->page['htmlhead'] = ''; return $o; }