diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2018-11-15 13:19:31 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2018-11-17 11:50:46 +0100 |
commit | 9ffe350ae344e9863330fbb2405c37df6b9d0984 (patch) | |
tree | 5aefcc81146b6a06fde4aaf41633d79082c21e4e /l10ntools/inc | |
parent | 344773c608ea28718b630590ee1023247aa62d63 (diff) |
pocheck: don't throw away Plural-Forms header
also don't change POT creation date when rewriting a po file, update
Po-Revision instead.
When creating templates, put X-Accelerator before X-Generator (like
pootle would order it)
Change-Id: I7fec4cb1c50e27b87decd9a892de3f01a02253ed
Reviewed-on: https://gerrit.libreoffice.org/63416
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'l10ntools/inc')
-rw-r--r-- | l10ntools/inc/po.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx index e213f47e177a..aff8b88af100 100644 --- a/l10ntools/inc/po.hxx +++ b/l10ntools/inc/po.hxx @@ -88,6 +88,7 @@ public: friend class PoIfstream; PoHeader( const OString& rExtSrc ); ///< Template Constructor + PoHeader( const OString& rExtSrc, const OString& rPoHeaderMsgStr ); ~PoHeader(); PoHeader(const PoHeader&) = delete; PoHeader& operator=(const PoHeader&) = delete; @@ -139,6 +140,7 @@ public: bool eof() const { return m_bEof; } void open(const OString& rFileName); + void open(const OString& rFileName, OString& sPoHeader); void close(); void readEntry(PoEntry& rPo); }; |