Missed t()
authorAdam Magness <adam.magness@gmail.com>
Mon, 22 Jan 2018 19:30:13 +0000 (14:30 -0500)
committerAdam Magness <adam.magness@gmail.com>
Mon, 22 Jan 2018 23:09:05 +0000 (18:09 -0500)
missed t() call

nsfw/nsfw.php

index 8eedca8d451b2cd7663333c331d176275d3168df..f0fc017724b50fd7a9b15f78507e1f069a8e960f 100644 (file)
@@ -84,7 +84,7 @@ function nsfw_addon_settings(&$a,&$s) {
     $s .= '</span>';
 
     $s .= '<div id="nsfw-wrapper">';
-    $s .= '<p>' . ('This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW.  This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter.') . '</p>';
+    $s .= '<p>' . L10n::t('This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW.  This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter.') . '</p>';
     $s .= '<label id="nsfw-enable-label" for="nsfw-enable">' . L10n::t('Enable Content filter') . ' </label>';
     $s .= '<input id="nsfw-enable" type="checkbox" name="nsfw-enable" value="1"' . $enable_checked . ' />';
        $s .= '<div class="clear"></div>';