diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-08-29 14:17:51 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-09-03 11:02:43 +0200 |
| commit | 1566c0ab3b6465e60fb796393ed1650525110477 (patch) | |
| tree | 3a341b6e4b41f60ffd99544aa7ac4870adc21ec9 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | e6390a76a6edbe4823cb1048aacaa6a2b6bfa440 (diff) | |
[FIX] tools: avoid loading duplicated code translation
This commit fixes two bugs:
- a8469c45 was fixing the case where the first line was not 'code' but broke
the usecase where a po started with code line
- Correct the usecase where a pot and po file do not have the same line of code
by matching on res_id=0
This avoids to have a pot expecting a code message at line 42 and a translation
at line 43
Closes #26722
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
