From 305ecb308a9b6f54263fd526cfdda9167fcaab56 Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Wed, 29 Aug 2012 09:54:30 +0200 Subject: Make renew working well Change po2lo output: write out the untranslated sdf line too, write out translated sdf line only if there is translation to the komponent, write out fuzzy entries and indicate which entries are fuzzy. Change GenPoEntry to write out fuzzy flag Change renewpo to write out all type of entries not just text and to remove id duplicates which are made by xrmex Change-Id: Idc9b6062638d1d5fcbbae75e0396996b63e9a7a0 Reviewed-on: https://gerrit.libreoffice.org/508 Reviewed-by: Andras Timar Tested-by: Andras Timar --- l10ntools/inc/po.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'l10ntools/inc/po.hxx') diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx index ffdb0d2af36c..fddd9074cf9d 100644 --- a/l10ntools/inc/po.hxx +++ b/l10ntools/inc/po.hxx @@ -43,6 +43,7 @@ private: OString m_sContext; OString m_sUnTransStr; OString m_sTransStr; + bool m_bFuzzy; public: GenPoEntry(); @@ -60,6 +61,8 @@ public: { m_sUnTransStr = rUnTransStr; } virtual void setTransStr(const OString& rTransStr) { m_sTransStr = rTransStr; } + virtual void setFuzzy(bool bFuzzy) + { m_bFuzzy = bFuzzy; } virtual void writeToFile(std::ofstream& io_rOFStream); }; -- cgit