mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-21694 moving filters strings to correct plugin location
This commit is contained in:
parent
4d84db2725
commit
a845d68b9f
9 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@ class censor_filter extends moodle_text_filter {
|
|||
if (empty($words)) {
|
||||
$words = array();
|
||||
if (empty($CFG->filter_censor_badwords)) {
|
||||
$badwords = explode(',',get_string('badwords','censor'));
|
||||
$badwords = explode(',',get_string('badwords', 'filter_censor'));
|
||||
}
|
||||
else {
|
||||
$badwords = explode(',', $CFG->filter_censor_badwords);
|
||||
|
|
8
filter/censor/lang/en_utf8/filter_censor.php
Normal file
8
filter/censor/lang/en_utf8/filter_censor.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?PHP // $Id$
|
||||
// censor.php - created with Moodle 1.7 beta + (2006101003)
|
||||
|
||||
|
||||
$string['badwords'] = 'shit,fucked,fucker,fuck,dickhead, dick,cockhead,cock,cunt,asshole,arsehole,prick,bitch, jism,whore,slut,wanker, wank,bastard,dildo,masturbate, orgasm,penis,nigger, pussy,vagina';
|
||||
$string['filtername'] = 'Word Censorship';
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue