Commit Graph

11 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp 518735c78b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120306052918-hvjamh4ym691nfau
2012-03-06 05:29:18 +00:00
Fabien Meghazi d9a626a32c [EXT] Extract pot files
bzr revid: fme@openerp.com-20120305183853-kybvgxnlb9pg6iax
2012-03-05 19:38:53 +01:00
Launchpad Translations on behalf of openerp f95d98807c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218071814-qv5c1xw4260ns8r8
2012-02-18 07:18:14 +00:00
Carlos Vásquez bad6cde80e [ADD] es_CR.po: in all modules
bzr revid: carlos.vasquez@clearcorp.co.cr-20120208083551-nev12pk8a4jnrou4
2012-02-08 02:35:51 -06:00
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
niv-openerp 3002bd091f [imp] removed bunch of old stuff in widget
bzr revid: nicolas.vanhoren@openerp.com-20120124145810-lr2y8igt9iqzqepn
2012-01-24 15:58:10 +01: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
Antony Lesuisse 77a3624fa1 [IMP] set module category to Hidden
bzr revid: al@openerp.com-20111005143607-7p5z3gn4ddt3pios
2011-10-05 16:36:07 +02:00
Xavier Morel 0166aeabff [ADD] bunch of tests
bzr revid: xmo@openerp.com-20110920122820-5ql07msi0zjljhxn
2011-09-20 14:28:20 +02:00