Revert revisions 11742, 11783 / solution can affect others, not backward compatible, and not discussed in forums

[2973225] - Remove XML comments from Translation xml files
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2973225
This commit is contained in:
Carlos Ruiz 2010-03-26 15:06:57 +00:00
parent 805b30e6d9
commit 7a43a63e53
1 changed files with 2 additions and 3 deletions

View File

@ -37,6 +37,7 @@ import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.compiere.Adempiere;
import org.compiere.model.MLanguage;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
@ -168,9 +169,7 @@ public class Translation
// <!DOCTYPE adempiereTrl SYSTEM "http://www.adempiere.org/dtd/adempiereTrl.dtd">
// <!DOCTYPE adempiereTrl PUBLIC "-//ComPiere, Inc.//DTD Adempiere Translation 1.0//EN" "http://www.adempiere.org/dtd/adempiereTrl.dtd">
Document document = builder.newDocument();
// @Trifon. Do not need below line anymore as it is different in each version and that's makes it more difficult to see differences in translations.
// FR [2973225] - Remove XML comments from Translation xml files. https://sourceforge.net/tracker/?func=detail&aid=2973225&group_id=176962&atid=883808
//document.appendChild(document.createComment(Adempiere.getSummaryAscii()));
document.appendChild(document.createComment(Adempiere.getSummaryAscii()));
document.appendChild(document.createComment(DTD));
// Root