summaryrefslogtreecommitdiff
path: root/l10ntools
AgeCommit message (Collapse)Author
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-23update l10ntools READMEAndras Timar
Change-Id: Idd31818e2fca33951bceb6e4b64fa57b43f8e7be
2012-11-23remove remainder of gsicheckAndras Timar
Change-Id: I463fd97de5106da44326db77e7f9589926f71b20
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-21remove from Packages_scripts the removed scriptsCaolán McNamara
since 4a51910761b1f528cc21a4d0cc7035108d46aa63 Change-Id: I17b670769da4ac1c91dabda2aa3d42c458c12135
2012-11-21remove 3 unused Perl scripts from l10ntoolsAndras Timar
Change-Id: Ie2e8fa776b5a7a7293498607fe55dcdfce273594
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-20Fix libxml2 usage in l10ntoolsStephan Bergmann
Change-Id: I746af9162d5cd01e0ce0a9f469f0771d7934ba2d
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 system boostPeter Foley
Change-Id: Id80557cb47ab471a0f3a643a1c11a59e89c14c54
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-11fix transex againPeter Foley
Change-Id: If66ff22becad085e320ae34a36415d37c537265c
2012-11-11transex needs boostPeter Foley
Change-Id: Ia82dc2bba4ee90d50cf11fecfa7858d8ef179fcd
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-10l10ntools needs boostPeter Foley
Change-Id: Ie4b697b6549e300dcf8c0d788e6c9c0f50e677c2
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