summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2021-02-22 10:41:02 +0000
committerChristophe Monniez <moc@odoo.com>2021-03-19 10:35:55 +0000
commit9184ae45e0df179fc093c1fc48a7fa56d8fe9594 (patch)
tree04d93f222e071f688137acce243d16b96d998307 /doc
parent0f6fdce76809af7e965f672970d74594a337f6fb (diff)
[IMP] tests: add a test to avoid translations of template strings
When a template string that contains an expression is translated, the resulting msgid is wrong. e.g.: _t(`blah blah ${expression}`) will generate a wrong msgid like this: msgid "blah blah ${expression}" With this commit, a new test is added to find and forbid translations of JS template-strings. closes odoo/odoo#68126 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions