summaryrefslogtreecommitdiff
path: root/l10ntools/source
AgeCommit message (Collapse)Author
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
2012-11-24remove useless comment (old bug database)Andras Timar
Change-Id: I85f661934a9ce84017018694e90aca5d050afb65
2012-11-23Remove some newly tagged unused methodsJulien Nabet
Change-Id: Ie55dfd19f223df62c091ffc4fdf28789b308a1c7
2012-11-21Get language id from path of po fileZolnai Tamás
Language ids in po headers can be various so its simpler to extract from path. Change-Id: I3e9447359f3c054aea32b5417b2168025168c556
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-21Fix build for old gccThorsten Behrens
Workaround extra temporaries created by gcc-4.0 on mac - since here PoHeader has private copy ctor. Change-Id: I6faf99f78c11452f6adf6f1f18e1ceda9e23e7a2
2012-11-21dirent.h doesn't exist on windowsLuboš Luňák
Change-Id: Id2afa8a9ef944285a34f51cd685cd0ff5a9b6041
2012-11-20work around ambiguity with msvc and old gccLuboš Luňák
C:/cygwin/home/tinderbox/master-build/l10ntools/source/po.cxx(188) : error C2666: 'std::fpos<_Statetype>::operator !=' : 2 overloads have similar conversions with [ _Statetype=_Mbstatet ] C:/PROGRA~2/MICROS~1.0/VC/include\iosfwd(116): could be 'bool std::fpos<_Statetype>::operator !=(const std::fpos<_Statetype> &) const' with [ _Statetype=_Mbstatet ] or 'built-in C++ operator!=(std::streamoff, long)' while trying to match the argument list '(std::fpos<_Statetype>, long)' with [ _Statetype=_Mbstatet ] Change-Id: Id1375d68996414c5ccf75d5d3ebc0afad061e3d2
2012-11-20WaE ignoring return value, this time reallyDavid Ostrovsky
Change-Id: I5647f318000d83f1f363153c1bc7f4ae4effc88c
2012-11-20WaE ignoring return valueDavid Ostrovsky
Change-Id: I3a8fa34eb739e4595f8a9d279e33b9191adc2443
2012-11-20-Werror=trigraphsStephan Bergmann
Change-Id: I47f285e94d9437e837a0aaa25c0682b4d2187974
2012-11-20Merge branch 'feature/killsdf'Andras Timar
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
2012-11-20"tubes" missing from l10n project listStephan Bergmann
Change-Id: Ieb04a22f83e698521aa90fe16fce4f66c4635034
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-19Use icu regex in l10ntools instead of i18nregexpZolnai Tamás
Change-Id: I9062aafa2fefa26b7b1edf0440f4675b2f469e5d
2012-11-18Fix some encoding problem in treemergeZolnai Tamás
Change-Id: I275ccba8f07ccaba1ead0ad83a382d3ad19c722a
2012-11-18Localize tree files in helpZolnai Tamás
-Treex works well when po is not exist, send a warning but make en-US tree-s. Change-Id: Ib2b790742c022211a8d250b66891cef045941398
2012-11-18Localize xhp files in helpZolnai Tamás
Make helpex to be able to work with more xhp files at one time - Add new input flag "-mi" which means multiinput - Input is a file include pathes to xhp files (these are in the same directory so their strings are in the same po file) - Output is a file include pathes to dest xhp files - Merge reads all po entry from the specified po file if MergeDataFile ctor's second parameter is empty Rewrite makefiles to work with new syntax Plus Delete some unused code Change-Id: I5eb12d7a6f5e9cda378788410d3c50052eb752b8
2012-11-18Correct skipping source file line of msgctxtZolnai Tamás
Change-Id: I7aed7a75c6e9b36efca9837c0137075065bcd1e6
2012-11-18Revert "Write source file into po entries' msgctxt"Zolnai Tamás
This reverts commit b0f07bbbc4f179d442ff96471669f02e82686657.
2012-11-18Revert "Correct skiping source file line of msgctxt"Zolnai Tamás
This reverts commit 7f81bbb1c7f090d9e962e5c2cb7b694298bfe1c8.
2012-11-18Correct skiping source file line of msgctxtZtamas
Change-Id: I64635dd7a6352300ed5fb6949a1b78c2a070c660
2012-11-18Write source file into po entries' msgctxtZtamas
So (msgctxt, msgid) pair is unique in one po file Change-Id: I64635dd7a6352300ed5fb6949a1b78c2a070c660
2012-11-18Revert "put filename into msgctxt, because po entries must be unique"Andras Timar
This reverts commit 889574a50c8f5bdffed9f3eb70426cedae0a589c.
2012-11-18put filename into msgctxt, because po entries must be uniqueAndras Timar
Change-Id: I700b668863c2b20cdf60fa672a994b8ae4dc613a
2012-11-18Write source file into po entries' msgctxtZtamas
So (msgctxt, msgid) pair is unique in one po file Change-Id: I64635dd7a6352300ed5fb6949a1b78c2a070c660
2012-11-17Last changes in renewpo for migrationZolnai Tamás
Order PoEntries by their locations in original po files by adding serialnumber in po2lo and work up them in this order in renewpo. So the order will be the same in new po files. Change-Id: Idb0547a2e1262008b374fe450ec3e01af0cff839
2012-11-17Handle dictionaries in the same way in localizeZolnai Tamás
By now, not needed to handle dictionaries in other way, because its root moves up directly to core. Change-Id: I90d6a67c90b00eea290f17e277fb13c0a6b0b5cd
2012-11-13fix XML tag check in help and readme translationsAndras Timar
Change-Id: I88a3ad382df41da96fcab38c3c06d5871228e082
2012-11-13remove obsoleted gsicheck toolAndras Timar
Change-Id: Ib25a6feae34533fa3752fe57e857613ca113ee3a
2012-11-13XML tag check in help and readme translationsAndras Timar
Change-Id: Iec88ae875e00777f499cd0044f256275d854dca8
2012-11-11Merge branch 'master' into feature/killsdfAndras Timar
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
2012-11-10Add some check to renewpoZolnai Tamás
Change-Id: I7b90785516f172f7b552a9e5ae30d02f7c52d7cf
2012-11-08Add an extra empty line to lngmergeZolnai Tamás
It worked with eof before so an extra line is needed. See also this commit: 06175e8b19625cb5a43b1ae5ae63e419cee7e053 Change-Id: Ic3f43a52801429258df620229269b8426f1e2995
2012-11-08Correct typo in po headerZolnai Tamás
Change-Id: Ic98467f5c32a0a84af62f68fbe84c68c3e37f1c1
2012-11-08Localize.cxx add correct header to poZolnai Tamás
Belong to dictionaries modul Change-Id: Ifd8303fd294de2369383cc2ce7ebdd1487c90463
2012-11-07integrate librelogo to the buildAndras Timar
Change-Id: I4cd29f6a893d72a49233bb53d19701d0bdd0e078
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