Commit Graph

175 Commits

Author SHA1 Message Date
Christophe Simonis 74b55c57e7 [FIX] handle the case when 'selection' in wizard are functions
[FIX] handle the case when the rml or the xsl are not correct xml

bzr revid: christophe@cobalt-20081219230001-n2o1s5nxfesgegdw
2008-12-20 00:00:01 +01:00
P. Christeas 18b1a8a843 Merge commit 'origin/master' into mdv-gpl3-fwd
Conflicts:

	bin/addons/base/ir/ir_actions.py
	bin/netsvc.py
	bin/report/report_sxw.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20081218164925-uarehzvo3ocu0x2w
2008-12-18 18:49:25 +02:00
Christophe Simonis 4874f78914 [FIX] fix python 2.4 compatibility
bzr revid: christophe@cobalt-20081218092727-vhhti8qj1em32xdc
2008-12-18 10:27:27 +01:00
Christophe Simonis 4d3b928610 [FIX] translate help of fields in wizards
[FIX] fix unicode errors when exporting translations files

lp bug: https://launchpad.net/bugs/308563 fixed
lp bug: https://launchpad.net/bugs/308644 fixed

bzr revid: christophe@cobalt-20081216162112-75r2kaflg3af0xxb
2008-12-16 17:21:12 +01:00
P. Christeas 087f5bc171 Merge commit 'origin/master' into mdv-gpl3
Conflicts:
	bin/report/interface.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20081215095422-9jc4m1qrknku6ux8
2008-12-15 11:54:22 +02:00
Fabien Pinckaers cb59d883b8 bugfix_cache_speed_improvement_store
bzr revid: fp@tinyerp.com-20081213060118-icn54am74m6ntyqw
2008-12-13 07:01:18 +01:00
P. Christeas 77a1e920d9 Try to print line no at malformed .po.
bzr revid: p_christ@hol.gr-20081211175936-642lc4ytppjhmkve
2008-12-11 19:59:36 +02:00
Stephane Wirtel 0d07e64e71 [IMP] Remove the print statements
bzr revid: stephane@tinyerp.com-20081210212525-lfastpg2wkepfsbt
2008-12-10 22:25:25 +01:00
P. Christeas 281c7c980a Merge commit 'origin/master' into mdv-gpl3
bzr revid: p_christ@hol.gr-20081207195509-2tb8fb3d7qr2xigt
bzr revid: p_christ@hol.gr-20081210075901-97mt6chs3ljokpsx
2008-12-10 09:59:01 +02:00
Christophe Simonis 75a195153f [FIX] allow selections in (old style) wizards to be translated (idea from Activity Solutions)
bzr revid: christophe@tinyerp.com-20081205134332-hkwjiy5fulyh5o2i
2008-12-05 14:43:32 +01:00
Christophe Simonis 23d5e09e28 [IMP] move oswalksymlinks to a new module tools.osutil
bzr revid: christophe@tinyerp.com-20081204153656-l247acif1eqvyvl0
2008-12-04 16:36:56 +01:00
Christophe Simonis 97725e1bc0 [IMP] po file generation: write the string format after the #: comments, like launchpad generated files
bzr revid: christophe@tinyerp.com-20081201092553-a7tfa7iydmeq4i5d
2008-12-01 10:25:53 +01:00
Christophe Simonis 0e8f4ebf17 [IMP] better error message
bzr revid: christophe@tinyerp.com-20081128193434-nf87l3pafnjoy0hx
2008-11-28 20:34:34 +01:00
P. Christeas 17631aef94 Merge branch 'master' of openobject-server into mdv-gpl3
Conflicts:
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20081124152658-xvkszq1j9xrm98mv
2008-11-24 17:26:58 +02:00
Fabien Pinckaers a2fddb8b40 bugfix
bzr revid: fp@tinyerp.com-20081123111128-a2vqz7wf6w89popv
2008-11-23 12:11:28 +01:00
Fabien Pinckaers 21a9b9e064 bugfix_301049
bzr revid: fp@tinyerp.com-20081123110717-c7odqp2ri7du65s0
2008-11-23 12:07:17 +01:00
Stephane Wirtel 681f77aa0c [FIX] Use get_languages instead of scan_languages ( Sorry, It is my fault )
lp bug: https://launchpad.net/bugs/299433 fixed

