Commit Graph

76 Commits

Author SHA1 Message Date
Xavier Morel 42f7f57f33 [EXP] export translatable strings to templates
bzr revid: xmo@openerp.com-20120206163406-vf12k01nxqbhnt3q
2012-02-06 17:34:06 +01:00
Olivier Dony 7ebc5bdba3 [IMP] refactored translation system to merge web translations with addons translations
- Moved the web *.po files to /i18n to be consistent
  with the addons convention. Using /po was considered
  for a while because it played better with LP's auto-
  detection of PO Templates, but that is not necessary
  anymore, we now have full control on LP templates.

- In order to support addons that contain translations
  for both the web addon and the regular addon part,
  both kinds of translations are now merged in a single
  addon/i18n/addon.pot file. Terms that are used by
  the web part are now marked with a PO annotation:
     #. openerp-web
  so the web client can recognize them and only load
  the relevant translations in the browser memory.
  This is important because a complete PO file can
  be rather large, e.g. account/i18n/de.po = 400KB.

- The web translation export scripts were updated to
  behave properly for addons that have a non-web
  part, and will merge the web translation in the
  original POT file, annotating the web translations
  as needed. These scripts are Unix-only and meant
  to be used by OpenERP packagers when needed.

- The GetText spec says that PO auto-comments indicating
  the source location have this form:
   #: /path/to/file:lineno
  However OpenERP's POT export system defaults to a modified
  version of this format with an extra 'type' field:
   #: type:/path/to/file:lineno
  The babel extractors we use have the GetText format 
  hardcoded so a small patch is needed on the server
  to make it more lenient and accept the standard
  source annotation, defaulting to 'code' type.
  This does not matter for openerp-web, but makes sure
  the server will not fail to load the new PO files 
  that contain openerp-web translations with standard
  annotations.
  The patch for making the server more lenient was
  checked in trunk at revision 4002 
  rev-id odo@openerp.com-20120202143210-05p1w24t6u77cyv8

- The existing translation sync and export wizards for
  regular addons have not been updated to consider
  web addons, so for the time being we will have
  to export regular addons terms first, and run the
  web export script (gen_translations.sh) on the
  addons directory afterwards. This could be improved
  later.

As soon as this change is merged we will have to
perform a full update of addons translation
templates in order to include the web terms as well.

bzr revid: odo@openerp.com-20120202145603-ffo0il0qnfp3r6gt
2012-02-02 15:56:03 +01:00
Launchpad Translations on behalf of openerp 52e0383f2c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120104044826-ms01gyypcfio5flg
bzr revid: launchpad_translations_on_behalf_of_openerp-20120104051810-r42jfkfmn23nypsg
2012-01-04 05:18:10 +00:00
Launchpad Translations on behalf of openerp 953187de8e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111221052822-lovgfl628rt04pro
2011-12-21 05:28:22 +00:00
Xavier Morel 7049024898 [FIX] translation of advanced filter strings
* Made title of group ('Advanced Filters') available for translation
* Fixed translation mark for advanced filter operators (class level, need to be lazy)
* Re-extracted translation strings

and marked selection strings of boolean search widget while at it

lp bug: https://launchpad.net/bugs/906963 fixed

bzr revid: xmo@openerp.com-20111220175137-r3jeh6q8g4c92xf9
2011-12-20 18:51:37 +01:00
Launchpad Translations on behalf of openerp 8b0311d85e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111217053507-nn68mi7hzemvsfzf
bzr revid: launchpad_translations_on_behalf_of_openerp-20111218044245-2ybd6g6q1730qp1g
2011-12-18 04:42:45 +00:00
Xavier Morel a8286263ff [ADD] lazy translation function, to correctly translate strings in contexts evaluated before the translation db has been loaded
bzr revid: xmo@openerp.com-20111216130000-56qd717d79529opy
2011-12-16 14:00:00 +01:00
Xavier Morel c9b93aea94 [EXP] export translations for view names
lp bug: https://launchpad.net/bugs/904989 fixed

