Преглед изворни кода

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;
 		}