MDL-21694 moving filters strings to correct plugin location

This commit is contained in:
Petr Skoda 2010-04-01 19:27:30 +00:00
parent 4d84db2725
commit a845d68b9f
9 changed files with 4 additions and 4 deletions

View file

@ -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);

View 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';
?>