mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Add support for Taiwan Chinese
This commit is contained in:
parent
3e7542449b
commit
45930f2db5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue