Age | Commit message (Collapse) | Author |
|
Change-Id: I5aedd4595c3f676deaedddf80c3a96250015f2ed
|
|
So no need to ad it in a commandline parameter.
No need to use a vector to store languages.
Change-Id: I1f7d3bd131b5a9ff23d403cee4ac6804ae8e0a0b
|
|
Plus avoid use of Export::sLanguages member outside
of the class.
Change-Id: I33702816fdb4980d690cfe8fcd8cc3fbd0df1dd8
|
|
Change-Id: I1b9e31b8c64ed8bf7eb073f036a7fdda39a15392
|
|
To avoid big diffs, stem from platform dependent order.
Change-Id: I848a14de2c4e7af2f3a2d9a0fdb005c289cfead2
|
|
Working:
1. Localize add header to po files.
2. Executables append po entries to po files.
3. Localize delete entryless po files and empty directories
Plus a bunch of clean up.
Change-Id: I58e300eaee4cee948203cc9d3e642ca9462d0d26
|
|
Change-Id: I8bd987ec0f2bd4a886a14d38d7b7ba354abd2f06
|
|
See also: 73b7792f716064db0815ad0f86846093edcd2f78
Change-Id: I9ea5e77cf84ce9ac6b247b97e579373831ab9ab9
|
|
Change-Id: Id9f3d2435530ff9c797eca5e86aa568f921017b1
|
|
Modify the file format, install separately into share/labels,
and parse it using xmlreader when needed.
Saves time on startup and reduces pointless configurarion size.
|
|
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
|
|
Change-Id: Ic98a786fffd9d92b51669e2beaed434db1aca519
|
|
Change-Id: I093e13218dce5d7d73841b34af15f001122e0259
|
|
Change-Id: Ia5cce381b935daee1251ae6647f2bb59e281054e
|
|
Change-Id: I8210957cedf911418044da340642cf97396f3e14
|
|
Change-Id: I329c72fdca6ade502d4fdedaccc410dd4b7ea874
|
|
Use getenv method instead of osl_getEnvironment.
Delete rtl and std namespace identifier
Use OString every possible place to decrease
OString<->OUString conversions.
Add some block to minimize scope of local variables
and add comments to make clear each block task.
Move propex "en_US exist in file name" check to
localize to save some extra process time.
Change-Id: I9a0455f7524f71e34efe4d32998d2d21601f14e1
|
|
Workaround extra temporaries created by gcc-4.0 on mac - since here
PoHeader has private copy ctor.
Change-Id: I6faf99f78c11452f6adf6f1f18e1ceda9e23e7a2
|
|
Conflicts:
desktop/prj/build.lst
helpcontent2
l10ntools/Executable_gsicheck.mk
l10ntools/Executable_uiex.mk
regexp/inc/regexp/reclass.hxx
solenv/gbuild/AllLangResTarget.mk
Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
|
|
Change-Id: Ieb04a22f83e698521aa90fe16fce4f66c4635034
|
|
By now, not needed to handle dictionaries
in other way, because its root moves up directly
to core.
Change-Id: I90d6a67c90b00eea290f17e277fb13c0a6b0b5cd
|
|
Conflicts:
Repository.mk
RepositoryFixes.mk
connectivity/prj/build.lst
extensions/prj/build.lst
filter/prj/build.lst
fpicker/prj/build.lst
l10ntools/StaticLibrary_transex.mk
saxon/build.xml
shell/prj/build.lst
solenv/gbuild/AllLangResTarget.mk
solenv/gbuild/Configuration.mk
solenv/gbuild/UI.mk
ucb/source/ucp/webdav/webdavcontent.cxx
|
|
Belong to dictionaries modul
Change-Id: Ifd8303fd294de2369383cc2ce7ebdd1487c90463
|
|
Change-Id: I4cd29f6a893d72a49233bb53d19701d0bdd0e078
|
|
Which localize and update help tree files
instead of update_tree.pl.
Use it to update extensions' help.
Next step: use it with general help.
Change-Id: Ife9696bdd8b973ef3cf30626533e38720408179b
|
|
Plus cleanup
-Delete unneeded global variables
-Delete -e input flag in general
-Delete helpex's -x, -y and -lf input flags
These are all unused
Change-Id: I83db62543a728ed75fa6893c45566f11d1237c69
|
|
|
|
which is written out when one of executables
writes out invalid sdf line
Change-Id: I167b31bf0f550222accdda8ee5a03d8e4a742d63
Reviewed-on: https://gerrit.libreoffice.org/730
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
-Make PoOfstream\PoIfstream classes for
checked po input\output
-Make copyability obvious
-Handle runtime errors with exceptions
-Use assertions to define exceptations
for programmers
Plus some correction
-Use simplier indentation
-In renewpo.cxx, define sdf file as a tempfile
instead of make it in current location
-Use constructor to renew poheader
-Use const where needed
Change-Id: Ic11ce3b9eee9a9fa9fbc4ccda154623160ad9d8a
Reviewed-on: https://gerrit.libreoffice.org/728
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
|
|
Conflicts:
l10ntools/Module_l10ntools.mk
l10ntools/source/merge.cxx
solenv/gbuild/AllLangResTarget.mk
solenv/gbuild/ExtensionTarget.mk
solenv/gbuild/InstallModuleTarget.mk
solenv/gbuild/TargetLocations.mk
|
|
Change-Id: Icd45e901ea9dd664fcbc0db0c71f555c4cc24a34
|
|
Change-Id: If30210587f0562d7e5f24fb3acbdd7ef8b13a00f
|
|
the intent of this header has canged over time. now it is already
systematically included with ustring.hxx and the operator overload it
provide fit nicely there...
Just to be safe, since that include as been added to the api during the
3.5 timeframe and therefore is already in 'production'
the header remain and simply attempt to include ustring.hxx
but a warning is issued indicating that this header should not be used
anymore... in a couple of major release we will thenr emove it completely
All internal users of that header are converted.
Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad
Reviewed-on: https://gerrit.libreoffice.org/634
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Use normal integer types when it's unecessary to use
sal_int types.
Delete some hack from code.
Change-Id: I93f0b1f260578d3aa9609b7e9d8a79053693971b
Reviewed-on: https://gerrit.libreoffice.org/510
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Change po2lo output: write out the untranslated
sdf line too, write out translated sdf line only
if there is translation to the komponent, write out
fuzzy entries and indicate which entries are fuzzy.
Change GenPoEntry to write out fuzzy flag
Change renewpo to write out all type of
entries not just text and to remove id
duplicates which are made by xrmex
Change-Id: Idc9b6062638d1d5fcbbae75e0396996b63e9a7a0
Reviewed-on: https://gerrit.libreoffice.org/508
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Raise general po functionalities from PoEntry to the
GenPoEntry class. Thus PoEntry contains only the specific
things with which LibreOffice localization tool works.
Improve escaping text.
Change-Id: I98894e7c218d37c226f48b30a1f8b59a5ff1a0bf
Reviewed-on: https://gerrit.libreoffice.org/507
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Extract strings from source directly to pot files
Implement PoHeader and PoEntry classes
Renew fomrat of pot/po files
Implement conversion from old po to new po
Change-Id: I411b6041f7d525e76b189d7f31adc5b9ab60f6d6
Reviewed-on: https://gerrit.libreoffice.org/506
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Change-Id: Ia05018afcfcba044e568e9262ccb90324c2807f5
|
|
localize tool need to get strings also from src directory
Change-Id: If8e94198002888d1fcf9b0b0416b7b5dcaa46386
|
|
|
|
|
|
...so that it works on Windows.
|
|
Currently it cannot open /dictionaries under Cygwin,
because it is a Cygwin symlink that Windows programs
cannot follow. TODO...
|
|
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary
Deprecated:
* comphelper::string::remove
* comphelper::string::getToken
Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL
Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
|
|
"localize" is now directly a C++ program w/o wrapper script. Also,
its command line has changed slightly, taking the source root as
explicit argument (instead of implicitly as cwd).
|
|
|
|
Removed completely cases of convoluted code to remove UTF-8 BOM from files
or translate line endings. Hopefully none of this was actually necessary
(on Windows?).
|
|
|
|
|