Age | Commit message (Collapse) | Author |
|
Change-Id: I9833d85eb6543e996b0f357657c53b1c076ecde4
Reviewed-on: https://gerrit.libreoffice.org/27898
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c
Reviewed-on: https://gerrit.libreoffice.org/27317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Thanks to Carlo Bertoldi for the german translation.
Change-Id: I76f554e757318aed4e28b5a05fae0ba15bd46afb
Reviewed-on: https://gerrit.libreoffice.org/27355
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
|
|
Change-Id: Ia7981447e96d9ac87526ad1276585ab3077d7f08
Reviewed-on: https://gerrit.libreoffice.org/25707
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda
Reviewed-on: https://gerrit.libreoffice.org/25431
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ia8a1dbf0277c553e8bd7b3a1da5b9f865f076608
Reviewed-on: https://gerrit.libreoffice.org/25195
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Icdb5f39329ddb94fc1a51e59c8ac99d2684f9cbc
Reviewed-on: https://gerrit.libreoffice.org/25164
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ibda82734821f3faa9388f7508e6a3e39e5b5007d
Reviewed-on: https://gerrit.libreoffice.org/25106
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
.xcu stores a '.' between keys and keys with no name count
.src has commands without name (identifier used instead)
Change-Id: I135c5f5594c429ebc1b278dbb7d5709b7b8ca119
|
|
Added macro detection in .src filter
Updated gDiff and gRun scripts with enhancements
Change-Id: Idddd3ef72e8ccee65d03fe5080e27699ceebb079
|
|
LO uses the .src quite differently, so a new implementation
was made.
The unused old functions are hanging in a #if 0, and will
be removed later.
Change-Id: Ic466a1b97f9f65c9f658612bd2aa325396e929c3
|
|
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
|
|
Change-Id: Id89697b602508446be0c9578b49532de6c22be9f
|
|
... in modules editeng to oox.
Replace with C++11 delete copy-constructur and
copy-assignment.
Remove boost/noncopyable.hpp includes and
one unused boost/checked_delete.hpp include in linguistic.
Change-Id: I5a38d8e5ac1b4286bdeb3858d56490a53d13fe80
Reviewed-on: https://gerrit.libreoffice.org/23928
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
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 process of getting gRun.sh to produce the same files
(same content is later), have identified a number of
strange things:
- many files with x-comment are not in en-US, but DE
- some files have translations present in DE
- many src/hrc files are not considered for translation
Change-Id: If4fb9928353c181c3123421c5dd357304a8b4f0c
|
|
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
|
|
the gRun.sh script tries to manually build identical .pot
files as the existing tools
It was noticed that now .ui is converted but .hrc and many
.src files are not.
Change-Id: Ia15d415c4027e34668dab752b1fbc7d99663cfe8
|
|
the .ulf ==> .pot keep the x-comment, therefore the memory
db is expanded with sResource and sComment.
The memory db API is changed to add the 2 new fields, which
causes a change in all callers.
Change-Id: I38527c8d2db9d56ecf9ae42550ed5420371b658e
|
|
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
|
|
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
|
|
All lex files no longer have a special namespace, instead
yylex --> <foo>lex
and therefore unique for the linker.
Also corrected command line argument handler.
Change-Id: Idfdec97bd43f3be8d2b217b9aac1bd74b202dc93
|
|
Change-Id: I2078f15f03fbadab8a0253763d779c3eb7cdf448
Reviewed-on: https://gerrit.libreoffice.org/23302
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
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
|
|
convert l10nMem to lo standard
removed l10nMem_impl and added it direct to l10nMem
Change-Id: I7e226a8dab51fd52ecbc8da36068ebdfb5c1e17f
|
|
Upgrade gLang to LO standard
Compilation of genLang module is disabled for now
activate manually by adding to Module_l10ntools.mk
Change-Id: Ib82cae6a013d10d158ec5faa81ace512c0096a39
|
|
In a build --with-lang=2 languages this generates millions of lines of
output, it prints for > 2 minutes straight. Our build system is not a
terminal benchmark, and i have no idea what the problem with
"OSL_DEBUG_LEVEL > 1" conditionals is anyway, so revert it for now.
This reverts commit 3f80f144cff8d8ddd1d33e7b8ca6dbe2ad8d8491.
|
|
I removed OSL_DEBUG_LEVEL > 1 conditionals, replaced them with
OSL_DEBUG_LEVEL > 0 as suggested in updated easy hack
Change-Id: I4af8cd2a9bf9980fc98967d499d1fc30642251f4
Reviewed-on: https://gerrit.libreoffice.org/23010
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
|
|
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>
|
|
Change-Id: I688ed796c054002ed05a1a2faa04c6f7a3123ef0
|
|
stage 2 of replacing usage of various checks for the windows platform
with the compiler-defined '_WIN32' macro
In this stage we focus on replacing usage of the WIN macro
Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84
Reviewed-on: https://gerrit.libreoffice.org/22393
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
|
|
Change-Id: I9c61a46c57894bc63a57740206c0bcb4a16553af
Reviewed-on: https://gerrit.libreoffice.org/21571
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I321b594f1190cdd997b4769161e1c02d31f46213
Reviewed-on: https://gerrit.libreoffice.org/21566
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I11571c25e527787a2054bc8106a27c44b8a96116
|
|
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
|
|
Change-Id: Id63bbdd11af66de6be8a3e9dfca1c7efbe74b08a
|
|
Change-Id: I87dbff06345f24064b87c375e5381cb27118e614
|
|
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
|
|
- improvements to the plugin to find more method calls
- improvements to python script to remove more false+
- fix the FORCE_COMPILE_ALL build flag to include code in
the $WORKDIR
Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836
Reviewed-on: https://gerrit.libreoffice.org/19064
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
find places where we should be using std::unique_ptr
Change-Id: I5b9defe778fdc4738ecea381215396874db59e66
|
|
Change-Id: I10206d2a9673296e1c3c7e813e4696d80cbb2bfc
|
|
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971
Reviewed-on: https://gerrit.libreoffice.org/17378
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|