diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-22 15:04:53 -0800 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-25 13:15:54 +0100 |
commit | a5836d33e4fcd0c51a6cb6d67863f109f454ccb0 (patch) | |
tree | af948227f16563e70e9ef38ed8dcb538bc924ef4 /plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php | |
parent | 4f213f985f292bab3d54671325954cae34c23fd3 (diff) |
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)
Diffstat (limited to 'plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php')
-rw-r--r-- | plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php index c59fcca89..14d1608d3 100644 --- a/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php +++ b/plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php @@ -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; |