Commit Graph

11 Commits

Author SHA1 Message Date
Olivier Dony 96c36e895c [I18N] Update all 7.0 translation templates with latest terms and annotations
Total new terms: 168
Total deleted terms: 95
Total identical terms: 16329
(Some modules skipped, typically all l10n_* modules)
2014-08-14 02:24:24 +02:00
Olivier Dony cd6279b8fc [I18N] Synchronize translation templates with latest source code
bzr revid: odo@openerp.com-20130607194513-19an571lbpbbzlfz
2013-06-07 21:45:13 +02:00
Olivier Dony 13092cfab4 [I18N] web_*: update translation templates for latest term changes due to bug fixes
bzr revid: odo@openerp.com-20130307121731-m5nj8g59fbisfjhz
2013-03-07 13:17:31 +01:00
Olivier Dony 4596feb5b1 [I18N] Update translation templates for latest changes - ready for 7.0 release
bzr revid: odo@openerp.com-20121221170955-i3pft8ica12js1nr
2012-12-21 18:09:55 +01:00
Olivier Dony e91080c251 [I18N] Update translation templates with latest terms
bzr revid: odo@openerp.com-20121130183717-5a4h24j8b5v7kxfl
2012-11-30 19:37:17 +01:00
Olivier Dony ac589faf43 [I18N] Update translation template in preparation for 7.0 release
bzr revid: odo@openerp.com-20121124023937-bqm6b5wdsyiyetxi
2012-11-24 03:39:37 +01:00
Xavier Morel 3589e1d0f4 [MERGE] jQuery.timeago translation support, re-extract POTs
bzr revid: xmo@openerp.com-20120702071428-0y2wuvn8wajvi6we
2012-07-02 09:14:28 +02:00
Xavier Morel 980e2825d5 [IMP] get translated JS strings outside of QWeb attributes as the corresponding extractor does not actually work, export POTs
bzr revid: xmo@openerp.com-20120214142954-4ndkj63pog39ts0k
2012-02-14 15:29:54 +01:00
Olivier Dony 8e843bdb26 [I18N] Update translation templates (web,kanban) for the minor recent term changes
bzr revid: odo@openerp.com-20120209180523-b41ubljpsdz17jrm
2012-02-09 19:05:23 +01: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