summaryrefslogtreecommitdiff
path: root/bin/tools/translate.py
AgeCommit message (Collapse)Author
2011-02-07[IMP] openerp python module.Vo Minh Thu
- Some logging code moved from netsvc.py to loglevels.py - Changed imports to use the new openerp module - config and netsvc initialization calls move to openerp-server.py - Moved openerp-server.py outside the old bin directory - Some imports in tools moved inside the methods to break mutual-dependencies bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-01-26[REVERT] revisions 3324, 3325, 3326, to be merged globally after complete ↵Olivier Dony
cleanup This corresponds to revids: - vmt@openerp.com-20110126142219-18j842m60diwsdph (3324) - vmt@openerp.com-20110126144255-t8p6g1ggjb7f1dmt (3325) - vmt@openerp.com-20110126151717-tf0q2mx2inj21jls (3326) bzr revid: odo@openerp.com-20110126165030-su3zeobaj7v9d95f
2011-01-26[IMP] tools/netsvc: removed direct dependency of tools on netsvcVo Minh Thu
bzr revid: vmt@openerp.com-20110126144255-t8p6g1ggjb7f1dmt
2011-01-20[FIX] translate: overly restrictive search for terms creates duplicated records.Vo Minh Thu
lp bug: https://launchpad.net/bugs/704894 fixed bzr revid: vmt@openerp.com-20110120125032-rfvwih8wqa1boipl
2011-01-17[FIX] translate: make sure we don't insert null values in ir_translation for ↵Vo Minh Thu
missing ir_data_models. bzr revid: vmt@openerp.com-20110117171608-08a0u7wpc8cx8uu1
2011-01-17[FIX] translation: corrected search on loading translation.Vo Minh Thu
bzr revid: vmt@openerp.com-20110117140504-ha3nilfa7csxh3bs
2011-01-12[FIX] translate: timestamps in PO[T] header entries should use '%Y-%m-%d ↵Olivier Dony
%H:%M %z' format, without %S bzr revid: odo@openerp.com-20110112143141-oezd2djlce1r3x6p
2011-01-07[MERGE] translations: refactoring/deferral of translated resource id ↵Olivier Dony
resolution, fixing several translation issues lp bug: https://launchpad.net/bugs/696760 fixed bzr revid: odo@openerp.com-20110107151735-agubxu82g0ursdbh
2011-01-06[MERGE] bugfixes: default language for partners, password change, validation ↵Olivier Dony
of custom selection fields, ... See the bug links lp bug: https://launchpad.net/bugs/670264 fixed lp bug: https://launchpad.net/bugs/692891 fixed lp bug: https://launchpad.net/bugs/695678 fixed lp bug: https://launchpad.net/bugs/631547 fixed lp bug: https://launchpad.net/bugs/632927 fixed bzr revid: odo@openerp.com-20110106173828-kdv1gtdvbws1ceb5
2011-01-06[IMP] translation: Added two columns to ir_translation to fix the res_ids ↵Vo Minh Thu
after loading is done. Currently res_ids are resolved and written to ir_translation on the fly, as the .po are loaded, line by line. Doing this in a second step should resolve a translation bug and make things faster too. bzr revid: vmt@openerp.com-20110106105021-xj9vah5oz0ceto7i
2011-01-05[IMP] trans_export/trans_load: passing a cursor around instead of a dbname.Vo Minh Thu
bzr revid: vmt@openerp.com-20110105140758-vgoufkd85v6ywrjk
2011-01-04[FIX] all: ensure all open files are closed (partial patch courtesy of ↵Olivier Dony
Lampman Trading) lp bug: https://launchpad.net/bugs/676931 fixed bzr revid: odo@openerp.com-20110104101335-964sl0e71zsgzfjw
2010-12-30Merge with trunk-serverYogesh Sakhreliya
bzr revid: ysa@tinyerp.com-20101230092459-b1xlf2trdw76zn6k
2010-12-30[FIX] default languange set in partner according to database installation ↵Yogesh Sakhreliya
language. bzr revid: ysa@tinyerp.com-20101230091734-0hrmb3fzpdy78w2v
2010-12-29mergeFabien Pinckaers
bzr revid: fp@tinyerp.com-20101229185833-ujdxwg5zyg2i3zf2
2010-12-29[MERGE] translations: source line numbers added in PO, ORM terms exported in ↵P. Christeas
base, XML comments ignored bzr revid: odo@openerp.com-20101229182028-astrsxry7v3lz1eg
2010-12-29tools/translate: import skipped xml types from tools.misc, after recent patchP. Christeas
bzr revid: p_christ@hol.gr-20101229114025-p1aj5tfuf5pwxxw2
2010-12-29tools/translate: don't export comments and PI nodes for translationP. Christeas
We are not going to display them to user, so let the teams skip those strings. bzr revid: p_christ@hol.gr-20101229113334-71fe2bnw1dra167q
2010-12-29translate: implement a counter to export the code line numberP. Christeas
Before this, all code sources were like "#: code:foo/bar.py:0", now they will have line no like "#: code:foo/bar.py:123". Note that the gettext() wouldn't be affected, since it doesn't consult the file name or line so far. bzr revid: p_christ@hol.gr-20101229113306-vo3gflwunq2f75qm
2010-12-29tools/translate: fix couple of errors caught by the lint check.P. Christeas
bzr revid: p_christ@hol.gr-20101229113134-6cz48hjh2hcc186e
2010-12-29translate: export the orm and report code translationsP. Christeas
bzr revid: p_christ@hol.gr-20101229112850-cqe0wxxtewyfdjsk
2010-12-28[ADD] clean-po.py: script to clean .po files.Vo Minh Thu
bzr revid: vmt@openerp.com-20101228155640-hift2uqfcmif1s9r
2010-12-27[IMP] translate: load language xx before xx_XX and overwrite only when a ↵Vo Minh Thu
translation is available. bzr revid: vmt@openerp.com-20101227135800-qwvsk4xwhzrjg6yf
2010-12-21[MERGE] tools.translate, test_reports, res_config: several bugfixes (see ↵Olivier Dony
buglinks) lp bug: https://launchpad.net/bugs/692845 fixed lp bug: https://launchpad.net/bugs/692598 fixed lp bug: https://launchpad.net/bugs/692746 fixed bzr revid: odo@openerp.com-20101221170809-zqusunjw2em9xz9y
2010-12-21translate: fix usage of TinyPoFile.warn() [Bug 692845]P. Christeas
as reported by Phong Nguyen, thanks. bzr revid: p_christ@hol.gr-20101221144646-74a9qy43nbiepbxu
2010-12-21translate: fix skipping one translation per .po file in a .tgzP. Christeas
Thanks TFR for asking me to translate the *single* term that had been missing due that bug! The .po file loop skips the first line of the supplied rows, but the calling was not consistent to always provide the redudant header row. bzr revid: p_christ@hol.gr-20101221144354-chc9oz6r3to75pu1
2010-12-21[FIX] tools.translate: remove useless duplicate lineOlivier Dony
bzr revid: odo@openerp.com-20101221143718-ml2xg42yypn6b8fm
2010-12-21[FIX] re-commit previous merge broken by bzr-rebase: Vo Minh Thu (OpenERP)
translate,orm: simplify loading of field value translations and avoid ignoring them when string has changed (many issues with menus not loaded yet) bzr revid: odo@openerp.com-20101221105843-myzlkd74tci3puer
2010-12-15[IMP] translate: _( ) should always use ir.translation OSV, no fallback to ↵Olivier Dony
direct DB access needed bzr revid: odo@openerp.com-20101215132128-1pxzjrde0bpu5smg
2010-12-15[IMP] ir.translation,tools.translate._(): cleanup and speedup if ↵Olivier Dony
translations via _() - Removed expensive inspect.stack() (courtesy of xrg) - Improved heuristics for detection of context/lang and cursor - Switch to using ir.translation when possible instead of direct DB hit to benefit from cache - Cleanup lp bug: https://launchpad.net/bugs/624114 fixed bzr revid: odo@openerp.com-20101215114019-psrsu998inw6cksu
2010-12-14[FIX] translation in xpathnel@tinyerp.com
bzr revid: nel@tinyerp.com-20101214122911-qxw0vozlqmnzt89q
2010-11-30[MERGE+FIX] fixes for translations,sequence,copy,error messages - some ↵Olivier Dony
patches courtesy of Margarita Manterola and Don Kirkby lp bug: https://launchpad.net/bugs/672130 fixed lp bug: https://launchpad.net/bugs/663775 fixed lp bug: https://launchpad.net/bugs/673194 fixed lp bug: https://launchpad.net/bugs/663977 fixed bzr revid: odo@openerp.com-20101130110940-0tf6ra0uwhiptieb
2010-11-26[FIX] po file parser: database creation crashes if res_id is an empty stringolt@tinyerp.com
bzr revid: olt@tinyerp.com-20101126082048-ndc55bsf4vo3cu2c
2010-11-25[IMP] tools.translate: more lenient with malformed PO entriesOlivier Dony
bzr revid: odo@openerp.com-20101125172236-son3382958xbds8y
2010-11-25[IMP] tools.translate: use consistent logging APIOlivier Dony
bzr revid: odo@openerp.com-20101125172144-3z0rs97u50q142vx
2010-11-25[MERGE] many improvements regarding translations, logging, reports, http, speedP. Christeas, O. Dony
bzr revid: odo@openerp.com-20101125142219-8bkqfboyuslzpvyo
2010-11-24Confirm message support translation and exportMargarita Manterola
bzr revid: ysa@tinyerp.com-20101124093647-hbh2gzghkf39desi
2010-11-24revert rev no :-3030Yogesh Sakhreliya
bzr revid: ysa@tinyerp.com-20101124093435-3d7ioctc8raaf1j2
2010-11-24Confirm message support translation and export--author=Margarita ManterolaYogesh Sakhreliya
bzr revid: ysa@tinyerp.com-20101124091207-5gccf6h5h0hgu06i
2010-11-23translate: fix default arguments after last patchP. Christeas
bzr revid: p_christ@hol.gr-20101123152740-pn9mbptpdvw0sz98
2010-11-23translate: don't complain about fuzzy strings.P. Christeas
They are part of the format and ought to be silently discarded. bzr revid: p_christ@hol.gr-20101123135858-zkp7hjcn4slv3r57
2010-11-23translate: port to pythonic logging, filename in a messageP. Christeas
It is good to know which .po file we are currently loading. Warning: some messages moved from the 'db' logger to the 'i18n' one. bzr revid: p_christ@hol.gr-20101123135835-k6d6r7sgif5zhb75
2010-11-16translate: fix scanning the ir.models for translationsP. Christeas
The loop would only consider models that have >0 records registered in ir.model.data. This is merge of commits 3988ebf4dc130, 070e7d6ac717de and adapt to trunk. bzr revid: p_christ@hol.gr-20101116163510-yemzlcy0f0yk893l
2010-11-16[IMP] tools.translate: improved debug message for illegal values in PO termsOlivier Dony
bzr revid: odo@openerp.com-20101116141508-jls1v2rqyvb7pf0v
2010-11-16[IMP] tools.translate: various improvements to tranlations export/import, ↵Olivier Dony
courtesy of P. Christeas: - better support for multiline labels - better support for multiple addons paths bzr revid: odo@openerp.com-20101116123844-mo9mljrzduzs90gg
2010-10-20[FIX] translations: export wizard should also export _sql_constraints + cleanupOlivier Dony
bzr revid: odo@openerp.com-20101020163822-myx69vpr1vavlqru
2010-10-20[ADD] languages: add support for more spanish locales (latin america)Olivier Dony
lp bug: https://launchpad.net/bugs/660933 fixed bzr revid: odo@openerp.com-20101020161843-rpdcihejmiluv3k7
2010-10-20[IMP] Added cli args to load one or more languages translation terms ↵Julien Thewys
automatically. Mainly used to automate languages installation at DB initialization. bzr revid: jth@openerp.com-20101020144248-q20vnt72ovx3md96
2010-10-17[FIX] translation terms overwritedFabien Pinckaers
bzr revid: fp@tinyerp.com-20101017154335-fhdwj610nkqfez9w
2010-10-12[IMP] tools.translate: log at debug level rather than warning when a ↵Olivier Dony
translation fails bzr revid: odo@openerp.com-20101012182042-d2wcjr2jru9k7j17