Add FIXME for bad message implementation.

This commit is contained in:
Siebrand Mazeland 2010-09-20 20:00:33 +02:00
parent 9679467201
commit b4887a0756

View File

@ -68,7 +68,6 @@ if (!defined('STATUSNET')) {
* *
* @see Event * @see Event
*/ */
class DisqusPlugin extends Plugin class DisqusPlugin extends Plugin
{ {
function onEndShowContentBlock($action) function onEndShowContentBlock($action)
@ -106,6 +105,7 @@ ENDOFSCRIPT;
$action->elementStart('div', $attrs); $action->elementStart('div', $attrs);
$action->elementStart('noscript'); $action->elementStart('noscript');
// @todo FIXME: No i18n yet, because of bad implementation. Should be one string.
$action->raw('Please enable JavaScript to view the '); $action->raw('Please enable JavaScript to view the ');
$noscriptUrl = 'http://disqus.com/?ref_noscript=' . $this->shortname; $noscriptUrl = 'http://disqus.com/?ref_noscript=' . $this->shortname;
$action->element('a', array('href' => $noscriptUrl), 'comments powered by Disqus.'); $action->element('a', array('href' => $noscriptUrl), 'comments powered by Disqus.');