Age | Commit message (Collapse) | Author |
|
changes due a log from clang tinderbox.
minor changes to interpret more files
Change-Id: I3821aab91dc21e74c870628a4f2265ab61d37cca
|
|
KID generation is an integrated part of the POT files.
Updated lex files for simplification
Change-Id: I8ba64e7119edc5267b2acd75c468ed2ff1cf16c2
|
|
Duplicate functions in lex files removed
Top part simplified and made identical.
Change-Id: I7288bfdbeba9d1ec96b5d2bc7b21dd65337cd8d7
|
|
The clang plugin does not not like
for (<foo>;<foo>;<foo>) ;
(most compilers do not complain, when using the ' ')
Also a virtual destructor need "override" in the
implementing class.
Change-Id: Ib99702f11dbd24595935594ee97c136c8e604aff
|
|
Added "using namespace std;" to the cxx/l files
thereby being able to remove std:: from all files
Change-Id: I92b411870deb7a97b6fd1f7e33674a1e072c0cc1
|
|
Solved new pot directory structure
only tested .xrm files, but should be able to extract
all .pot files.
The LO tools generated the KID as part of the msg, this
is not implemented.
msgctxt is used as comments, this requires a slight change
of the lex programs.
Change-Id: Id9aadbd419fb44b73b633410f7dddd90d310ee8d
|
|
.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
|
|
Decoration removed
Indent etc. updated to LO standard
License in generate pot files changed to LO standard.
this commit is a pure text edit, NO functional changes.
Change-Id: Ie0a26d3cff470dd5f91241ca6b962b17851c9d5b
|
|
Last singleton gone, structure is now
handler (local in gLang.cxx) holds
a variable of l10nMem
a temporary convert_gen variable (to analyze file)
l10nMem contains hash list of all PO information
convert_xxx is inherited from convert_gen and instanciated
with a static function convert_gen::createInstance
the lex functions (in c) uses a "this" pointer to find back
to the class. This needs to be done better.
l10nMem contains a link to convert_PO, to save files, this
needs to be split.
Change-Id: I3ad31aac27aac739845062f8da61c8c1c3bf9c31
|
|
removed gL10nMemDB (combined with gL10nMemDB) to avoid CLANG problem.
removed (temporary) gL10nMem dependency on convPO (circular dep).
Change-Id: I17646be2ccc0feaaa8850a9b753f86c8c62e9f24
|
|
Change-Id: I9078ba18d8897a89a472fe75385542dac0c6bf78
|
|
the genLang project aims at replacing all l10ntools with more
modern versions, based on C++ and lex.
The current extract works basically as a standalone "find" over the
source tree. genLang can use that, but also a more efficient way, by
having translation-worthy files declared in the makefile stubs.
genLang itself is a C++ framework, where each file type is defined as
a class, making it easy to add new file types.
genLang can easily be adopted to transform the help files into e.g.
mediawiki format, and later merge a url back into the code.
The project was first developed (solely by the author) in a non
published branch of OO. This branch was never merged but deleted
and therefore never published.
The files have been adapted to the LO build system and setup.
The primary commit is just to raise awareness, that this is being
developed. The following commit, will update the source code to LO
standard. Before replacing the old modules a dedicated review will
be asked for.
Change-Id: I4504992474333c476c179903f822bfaf1441cca9
Reviewed-on: https://gerrit.libreoffice.org/22819
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
|