From 987651c8a43571ac2db9abd4c8f554e881f0b1fc Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 14 Sep 2010 21:45:13 +0200 Subject: * i18n/L10n updates * superfluous whitespace removed --- plugins/AutoSandbox/AutoSandboxPlugin.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/AutoSandbox') 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 = "@uri\">$contactuser->nickname"; - $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'); -- cgit v1.2.3-54-g00ecf