forked from GNUsocial/gnu-social
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);
|
||||
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.');
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user