summaryrefslogtreecommitdiff
path: root/l10ntools/source/propmerge.cxx
AgeCommit message (Collapse)Author
2013-06-29Search for char instead of 1 char long string, when possible.Thomas Arnhold
follow-up of a7674482254ee996b1c4fee60f3064778be369aa Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-05-08coverity#1019372/373: Resource leaksJulien Nabet
Change-Id: I8d1facfa027701a4f249f14392f9b204e92180be
2013-04-21Some changes in qtz handlingZolnai Tamás
Executalbes, which work one language, generat qtz by own. (stringex,helpex,treex,propex) So these executables can generate qtz without po file when use them with qtz, call them with "-m" flag without parameter. Change-Id: I56c34db7151dc3ef0ce1c85ed607719e4cbb5e92
2013-04-13Delete obsolote platform from l10ntools mergeZolnai Tamás
Change-Id: I5e5b87355d3d6e369c8fccd7078581758abb3b10
2013-03-27Refactor l10ntoolsZolnai Tamás
Delete unused functions. Make Export class more encapsulated. Move to local that functions which are used only in one file. Common contans method which are used by all executables. Helper contains methods belong to xml parsing. Change-Id: I28773a2c7eea90da7df7f32720fd38de2cb661ac
2013-03-16Get rid of generating temporary sdf fileZolnai Tamás
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
2012-12-17fix ascii escaped unicode generationAndras Timar
Change-Id: I732a480e71c3f26ffde527c5e0eea36f814b8b03
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
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-21Fix language id checkingZolnai Tamás
The result of GetLanguages() is a vector, but behind it the language ids stored in a set, so the order not depend on which id was inserted first. With language ids which are after qtz in alphabetic order this checkings works wrong. Change-Id: I4e15d4de576b1fc567692109311c053b0d93ea60
2012-11-21Po files' header has modified language idZolnai Tamás
So they must be changed to match with real id Plus add more usefull error message Change-Id: Ife941756bd108ed9adb73dd2d30bd7fa79eb3e35 Reviewed-on: https://gerrit.libreoffice.org/1148 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2012-11-20Generate qtz propertiesZolnai Tamás
Qtz has no own po files so use one of configured langauge's po files (en-US excludex) Plus copy all properties files independently of localization Change-Id: Ica7ccb7d3111f2fc2b3bbde4b839cb564967130a
2012-11-05Correct propmergeZolnai Tamás
If there is no po entry for a string than use the original en-US string Change-Id: I4296ae9c189a3c65cf93a806edbf1317651d1486
2012-10-29Correct some naming in propexZolnai Tamás
Change-Id: Id5b17be8155f13529439dd9a46b42f6ffeed79b1
2012-10-09Use static, lcl_ and anonymus namespaceZolnai Tamás
for local functions Change-Id: I0393c9552ca353e80ac61d258a280cbcd53e1cba
2012-10-08typosAndras Timar
Change-Id: Idb23b390af270bdd694ecce9ab14f47d25af8f57
2012-10-08Move propex/propmerge code to C++Zolnai Tamás
Changes: -Use same methods and commandline params as other localizers -Work with one lang during mergeing -Work well with comments -Correct makefiles according to one lang concept Plus delete propex.bat to avoid conflicts Change-Id: Ia9d2886db263c31f29692c3f6da2b8ec6542b564