modified: nsfw.phpw

gen   lang/C/messages.po
pull/547/head
Andy Hee 2018-03-15 17:57:11 +07:00
parent f0b5acc702
commit bcb5101677
2 changed files with 17 additions and 19 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n" "POT-Creation-Date: 2018-03-15 17:54+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,41 +17,39 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: nsfw.php:78 #: nsfw.php:77 nsfw.php:81
msgid "Not Safe For Work (General Purpose Content Filter) settings" msgid "Content Filter (NSFW and more)"
msgstr "" msgstr ""
#: nsfw.php:80 #: nsfw.php:85
msgid "" msgid ""
"This addon looks in posts for the words/text you specify below, and " "This addon searches for specified words/text in posts and collapses them. It "
"collapses any content containing those keywords so it is not displayed at " "can be used to filter content tagged with for instance #NSFW that may be "
"inappropriate times, such as sexual innuendo that may be improper in a work " "deemed inappropriate at certain times or places, such as being at work. It "
"setting. It is polite and recommended to tag any content containing nudity " "is also useful for hiding irrelevant or annoying content from direct view."
"with #NSFW. This filter can also match any other word/text you specify, and "
"can thereby be used as a general purpose content filter."
msgstr "" msgstr ""
#: nsfw.php:81 #: nsfw.php:86
msgid "Enable Content filter" msgid "Enable Content filter"
msgstr "" msgstr ""
#: nsfw.php:84 #: nsfw.php:89
msgid "Comma separated list of keywords to hide" msgid "Comma separated list of keywords to hide"
msgstr "" msgstr ""
#: nsfw.php:88 #: nsfw.php:93
msgid "Submit" msgid "Save Settings"
msgstr "" msgstr ""
#: nsfw.php:89 #: nsfw.php:94
msgid "Use /expression/ to provide regular expressions" msgid "Use /expression/ to provide regular expressions"
msgstr "" msgstr ""
#: nsfw.php:105 #: nsfw.php:109
msgid "NSFW Settings saved." msgid "NSFW Settings saved."
msgstr "" msgstr ""
#: nsfw.php:157 #: nsfw.php:167
#, php-format #, php-format
msgid "%s - Click to open/close" msgid "%s - Click to open/close"
msgstr "" msgstr ""

View File

@ -74,11 +74,11 @@ function nsfw_addon_settings(&$a, &$s)
} }
$s .= '<span id="settings_nsfw_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">'; $s .= '<span id="settings_nsfw_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">';
$s .= '<h3>' . L10n::t('Content Filter (NSFW tag and more)') . '</h3>'; $s .= '<h3>' . L10n::t('Content Filter (NSFW and more)') . '</h3>';
$s .= '</span>'; $s .= '</span>';
$s .= '<div id="settings_nsfw_expanded" class="settings-block" style="display: none;">'; $s .= '<div id="settings_nsfw_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">'; $s .= '<span class="fakelink" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">';
$s .= '<h3>' . L10n::t('Content Filter (NSFW tag and more)') . '</h3>'; $s .= '<h3>' . L10n::t('Content Filter (NSFW and more)') . '</h3>';
$s .= '</span>'; $s .= '</span>';
$s .= '<div id="nsfw-wrapper">'; $s .= '<div id="nsfw-wrapper">';