bzr revid: stephane@tinyerp.com-20081118152153-dim22dfbj5i8pg4u
2008-11-18 16:21:53 +01:00
Stephane Wirtel 115fff5b23 [IMP] Use scan_languages instead of get_languages
bzr revid: stephane@tinyerp.com-20081117172526-1kxpcstje4czrkpx
2008-11-17 18:25:26 +01:00
P. Christeas ee881fa7e0 Armor the export lang wizard against faulty model fields.
Sometimes objects or field definitions in db may have some errors
(especially in dev setups). The export translation algorithm should
just skip those fields and try to continue, instead of raising an
exception. These errors can still be logged, of course.

bzr revid: p_christ@hol.gr-20081115085854-2xpnypbas4sxt15u
2008-11-15 10:58:54 +02:00
P. Christeas 8220e0ad02 Merge commit 'origin/master' into mdv-gpl3
Conflicts:
	bin/tools/convert.py

bzr revid: p_christ@hol.gr-20081025224421-g367ati5b2eeplw6
bzr revid: p_christ@hol.gr-20081104201238-oy0vgsunt2jxgu2p
2008-11-04 22:12:38 +02:00
Christophe Simonis e404e54e38 passing in GPL-3
bzr revid: christophe@tinyerp.com-20081103182716-6c6xyeewubx4uas0
2008-11-03 19:27:16 +01:00
Christophe Simonis 1e834353d6 translations: avoid a traceback
bzr revid: christophe@tinyerp.com-20081020133457-s87zop6uv2t6jwpe
2008-10-20 15:34:57 +02:00
Christophe Simonis 9d11c67875 po files: allow empty lines between comments and msgid
bzr revid: christophe@tinyerp.com-20081015074953-rx39rgezl92egybn
2008-10-15 09:49:53 +02:00
P. Christeas 6f9502fb15 Merge commit 'origin/master' into mandriva
bzr revid: p_christ@hol.gr-20081012165205-zphnae4304mjqh2a
bzr revid: p_christ@hol.gr-20081014123954-ywk9rwhquzmlhidw
2008-10-14 15:39:54 +03:00
P. Christeas d85b9a74fa Behave better at exceptions (l10n, __getitem__() )
bzr revid: p_christ@hol.gr-20081010091805-93a1el2izcfdc5an
2008-10-10 12:18:05 +03:00
Olivier Laurent c69b5b407d Bugfix: TinyPOFile has no attribute 'lines'
bzr revid: olt@tinyerp.com-20081009085245-ylhhnkq8e1xkcaiw
2008-10-09 10:52:45 +02:00
Olivier Laurent 97764f0bb6 PO file header lines should end with '\n' (otherwise Launchpad po file exports are messed up)
bzr revid: olt@tinyerp.com-20081009082416-8w2p6hct02zdagcj
2008-10-09 10:24:16 +02:00
Olivier Laurent 826bcde116 no comments after line termination character ('\')
bzr revid: olt@tinyerp.com-20081009081957-nmp21w4p1px2v87g
2008-10-09 10:19:57 +02:00
Olivier Laurent 0ccdb8ef9d no comments after line termination character ('\')
bzr revid: olt@tinyerp.com-20081009081442-9o4185ci4nlsmeu1
2008-10-09 10:14:42 +02:00
Olivier Laurent 7c201f3220 Bugfix:
AttributeError: 'list' object has no attribute 'get'
  context was a list instead of a dict
  resolution: use 'read' method instead of 'browse'

bzr revid: olt@tinyerp.com-20081009080041-ddju2msf57t2xy5m
2008-10-09 10:00:41 +02:00
Olivier Laurent f9d30d3e96 Handle the BOM (Byte Order Mark) in PO files
bzr revid: olt@tinyerp.com-20081008152805-va7a54971td4affo
2008-10-08 17:28:05 +02:00
P. Christeas a73e9eb836 Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mandriva
bzr revid: p_christ@hol.gr-20081006205715-p1hzrsvutwlozt5m
bzr revid: p_christ@hol.gr-20081008092006-9vq68ehp9ck1tnml
2008-10-08 12:20:06 +03:00
Christophe Simonis 8c3108a829 bugfix with po file import
bzr revid: christophe@tinyerp.com-20080930130726-j4n4gmlgz8wv92fv
2008-09-30 15:07:26 +02:00
P. Christeas df41f43f20 When importing .po files, drop the fuzzy entries.
bzr revid: p_christ@hol.gr-20080929204115-rf704z1m9ugikz3w
2008-09-29 23:41:15 +03:00
Christophe Simonis 941c766687 improve the use of release.py
bzr revid: chs@tinyerp.com-20080912194504-yggsuaa992dgekqw
2008-09-12 21:45:04 +02:00
Christophe Simonis 2a54df0171 bugfix with the import/export of po files
bzr revid: christophe@tinyerp.com-20080911151544-of3tvjpiwydawyna
2008-09-11 17:15:44 +02:00
Christophe Simonis 17c49602e1 fix with lang import
bzr revid: christophe@tinyerp.com-20080910131416-5xhjytbofrshmm9t
2008-09-10 15:14:16 +02:00
Stephane Wirtel dbe1e8ca98 Rename Tiny ERP to OpenERP
Rename tinyerp to openerp

bzr revid: stephane@tinyerp.com-20080910084640-bg1h1bre7mwky8s0
2008-09-10 10:46:40 +02:00
Christophe Simonis b7fbf0aa72 fix with code source walking in translation export
bzr revid: christophe@tinyerp.com-20080908075251-gbr4dp0vyl5dhv9u
2008-09-08 09:52:51 +02:00
Christophe Simonis 6fbedbf2e5 add (and use) method tools.oswalksymlinks
bzr revid: christophe@tinyerp.com-20080904235001-3ix8x19mcdobihwo
2008-09-05 01:50:01 +02:00
Christophe Simonis b30f507f97 translations:
*/ fix bug when importing po files
	*/ fix encoding bug when exporting po files
	*/ set logging optional when importing files
	*/ remove commented code
	*/ mmh ... nothing else...

bzr revid: christophe@tinyerp.com-20080904132841-yepj78a97rw7geaw
2008-09-04 15:28:41 +02:00
Christophe Simonis 7d39292eae export lang tgz: fix tar warning
bzr revid: christophe@tinyerp.com-20080902151305-w0ydcbcd0cw97um1
2008-09-02 17:13:05 +02:00
Christophe Simonis 39a34fdd43 only strings in python code are python formated
bzr revid: christophe@tinyerp.com-20080902150144-2i8b15x2xb2z8m58
2008-09-02 17:01:44 +02:00
Christophe Simonis df1e1de0e3 do not export empty translatable strings
bzr revid: christophe@tinyerp.com-20080902130214-ws57mk8zjzqyeb7r
2008-09-02 15:02:14 +02:00
Fabien Pinckaers 51fe0efd16 Small bugfixes
bzr revid: fp@tinyerp.com-20080901192902-zftoynk3cxktmbn9
2008-09-01 21:29:02 +02:00
Christophe Simonis 78fce194ca export lang as po file: bugfix: msgid must be unique
bzr revid: christophe@tinyerp.com-20080822093914-bk6hahvstngwkgxj
2008-08-22 11:39:14 +02:00
Christophe Simonis c4c6bea2d1 * allow export of translation po files into a tgz archive.
* allow export of a new language from the command line

bzr revid: christophe@tinyerp.com-20080819131016-nghtt1x274evlwi4
2008-08-19 15:10:16 +02:00
Amit Mendapara 26642d153f Improved `GettextAlias`
bzr revid: ame@tinyerp.com-20080805080243-q1hdoh06h20s19id
2008-08-05 13:32:43 +05:30
Christophe Simonis ba0c939bb8 merge
bzr revid: christophe@tinyerp.com-20080723163328-wyr58fg7gntstz1v
2008-07-23 18:33:28 +02:00
Christophe Simonis 2eb6b8265b add encoding comment and vim comment
bzr revid: christophe@tinyerp.com-20080723150127-fmitw7zgeokcualh
2008-07-23 17:01:27 +02:00
Christophe Simonis 19d0053be2 export language: no crash when no modules selected
bzr revid: christophe@tinyerp.com-20080723114600-1aqq8m974dbp8vda
2008-07-23 13:46:00 +02:00
Christophe Simonis 2dd9723b8b convert tabs to 4 spaces
bzr revid: christophe@tinyerp.com-20080722142436-143iu4ryy47w3av0
2008-07-22 16:24:36 +02:00
Christophe Simonis 63ceebdf36 i18n: allow export into a po file from command line
bzr revid: christophe@tinyerp.com-20080722073843-16r67df83yz8z0tb
2008-07-22 09:38:43 +02:00
Christophe Simonis 2ccf0092a7 * the translations are graphically exportable by module
* allow importation of po files

bzr revid: christophe@tinyerp.com-20080718131350-tftqhvwyyaz8r1q9
2008-07-18 15:13:50 +02:00
Christophe Simonis 270b2c5329 translation: allow export in .po format
bzr revid: christophe@tinyerp.com-20080717102236-iyx46ut1s3a9roos
2008-07-17 12:22:36 +02:00
Christophe Simonis d309f8fee5 allow the translation of the constraints
bzr revid: christophe@tinyerp.com-20080715134226-c6ncgg2xrwnbce5c
2008-07-15 15:42:26 +02:00
Christophe Simonis 4e80903f94 now _() works !
but bzr...

bzr revid: christophe@tinyerp.com-20080715084023-tzhwid7be6r8067u
2008-07-15 10:40:23 +02:00
Christophe Simonis 0b1dfd702f * translation of nearly all exceptions
* the export of translations per module take only the files of these modules

bzr revid: chs@tinyerp.com-52cb3686b17250df7bc23bf90d18397c7888e6f2
2008-07-08 08:13:12 +00:00
Fabien Pinckaers b70a2eb8a2 Bugfixes for translations
bzr revid: fp@tinyerp.com-92a675652aeb105bd3ee5af9f85914a68757b111
2008-06-30 16:00:07 +00:00
Fabien Pinckaers 8d16581e0f Improvements inmenus
Translations by modules
removed print statement

bzr revid: fp@tinyerp.com-eddee689d274afc56e6b7703a7cd22b9792f2c7b
2008-06-17 20:17:23 +00:00
Fabien Pinckaers 17db037990 Improvements
bzr revid: fp@tinyerp.com-dd48c1c3ca315d8ee6bf962b6af334ade92a0fc7
2008-06-16 18:27:17 +00:00
stw fa973350b9 add the copyright
bzr revid: stw-6e4c16268c7d6111a353b94a6a629d2ca53d0474
2008-06-16 07:24:04 +00:00
ced a7f98a9c6a Fix translation
- use the right xml_id
- create xml_id for inherited object
- use only '\n' for csv file
- fix fr_FR translation

bzr revid: ced-109e236103914fcaaa2ed6ee0147937ea5d9278b
2007-10-24 06:14:05 +00:00
ced c04edc8011 Improve translation
csv file contain xml_id instead of the id if it is possible.

bzr revid: ced-e284bbeeb884e63564557e14935a7d7a21ae0830
2007-10-24 06:13:55 +00:00
ced e7ac3b5f85 Improve translation
- Translate help text
- Better view of translation
- Fix wizard that import lang

bzr revid: ced-008b5b15580909d32caa00121c0c1c20622c4fd3
2007-10-24 06:13:53 +00:00
ced 09ff179794 Commit each translation line and add close cursor if db creation failed
bzr revid: ced-5bfff263123f152e491840c9dab5a048a4344634
2007-10-04 05:58:43 +00:00
ced 5695b14a42 Fix logger in translate
bzr revid: ced-70c4b63da8213890592742672c79704052e305ab
2007-08-16 07:48:15 +00:00
ced 37d45e4ffb kernel: change print into logger
bzr revid: ced-d674c12d0594923521709de38d68636aa14e30a0
2007-07-10 15:25:20 +00:00
ced 6b2d75997e SERVER: improve categories and fix some language mistake
bzr revid: ced-0e6eacc79c03250f2d5fd8172cb5db6cdd6551e3
2007-06-22 10:18:03 +00:00
ced 655ee8cf3d CLIENT,SERVER: add sum tag on tree view that display sum of the selected lines
bzr revid: ced-29c0dc80cfd619f24d4c96fb8e74708c64a68e8d
2007-06-19 06:25:04 +00:00
ced 521d64794f BASE: fix import the same lang
bzr revid: ced-5f85dc28c4c3abf998841988f9681606118f0ba2
2007-01-09 14:45:24 +00:00
ced e6eefb68a6 TOOLS: Fix export translate for wizard
bzr revid: ced-5336c9fc55f97d6c98ecb1950b04667a1193f2e6
2006-12-19 07:31:34 +00:00
ced 0a3981a1ef Fix DB name in translate tools
bzr revid: ced-26ebaa4622839045680def002725e72413dcc9e6
2006-12-13 15:32:36 +00:00
ced c7bd21707e Fix translate tools for bad code
bzr revid: ced-42fe9818dc648d5c095c79b1b6ac7c5394b2a41d
2006-12-08 07:57:38 +00:00
pinky 004a0b996f New trunk
bzr revid: pinky-3f10ee12cea3c4c75cef44ab04ad33ef47432907
2006-12-07 13:41:40 +00:00