summaryrefslogtreecommitdiff
path: root/l10ntools/inc/po.hxx
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2012-08-29 09:54:30 +0200
committerAndras Timar <atimar@suse.com>2012-08-29 08:09:45 +0000
commit305ecb308a9b6f54263fd526cfdda9167fcaab56 (patch)
treec7ef04ff54882c2472302450aa01ec22b8dd0e48 /l10ntools/inc/po.hxx
parent0319a1c8d1df4a86b847f5d6178966a29e7c24cb (diff)
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 <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'l10ntools/inc/po.hxx')
-rw-r--r--l10ntools/inc/po.hxx3
1 files changed, 3 insertions, 0 deletions
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);
};