diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-12-11 12:39:55 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-12-12 12:23:09 +0000 |
| commit | 200045d33779d12147512e47683584ee85c4ddd1 (patch) | |
| tree | 4841c6e08ec95c1b89a1acbe4ce64e9680fb4ff8 /addons/note/data/res_users_data.xml | |
| parent | 2cc8316c669f41c71b2fb73ed416f1118e62f9c1 (diff) | |
[FIX] base: update en_US translation on src update
On the website when you modified a string with not much change, we
modify the translation source so they are not dropped.
But we also do it for an en_US translation, so if we have a translation:
lang=en_US/src=helloworld/value=helloworld
if we change `helloworld` by `helloworld!` the translation would become:
lang=en_US/src=helloworld!/value=helloworld
which would make it seem like the change did not work at all.
Without change, modifed test fail on second:
self.assertEqual(view.with_env(env_us).arch_db, archf % terms_en)
with assertion:
AssertionError: '<form string="X">Bread and cheeze</form>'
!= '<form string="X">Bread and cheese</form>'
opw-2153422
closes #41714
closes odoo/odoo#41809
X-original-commit: 7eb603b26cc591b85ceb11210f5db8308d2ba27a
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/note/data/res_users_data.xml')
0 files changed, 0 insertions, 0 deletions
