diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-05-09 12:37:36 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-05-09 12:55:04 +0000 |
| commit | de3a4c29476a34eb5db0c736124404113c03fd1a (patch) | |
| tree | fd81a21954bacff1aad44debbd0caf0a62c36c5b /addons/web_editor/static/src/scss | |
| parent | a515ee60647d6815459125540cf582150838c722 (diff) | |
[FIX] transifex: correctly escape links
This commit corrects two issues:
- new lines characters are ignored by transifex when searching (searching on
'\n' finds no match)
- quotes are ignored by transifex (it used to be escaped with \\)
- the text:'...' does not need to be escaped, it is the searched string that
must be escaped.
For instance, searching on "\n\nThis addon is already installed"
used to give:
https://www.transifex.com/odoo/odoo-12/translate/#fr/base/42?q=text%3A%27%0A%0AThis+addon+is+already+installed+on+your+system%27
and it now returns:
https://www.transifex.com/odoo/odoo-12/translate/#fr/base/42?q=text:'This+addon+is+already+installed+on+your+system'
Searching on
'%s' does not seem to be a number
used to give:
https://www.transifex.com/odoo/odoo-12/translate/#fr/base/42?q=text:'%5C%27%25s%5C%27+does+not+seem+to+be+a+number+for+field+%5C%27%25%25%28fi'
and it now returns:
https://www.transifex.com/odoo/odoo-12/translate/#fr/base/42?q=text:'%25s+does+not+seem+to+be+a+number+for+field+%25%25%28fi'
closes odoo/odoo#33279
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss')
0 files changed, 0 insertions, 0 deletions
