Add translator hints.

This commit is contained in:
Siebrand Mazeland 2010-09-18 12:05:27 +02:00
parent 26a9963dad
commit f8e91ab33f
2 changed files with 3 additions and 1 deletions

View File

@ -75,6 +75,7 @@ class AutoSandboxPlugin extends Plugin
$contactuser = User::staticGet('nickname', $this->contact);
if (!empty($contactuser)) {
$contactlink = "@<a href=\"$contactuser->uri\">$contactuser->nickname</a>";
// 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.');
}

View File

@ -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('<a href="http://status.net/">%s</a>',
_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 <a href="http://status.net/">StatusNet</a> after site name.'));
_m('Outputs "powered by <a href="http://status.net/">StatusNet</a>" after site name.'));
return true;
}
}