summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/lngmerge.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx
index 5465d556a023..959a93c2961f 100644
--- a/l10ntools/source/lngmerge.cxx
+++ b/l10ntools/source/lngmerge.cxx
@@ -114,6 +114,7 @@ bool LngParser::CreatePO( const OString &rPOFile )
else {
WritePO( aPOStream , Text , sSource , sID );
}
+ Text.erase("x-comment");
}
aPOStream.close();
return true;
@@ -129,7 +130,7 @@ void LngParser::WritePO(PoOfstream &aPOStream,
{
common::writePoEntry(
"Ulfex", aPOStream, rActFileName, "LngText",
- rID, OString(), OString(), rText_inout["en-US"]);
+ rID, OString(), rText_inout.count("x-comment") ? rText_inout["x-comment"] : OString(), rText_inout["en-US"]);
}
}