瀏覽代碼

Make texts able to compare to trimmed old files for localisation (#1119)

Maurice Doison 2 年之前
父節點
當前提交
a118034a28
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/res/DynamicText.hx

+ 1 - 1
hxd/res/DynamicText.hx

@@ -96,7 +96,7 @@ class DynamicText {
 			onMissing(path,"is no longer used");
 			return null;
 		}
-		if( ref != null && ref.innerHTML != strOld ) {
+		if( ref != null && ref.innerHTML != StringTools.trim(strOld) ) {
 			onMissing(path,"ignored since has changed");
 			return null;
 		}