X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FAutoSandbox%2FAutoSandboxPlugin.php;h=16683e1402589421d9cea0ff73c92f48c3c46b18;hb=bc0d7f14db27881e2dc8fad8b02ce4e2cfd19847;hp=ffd8bf455e29c0e51d179d816d5ee4c8d598ace1;hpb=53f14ddde6d3c48063c2419916f6961580bb66c3;p=quix0rs-gnu-social.git diff --git a/plugins/AutoSandbox/AutoSandboxPlugin.php b/plugins/AutoSandbox/AutoSandboxPlugin.php index ffd8bf455e..16683e1402 100644 --- a/plugins/AutoSandbox/AutoSandboxPlugin.php +++ b/plugins/AutoSandbox/AutoSandboxPlugin.php @@ -41,7 +41,7 @@ class AutoSandboxPlugin extends Plugin var $contact; var $debug; - function onInitializePlugin() + function onInitializePlugin() { if(!isset($this->debug)) { @@ -53,7 +53,7 @@ class AutoSandboxPlugin extends Plugin if (!empty($default)) { $this->contact = $default; } - } + } } function onPluginVersion(&$versions) @@ -69,16 +69,17 @@ class AutoSandboxPlugin extends Plugin function onStartRegistrationFormData($action) { - - $instr = 'Note you will initially be "sandboxed" so your posts will not appear in the public timeline.'; + $instr = _m('Note you will initially be "sandboxed" so your posts will not appear in the public timeline.'); if (isset($this->contact)) { $contactuser = User::staticGet('nickname', $this->contact); if (!empty($contactuser)) { $contactlink = "@uri\">$contactuser->nickname"; - $instr = $instr . " Send a message to $contactlink to speed up the unsandboxing process."; + // TRANS: $contactlink is a clickable e-mailaddress. + $instr = _m("Note you will initially be \"sandboxed\" so your posts will not appear in the public timeline. ". + 'Send a message to $contactlink to speed up the unsandboxing process.'); } - } + } $output = common_markup_to_html($instr); $action->elementStart('div', 'instructions');