From b59bc2f48ba7d91c6e165dbb0ec97455c661e11c Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 15 Jan 2011 00:31:26 +0100 Subject: [PATCH] Add translator comments. --- plugins/Disqus/DisqusPlugin.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/Disqus/DisqusPlugin.php b/plugins/Disqus/DisqusPlugin.php index 51be78362b..add089e77f 100644 --- a/plugins/Disqus/DisqusPlugin.php +++ b/plugins/Disqus/DisqusPlugin.php @@ -139,6 +139,7 @@ ENDOFSCRIPT; $action->elementStart('div', $attrs); $action->elementStart('noscript'); + // TRANS: User notification that JavaScript is required for Disqus comment display. $noScriptMsg = sprintf(_m("Please enable JavaScript to view the [comments powered by Disqus](http://disqus.com/?ref_noscript=%s)."), $this->shortname); $output = common_markup_to_html($noScriptMsg); $action->raw($output); @@ -146,6 +147,7 @@ ENDOFSCRIPT; $action->elementEnd('noscript'); $action->elementStart('a', array('href' => 'http://disqus.com', 'class' => 'dsq-brlink')); + // TRANS: This message is followed by a Disqus logo. Alt text is "Disqus". $action->raw(_m('Comments powered by ')); $action->element('span', array('class' => 'logo-disqus'), 'Disqus'); $action->elementEnd('a'); @@ -198,6 +200,7 @@ ENDOFSCRIPT; $noticeListItem->out->element( 'a', array('href' => $noticeUrl, 'class' => 'disqus_count'), + // TRANS: Plugin supplied feature for Disqus comments to notices. _m('Comments') ); } @@ -238,6 +241,7 @@ ENDOFSCRIPT; 'author' => 'Zach Copley', 'homepage' => 'http://status.net/wiki/Plugin:Disqus', 'rawdescription' => + // TRANS: Plugin description. _m('Use Disqus'. ' to add commenting to notice pages.')); return true; -- 2.39.5