瀏覽代碼

Fix quote inside rollback_module, as it breaks scripts inside module and its useless as module are txt and not xml

victor.hery 7 月之前
父節點
當前提交
71b1fdb7ca
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0
    2
      rollback_module.sh

+ 0
- 2
rollback_module.sh 查看文件

@@ -43,9 +43,7 @@ function extract_translation {
43 43
     msgid="$(awk 'NR{printf "%s",$0;next;}1' <<< ${tempMsgid})"
44 44
 
45 45
     # Escape special char causing problem in with sed and xml
46
-    msgstr=${msgstr//'\"'/"&quot;"}
47 46
     msgstr=${msgstr//'&'/'\&'}
48
-    msgid=${msgid//'\"'/"&quot;"}
49 47
     msgid=${msgid//'&'/'\&'}
50 48
 
51 49
     if [[ "${msgstr}" == "" ]]; then

Loading…
取消
儲存