MDL-21694 moving filters strings to correct plugin location
authorPetr Skoda <skodak@moodle.org>
Thu, 1 Apr 2010 19:27:30 +0000 (19:27 +0000)
committerPetr Skoda <skodak@moodle.org>
Thu, 1 Apr 2010 19:27:30 +0000 (19:27 +0000)
filter/activitynames/lang/en_utf8/filter_activitynames.php [moved from lang/en_utf8/activitynames.php with 100% similarity]
filter/algebra/lang/en_utf8/filter_algebra.php [moved from lang/en_utf8/algebra.php with 100% similarity]
filter/censor/filter.php
filter/censor/lang/en_utf8/filter_censor.php [moved from lang/en_utf8/censor.php with 100% similarity]
filter/emailprotect/lang/en_utf8/filter_emailprotect.php [moved from lang/en_utf8/emailprotect.php with 100% similarity]
filter/mediaplugin/filter.php
filter/mediaplugin/lang/en_utf8/filter_mediaplugin.php [moved from lang/en_utf8/mediaplugin.php with 100% similarity]
filter/multilang/lang/en_utf8/filter_multilang.php [moved from lang/en_utf8/multilang.php with 100% similarity]
filter/tex/lang/en_utf8/filter_tex.php [moved from lang/en_utf8/tex.php with 100% similarity]

index 72b8c2e..8466e57 100644 (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);
index de0af5b..6b7ed16 100644 (file)
@@ -150,7 +150,7 @@ function mediaplugin_filter_mp3_callback($link) {
 
     $jsoutput = create_ufo_inline($id, $args);
 
-    $output = $link[0].'<span class="mediaplugin mediaplugin_mp3" id="'.$id.'">('.get_string('mp3audio', 'mediaplugin').')</span>'.$jsoutput;
+    $output = $link[0].'<span class="mediaplugin mediaplugin_mp3" id="'.$id.'">('.get_string('mp3audio', 'filter_mediaplugin').')</span>'.$jsoutput;
 
     return $output;
 }
@@ -176,7 +176,7 @@ function mediaplugin_filter_swf_callback($link) {
 
     $jsoutput = create_ufo_inline($id, $args);
     
-    $output = $link[0].'<span class="mediaplugin mediaplugin_swf" id="'.$id.'">('.get_string('flashanimation', 'mediaplugin').')</span>'.$jsoutput;
+    $output = $link[0].'<span class="mediaplugin mediaplugin_swf" id="'.$id.'">('.get_string('flashanimation', 'filter_mediaplugin').')</span>'.$jsoutput;
 
     return $output;
 }
@@ -203,7 +203,7 @@ function mediaplugin_filter_flv_callback($link) {
     $args['allowfullscreen'] = 'true';
     $jsoutput = create_ufo_inline($id, $args);
 
-    $output = $link[0].'<span class="mediaplugin mediaplugin_flv" id="'.$id.'">('.get_string('flashvideo', 'mediaplugin').')</span>'.$jsoutput;
+    $output = $link[0].'<span class="mediaplugin mediaplugin_flv" id="'.$id.'">('.get_string('flashvideo', 'filter_mediaplugin').')</span>'.$jsoutput;
 
     return $output;
 }