Add translator hints.
This commit is contained in:
parent
26a9963dad
commit
f8e91ab33f
|
@ -75,6 +75,7 @@ class AutoSandboxPlugin extends Plugin
|
||||||
$contactuser = User::staticGet('nickname', $this->contact);
|
$contactuser = User::staticGet('nickname', $this->contact);
|
||||||
if (!empty($contactuser)) {
|
if (!empty($contactuser)) {
|
||||||
$contactlink = "@<a href=\"$contactuser->uri\">$contactuser->nickname</a>";
|
$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. ".
|
$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.');
|
'Send a message to $contactlink to speed up the unsandboxing process.');
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,6 +47,7 @@ class PoweredByStatusNetPlugin extends Plugin
|
||||||
{
|
{
|
||||||
$action->text(' ');
|
$action->text(' ');
|
||||||
$action->elementStart('span', 'poweredby');
|
$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'),
|
$action->raw(sprintf(_m('powered by %s'),
|
||||||
sprintf('<a href="http://status.net/">%s</a>',
|
sprintf('<a href="http://status.net/">%s</a>',
|
||||||
_m('StatusNet'))));
|
_m('StatusNet'))));
|
||||||
|
@ -62,7 +63,7 @@ class PoweredByStatusNetPlugin extends Plugin
|
||||||
'author' => 'Sarven Capadisli',
|
'author' => 'Sarven Capadisli',
|
||||||
'homepage' => 'http://status.net/wiki/Plugin:PoweredByStatusNet',
|
'homepage' => 'http://status.net/wiki/Plugin:PoweredByStatusNet',
|
||||||
'rawdescription' =>
|
'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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user