mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Add support for Taiwan Chinese
This commit is contained in:
parent
3e7542449b
commit
45930f2db5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user