diff --git a/admin/lang.php b/admin/lang.php
index 218783660b4..bdeba67abdc 100644
--- a/admin/lang.php
+++ b/admin/lang.php
@@ -252,12 +252,12 @@
$cols=50;
if (strstr($value, "\r") or strstr($value, "\n") or $valuelen > $cols) {
$rows = ceil($valuelen / $cols);
- echo ''."\n";
+ echo ''."\n";
} else {
if ($valuelen) {
$cols = $valuelen + 2;
}
- echo '';
+ echo '';
}
echo '';
@@ -305,7 +305,7 @@ function lang_save_file($path, $file, $strings) {
ksort($strings);
foreach ($strings as $key => $value) {
- list($id, $stringname) = explode("-",$key);
+ list($id, $stringname) = explode('XXX',$key);
if ($CFG->lang != "zh_hk" and $CFG->lang != "zh_tw") { // Some MB languages include backslash bytes
$value = str_replace("\\","",$value); // Delete all slashes
}