Pārlūkot izejas kodu

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

Maurice Doison 2 gadi atpakaļ
vecāks
revīzija
a118034a28
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
 		}