Fix for PoweredByStatusNetPlugin to be localizable (was broken for non-English word order)
(Note the .po files will have to be added manually for now as we haven't set TranslateWiki up for plugins I think)
This commit is contained in:
@@ -46,8 +46,9 @@ class PoweredByStatusNetPlugin extends Plugin
|
||||
function onEndAddressData($action)
|
||||
{
|
||||
$action->elementStart('span', 'poweredby');
|
||||
$action->text(_('powered by'));
|
||||
$action->element('a', array('href' => 'http://status.net/'), 'StatusNet');
|
||||
$action->raw(sprintf(_m('powered by %s'),
|
||||
sprintf('<a href="http://status.net/">%s</a>',
|
||||
_m('StatusNet'))));
|
||||
$action->elementEnd('span');
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user