summaryrefslogtreecommitdiff
path: root/l10ntools
AgeCommit message (Collapse)Author
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/pathes/paths/Tor Lillqvist
Change-Id: Id832119cc6da885372e56c2119e3bc3b31a7b825
2013-02-18Fix fdo#60754 - no translations for langs sorting after qtzThorsten Behrens
Adjust check to not rely on lexicographical order. This amends 8ae3ddca7e99d2bdbaadd5e0c82de2f0fbd30f91. Change-Id: I5023b07af819eb09ea9dc569bdbac806f936485f
2013-02-17spelling: otherwhise -> otherwiseIvan Timofeev
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-15Only escape double-quotes for ulf files.Thorsten Behrens
On second thought, this was needlessly overbroad. Missed the fact that the code is strictly for ulf. Change-Id: I96773d6e2a9af473e8c8309421b4900c0b76667f
2013-02-15Proper escaping of quotes for android xml resource files.Thorsten Behrens
Change-Id: I9f76986465af5798f1451d44af6765f4e5d1bb09
2013-02-14Get Labels.xcu out of configuration data.Matúš Kukan
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.
2013-02-13Reduce scope xrmmerge.cxxJulien Nabet
Change-Id: I70018ce13dc5dc45d59fdb339e9d0a14348a4195
2013-02-13Some cppcheck cleaningJulien Nabet
Change-Id: I3d515fabc272e5c14f2e2779da1c43f92514f290
2013-02-11More quote escaping on translated strings.Thorsten Behrens
Also escape single quotes for ulf, escape both double and single quotes for stringex. Change-Id: I4c9b8ea88c0172e0d2fdbc79c68bce34668a64f7
2013-02-06remove obsolete hidother.src filesAndras Timar
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-01-31l10ntools: kill RTL_CONSTASCII_STRINGPARAM in definesMiklos Vajna
Change-Id: I7fdd9b6870fbe2c08c05c5dc44f2ff1d7140efd7
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-29po.cxx: use static and const to increase efficiencyZolnai Tamás
Change-Id: I146808171df2240aaa7901978f94cb260a3def6e
2012-12-27let uiex produce more translations in one runDavid Tardon
uiex differs from the other *ex tools in that translation for every language must be in a standalone file, named after the language code. So uiex should take an output _directory_ instead of a file. Change-Id: If3ed966147c6d11d1fe85c484463f1bca4eec172
2012-12-27drop unused includeDavid Tardon
Change-Id: If62a89dc2f442f94cd0e36f4447ebc4899ee0ab3
2012-12-27convert icu to gbuild and add to tail_buildPeter Foley
Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6 Reviewed-on: https://gerrit.libreoffice.org/1488 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-24fdo#58673 Generate the same keyid for pots as for mergeZolnai Tamás
Change-Id: I65c71d22570c62c84d359b12aa5375016be1f69a
2012-12-19Fix localization of modified listsZolnai Tamás
Two cases: 1. The items of PairedList have unique id so it works well when change order of items. Thus when there is no poentry for some of the items than use the original strings. 2. The items of other lists have only an order number as id so when order changes than id changes too, which means poentries do not match with original items. To avoid pointless lists fill the whole list with english items. Actually it is a rare case when only the order change, at most time it goes hand in hand with changing of count so use that to decide when use original list. This whole translation ignorance lasts until next po update. Plus delete one call of MegreRest() function because it was called twice for some macro defined strings. Change-Id: I4b34a1831991608583f53e1885c4eb2aea605493
2012-12-19l10ntools: remove wrong dependency on offapiMatúš Kukan
Change-Id: I1de82c254438bd3f706caa3c3b3221cfc4de5ff1
2012-12-17Remove --with-stlport from LO 4.0Stephan Bergmann
The STLport was only built for the benefit of old extensions on platforms that once used it themselves (Linux x86, Solaris x86 and SPARC, Windows). We deliberately break such old extensions for LO 4.0 by no longer shipping that backwards-compatiblity cludge. Keeps STLport listed in readlicense_oo/ because of o3tl/inc/o3tl/compat_functionality.hxx. Also removes GXX_INCLUDE_PATH, as that was only used by STLport (if at all?). Removes a spurious #define MOVEFILE_REPLACE_EXISTING 0x01 from l10ntools/inc/helpmerge.hxx that was once added with 854812584862d0609b695682d2bfea2667d75c00 "INTEGRATION: CWS extensionl10nfix01 (1.11.6); FILE MERGED: 2008/06/26 13:56:03 ihi 1.11.6.1: #i90987# windows rename -> MoveFileEx" but now starts to cause trouble on Windows. Also disables warning C4005 about redefinition of WB_LEFT/RIGHT macros (defined in both tools/wintypes.hxx and the Windows API) in a number of places that include windows.h -- however the old STLport caused those warnings to not show. Change-Id: Ie138a219fbbc86fb5aaa7ea0b88cf349935d9829
2012-12-17fix ascii escaped unicode generationAndras Timar
Change-Id: I732a480e71c3f26ffde527c5e0eea36f814b8b03
2012-12-15set LCID of qtzAndras Timar
Change-Id: I7cf9f4297d6f55a07f449c4ff25976d669ef819e
2012-12-14Make KeyID (qtz) work againAndras Timar
Conflicts: configure.ac Change-Id: I67b2ce4ae647150aeace72c542a5838940d2c058
2012-12-13Fix adding keyid to po when read from fileZolnai Tamás
Change-Id: I29fdd23da97f1102974a6b5821c224264a37efc3
2012-12-11Skip poheaderZolnai Tamás
Po headers can be various and they don not contain any needed information for merge so skip it without any checking. Change-Id: I6d81b7c85bfdbfd961361d98131ed80ba304e9ba
2012-12-11Revert "performance tuning of helpex"Stephan Bergmann
This reverts commit f1335171987272b66c2e1e0b02cddb28d44502ec. lcl_EscapeTextBlanks in l10ntools/source/po.cxx looks broken to me; for one, there are 't' vs. '\t' and 'r' vs 't' typos, but then it also does not allocate a large enough sBuff, so *out++ writes past the end -- keeps SEGVing for me here.
2012-12-11performance tuning of helpexNorbert Thiebaud
callgrind (on text/swriter/guide translated in 'fr') before Ir = 889,687,925 after Ir = 406,372,177 (405,668,292 w/o the 'native' memory allocator) time confirms: before 0.288/0.272/0.016 after 0.146/0.131/0.015 the output before and after were diff-ed and every generated xhp files are identical. All improvements where done still using 'normal' sal and c++ API. There are still some low-hanging fruits, like XMLUtil:QuoteHTML (probably 20-30 millions Ir to shave there) The destruction of XMLElements is also singularly high (11% of the remaining Ir count) But the bulk of what is left is OString management (alloc/acquire/release/ free/copy), and I/O using streams Change-Id: Ia316c953cd4bd46fc33a58a0c10f26b0ffa042c2 Reviewed-on: https://gerrit.libreoffice.org/1262 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2012-12-10callcatcher: remove unused rtf filter and associated methodsCaolán McNamara
update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-12-09Fix result of wrong revert orderZolnai Tamás
Change-Id: Ifebe135badbda741d768d2680267623aff6c2b56
2012-12-09Revert "Make sure all list item is stored"Zolnai Tamás
This reverts commit cd8948d1fd4430bc4186b3525eaec7d531da3fb2.
2012-12-09Revert "Make src lists modifiable"Zolnai Tamás
It is more difficult than I think first and it needs to solve in an other way. This reverts commit e1a91a9ceda6020bb256739e83dc371a50af3b1d.
2012-12-09Make sure all list item is storedZolnai Tamás
Change-Id: Idf73871086dd7a3be7371506c034ec7af48d1642
2012-12-09Make src lists modifiableZolnai Tamás
This work when appending elements to the end of list or deleting elements from list. Change-Id: Ic0b920f79c72ebc3bf70555506466660b13d2aca
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-12-02RepositoryExternal.mk: clean up awful icudata/icui18n duplicationMichael Stahl
Change-Id: Ic4794d9a908b60220a4a849ff263eaa08776550c
2012-12-02Ignore qtz in ulfex and some other placesZolnai Tamás
Installation not works well with qtz so ignore it in ulf files. In those executables which work with one lang at a time it is unwanted to store the useless qtz strings at all call. Change-Id: I1d65ec340da1832404001ad18820407e56615db6
2012-11-30better error reporting in localize binaryAndras Timar
Change-Id: Ic98a786fffd9d92b51669e2beaed434db1aca519
2012-11-30add Sidama (sid) languageAndras Timar
Change-Id: I7c7fb38d7df5aecda8e81443aa7045479e0efceb
2012-11-30there is nothing to localize in 'scripting' moduleAndras Timar
Change-Id: I093e13218dce5d7d73841b34af15f001122e0259
2012-11-30do not extract strings from da/hu dictionary help treeAndras Timar
Change-Id: Ia5cce381b935daee1251ae6647f2bb59e281054e
2012-11-27add new tool "stringex" to extract/merge strings from/to android UIAndras Timar
Change-Id: I8210957cedf911418044da340642cf97396f3e14
2012-11-27add \n to end of warning messageAndras Timar
Change-Id: I6c6f75d7e6fb4379db09a9c155eea9a0cb22ea0f
2012-11-26Fix bug in localize, created by recently changesZolnai Tamás
Change-Id: I329c72fdca6ade502d4fdedaccc410dd4b7ea874
2012-11-26Varnisch localize.cxxZolnai Tamás
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
2012-11-26WaE: comparison of char to EOF always false on ppcCaolán McNamara
Change-Id: I77b27ea765230d13b9b81faf5b5cf5acc4897616
2012-11-25Some cosmetics in l10ntoolsZolnai Tamás
Add comment to new classes Delete unneeded getLanguage() method Make inline GenPoEntry's setter methods Fix some typo Change-Id: I8f337b8c57e1eab7696415dc7297c64e2436f35d
2012-11-24do not generate KeyIDs (qtz locale) when ENABLE_RELEASE_BUILD is TRUEAndras Timar
Change-Id: If16741960b23ee05101849d17f1374d17751aa41