diff options
Diffstat (limited to 'plugins/AutoSandbox')
-rw-r--r-- | plugins/AutoSandbox/AutoSandboxPlugin.php | 13 | ||||
-rw-r--r-- | plugins/AutoSandbox/locale/AutoSandbox.pot | 16 |
2 files changed, 22 insertions, 7 deletions
diff --git a/plugins/AutoSandbox/AutoSandboxPlugin.php b/plugins/AutoSandbox/AutoSandboxPlugin.php index ffd8bf455..16683e140 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 = "@<a href=\"$contactuser->uri\">$contactuser->nickname</a>"; - $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'); diff --git a/plugins/AutoSandbox/locale/AutoSandbox.pot b/plugins/AutoSandbox/locale/AutoSandbox.pot index b01f9dc89..8b89da361 100644 --- a/plugins/AutoSandbox/locale/AutoSandbox.pot +++ b/plugins/AutoSandbox/locale/AutoSandbox.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-29 23:39+0000\n" +"POT-Creation-Date: 2010-09-22 22:34+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -19,3 +19,17 @@ msgstr "" #: AutoSandboxPlugin.php:66 msgid "Automatically sandboxes newly registered members." msgstr "" + +#: AutoSandboxPlugin.php:72 +msgid "" +"Note you will initially be \"sandboxed\" so your posts will not appear in " +"the public timeline." +msgstr "" + +#. TRANS: $contactlink is a clickable e-mailaddress. +#: AutoSandboxPlugin.php:79 +msgid "" +"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." +msgstr "" |