From f8e91ab33f414e0c0ffbb4d6f312909d196413ce Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 18 Sep 2010 12:05:27 +0200 Subject: [PATCH] Add translator hints. --- plugins/AutoSandbox/AutoSandboxPlugin.php | 1 + plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/AutoSandbox/AutoSandboxPlugin.php b/plugins/AutoSandbox/AutoSandboxPlugin.php index 870eda86f2..16683e1402 100644 --- a/plugins/AutoSandbox/AutoSandboxPlugin.php +++ b/plugins/AutoSandbox/AutoSandboxPlugin.php @@ -75,6 +75,7 @@ class AutoSandboxPlugin extends Plugin $contactuser = User::staticGet('nickname', $this->contact); if (!empty($contactuser)) { $contactlink = "@uri\">$contactuser->nickname"; + // 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.'); } diff --git a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php index fb4eff7389..f2e2fcbafe 100644 --- a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php +++ b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php @@ -47,6 +47,7 @@ class PoweredByStatusNetPlugin extends Plugin { $action->text(' '); $action->elementStart('span', 'poweredby'); + // TRANS: %s is a URL to status.net with "StatusNet" (localised) as link text. $action->raw(sprintf(_m('powered by %s'), sprintf('%s', _m('StatusNet')))); @@ -62,7 +63,7 @@ class PoweredByStatusNetPlugin extends Plugin 'author' => 'Sarven Capadisli', 'homepage' => 'http://status.net/wiki/Plugin:PoweredByStatusNet', 'rawdescription' => - _m('Outputs powered by StatusNet after site name.')); + _m('Outputs "powered by StatusNet" after site name.')); return true; } }