]> git.mjollnir.org Git - moodle.git/commitdiff
Add support for Taiwan Chinese
authormoodler <moodler>
Thu, 27 Feb 2003 12:15:00 +0000 (12:15 +0000)
committermoodler <moodler>
Thu, 27 Feb 2003 12:15:00 +0000 (12:15 +0000)
admin/lang.php

index 0b3518d915fed47f4519c38281435149334d19c8..2a416d0bb7f659a60b4ccf5a509e50d7ea0dcf6b 100644 (file)
@@ -257,7 +257,7 @@ function lang_save_file($path, $file, $strings) {
 
     foreach ($strings as $key => $value) {
         list($id, $stringname) = explode("-",$key);
-        if ($CFG->lang != "zh_hk") {  // Some MB languages include backslash bytes
+        if ($CFG->lang != "zh_hk" and $CFG->lang != "zh_tw") {  // Some MB languages include backslash bytes
             $value = str_replace("\\","",$value);           // Delete all slashes
         }
         $value = str_replace("$"."a", "\\$"."a", $value);   // Add slashes for $a