diff options
author | jan iversen <jani@documentfoundation.org> | 2016-03-19 20:04:54 +0100 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-03-22 16:32:19 +0100 |
commit | 40a218baf8823d883c8d9d2839ff95780e7ff0ed (patch) | |
tree | 79066f1712aca611daedef46af3a5bcd7e42a158 /l10ntools/inc/gConvPo.hxx | |
parent | f7f97dadcd33ed191ef04436fe630821c2330e3d (diff) |
genlang, moved save function to convPO from convGen.
.pot files can only be generated in convPO, therefore
it is logical to have the functions at this level.
Added a fix due to LO standard for saving .pot files
(this fix might need to be updated, when moving on from .xrm)
Ready to save .xrm input as .pot, and compare results.
Change-Id: I1849e896258942f7895e5f6bd3b834391e7a7e95
Diffstat (limited to 'l10ntools/inc/gConvPo.hxx')
-rw-r--r-- | l10ntools/inc/gConvPo.hxx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/l10ntools/inc/gConvPo.hxx b/l10ntools/inc/gConvPo.hxx index ab120d916b66..7ca45bff93a2 100644 --- a/l10ntools/inc/gConvPo.hxx +++ b/l10ntools/inc/gConvPo.hxx @@ -41,6 +41,16 @@ class convert_po : public convert_gen void setMsgStr (); void handleNL (); + // Used to save .pot files + void startSave(const std::string& sLanguage, + const std::string& sFile); + void save(const std::string& sFileName, + const std::string& sKey, + const std::string& sENUStext, + const std::string& sText, + bool bFuzzy); + void endSave(); + private: std::string msId; std::string msStr; @@ -49,14 +59,5 @@ class convert_po : public convert_gen std::filebuf outBuffer; void execute() override; - - void startSave(const std::string& sLanguage, - const std::string& sFile) override; - void save(const std::string& sFileName, - const std::string& sKey, - const std::string& sENUStext, - const std::string& sText, - bool bFuzzy) override; - void endSave() override; }; #endif |