diff options
author | jan iversen <jani@documentfoundation.org> | 2016-03-20 23:08:55 +0100 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-03-22 16:32:19 +0100 |
commit | aad4aa640f691dab012b5b63f3d7f242f18a1c21 (patch) | |
tree | 2bf701e1292ae1debe1b50962ac468a2f32933ea /l10ntools/inc | |
parent | 095ca2a21119eca3c915c486aba85a5a7a6af2ad (diff) |
genlang .tree ==> .pot identical.
the conversion .tree to .pot works
Added script gRun.sh with local call of genlang until integrated
gList.sh find all files to be translated.
For now, files that should be translated but are not, are ignored
this is due to 100% compatibility with current executables.
Research shows that .tree and .xhp are handled by the same old
executable to the .pot files are not complete.
Change-Id: I1634207b72075e74438ebfbc22a7753cdddd20ed
Diffstat (limited to 'l10ntools/inc')
-rw-r--r-- | l10ntools/inc/gConvPo.hxx | 1 | ||||
-rw-r--r-- | l10ntools/inc/gConvTree.hxx | 2 | ||||
-rw-r--r-- | l10ntools/inc/gL10nMem.hxx | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/l10ntools/inc/gConvPo.hxx b/l10ntools/inc/gConvPo.hxx index d76a4a5a1767..abab7fd8fda2 100644 --- a/l10ntools/inc/gConvPo.hxx +++ b/l10ntools/inc/gConvPo.hxx @@ -49,6 +49,7 @@ class convert_po : public convert_gen const string& sKey, const string& sENUStext, const string& sText, + const string& sResource, bool bFuzzy); void endSave(); diff --git a/l10ntools/inc/gConvTree.hxx b/l10ntools/inc/gConvTree.hxx index 98b219eb5226..90ee86037a50 100644 --- a/l10ntools/inc/gConvTree.hxx +++ b/l10ntools/inc/gConvTree.hxx @@ -43,7 +43,7 @@ class convert_tree : public convert_gen ~convert_tree(); void setString (char *yytext); - void setState (char *yytext, STATE_TAG eNewStateTag, STATE_VAL eNewStateVAL); + void setState (char *yytext, STATE_TAG eNewStateTag, STATE_VAL eNewStateVAL, char *sModule); void setValue (char *yytext); string& copySourceSpecial (char *yytext, int iType); void writeSourceFile (string& sText, int inx); diff --git a/l10ntools/inc/gL10nMem.hxx b/l10ntools/inc/gL10nMem.hxx index f89459fca863..141b080047b8 100644 --- a/l10ntools/inc/gL10nMem.hxx +++ b/l10ntools/inc/gL10nMem.hxx @@ -43,6 +43,8 @@ class l10nMem void setModuleName(const string& sModuleName); const string& getModuleName(void); + void setResourceName(const string& sResourceName); + const string& getResourceName(void); void setLanguage(const string& sLanguage, bool bCreate); void setConvert(bool bConvert, @@ -82,6 +84,7 @@ class l10nMem bool mbDebug; bool mbInError; string msModuleName; + string msResourceName; int miCurFileInx; int miCurLangInx; int miCurENUSinx; |