summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-05-27 08:03:55 +0000
committerNicolas Martinelli <nim@odoo.com>2019-05-27 09:11:25 +0000
commitc868da4de607d48d27d5cf9852871ed4698627f8 (patch)
treefd20a8b82038082df9036c686953cef133c89d66 /addons/web/static/src/js/fields/basic_fields.js
parentccdaf9a08572886f152ec929296765a0bb649acd (diff)
[FIX] tools: export UTF-8 characters
- Install Babel 2.3.4 as specified in the `requirements.txt` - In a Python file, do not add the line `# -*- coding: utf-8 -*-` - Create a translatable string with a non-ASCII character, e.g. `Amount in €` - Export the translation The exported term is incorrect: `Amount in â¬`. Since the default encoding for Python 3 is UTF-8, it is logical for the Babel extraction to use it as a default encoding. The issue was solved in Babel 2.4.0 with commit: https://github.com/python-babel/babel/commit/33a8fc40d417b401162e2d20021fcbebcc4ab7db opw-1984480 closes odoo/odoo#33671 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions