summaryrefslogtreecommitdiff
path: root/plugins/AutoSandbox/AutoSandboxPlugin.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-14 21:45:13 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-14 21:45:13 +0200
commit987651c8a43571ac2db9abd4c8f554e881f0b1fc (patch)
treefe9b404314ee54221e737d5f36fdaf44ba673a68 /plugins/AutoSandbox/AutoSandboxPlugin.php
parent04b7af4620d6d3310676ce1f89365fd5c5ef8caf (diff)
* i18n/L10n updates
* superfluous whitespace removed
Diffstat (limited to 'plugins/AutoSandbox/AutoSandboxPlugin.php')
-rw-r--r--plugins/AutoSandbox/AutoSandboxPlugin.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/AutoSandbox/AutoSandboxPlugin.php b/plugins/AutoSandbox/AutoSandboxPlugin.php
index ffd8bf455..870eda86f 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,16 @@ 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 = "@<a href=\"$contactuser->uri\">$contactuser->nickname</a>";
- $instr = $instr . " Send a message to $contactlink to speed up the unsandboxing process.";
+ $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');