bzr revid: xmo@openerp.com-20111216112207-nzh3ture66un7t4g
2011-12-16 12:22:07 +01:00
Launchpad Translations on behalf of openerp 2d1baf3dda Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111216052448-trqaat8m6335nctw
bzr revid: launchpad_translations_on_behalf_of_openerp-20111216052507-5r7nig2ys4fyef7f
bzr revid: launchpad_translations_on_behalf_of_openerp-20111216060814-z34sm1fdvd230j37
2011-12-16 06:08:14 +00:00
Xavier Morel c7f3185c0b [EXP] export translation templates for strings marked during previous revision
bzr revid: xmo@openerp.com-20111215104145-lzffvxr7co3khck1
2011-12-15 11:41:45 +01:00
Xavier Morel a44dd489d0 [TNL] updated translation template files
bzr revid: xmo@openerp.com-20111215100827-01nokry6vxbw3swh
2011-12-15 11:08:27 +01:00
Launchpad Translations on behalf of openerp 21dcfb26ff Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111210045636-oq5wphio5a00dn29
bzr revid: launchpad_translations_on_behalf_of_openerp-20111210052339-bpnw0helnigf6bay
2011-12-10 05:23:39 +00:00
Xavier Morel 8e760071cb [EXT] extract translatable strings to pot files
bzr revid: xmo@openerp.com-20111209093409-gjarrp10hwy0uogm
2011-12-09 10:34:09 +01:00
Launchpad Translations on behalf of openerp 33767eb356 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111206052824-y4sqcyq1zvz4jj25
bzr revid: launchpad_translations_on_behalf_of_openerp-20111206055923-0ajpo39vg9xuf5ef
2011-12-06 05:59:23 +00:00
Xavier Morel ab2d749dd6 [EXT] extract POT files
bzr revid: xmo@openerp.com-20111205105101-ondavioyfv87xldl
2011-12-05 11:51:01 +01:00
Launchpad Translations on behalf of openerp 20c2ebf9cc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111203051322-9okh062mnsk6z7rl
bzr revid: launchpad_translations_on_behalf_of_openerp-20111205052156-xdi2wl4c0i6c943y
bzr revid: launchpad_translations_on_behalf_of_openerp-20111204044348-1h1ykzimferyb15x
bzr revid: launchpad_translations_on_behalf_of_openerp-20111205052228-xpcasqkuz99hp3bx
bzr revid: launchpad_translations_on_behalf_of_openerp-20111202052804-fp30z23u77bb8xsq
bzr revid: launchpad_translations_on_behalf_of_openerp-20111203054648-32m102m6zeyp2w96
bzr revid: launchpad_translations_on_behalf_of_openerp-20111204050726-v3ccozl63rq6hwt3
bzr revid: launchpad_translations_on_behalf_of_openerp-20111205054444-8otpyzxplw2r1zo8
2011-12-05 05:44:44 +00:00
Vo Minh Thu ed2b473350 [IMP] all manifest files: removed white space, moved the description to a multi line string.
bzr revid: vmt@openerp.com-20111125110715-lov9690uy5hnrpr1
2011-11-25 12:07:15 +01:00
Naresh (OpenERP) b193fc9108 [IMP]:added temporary description in web addons modules to avoid server warnings log the official description is yet to be decided by web team
bzr revid: nch@tinyerp.com-20111125053225-cbckxm2gfuoaph06
2011-11-25 11:02:25 +05:30
Olivier Dony b2b70870e5 [I18N] update PO templates for all addons after enabling LP translation sync
bzr revid: odo@openerp.com-20111007083949-0mz4q7fwtmyps8nu
2011-10-07 10:39:49 +02:00
Antony Lesuisse 77a3624fa1 [IMP] set module category to Hidden
bzr revid: al@openerp.com-20111005143607-7p5z3gn4ddt3pios
2011-10-05 16:36:07 +02:00
niv-openerp bce36d2dad [imp] desactivated auto loading of web_hello
bzr revid: nicolas.vanhoren@openerp.com-20110928151922-pxnduq0tvmofv7am
2011-09-28 17:19:22 +02:00
Christophe Simonis 1d2d17a365 [MERGE] merge upstream + code adaptation to revid:al@openerp.com-20110927001435-vttw23epyru5gm0b
bzr revid: chs@openerp.com-20110927085435-pipko7w752conp3a
2011-09-27 10:54:35 +02:00
Christophe Simonis 01eff42ca2 [ADD] key in manifest allowing auto loading of modules
bzr revid: chs@openerp.com-20110920154358-gpv2ahph6gbtlmiy
2011-09-20 17:43:58 +02:00
niv-openerp 1ad1e8b028 [imp] refactoring of the translations according to rename of base to web
bzr revid: nicolas.vanhoren@openerp.com-20110906100336-2eqs2wboru6aqyop
2011-09-06 12:03:36 +02:00
Antony Lesuisse 4989aadc90 rename base to web part4 xmo review fixes
bzr revid: al@openerp.com-20110905134457-6y16fe1m6u22ggeq
2011-09-05 15:44:57 +02:00
Antony Lesuisse bedfc48dcf rename base into web part1
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00