diff options
| author | Benoit Socias <bso@odoo.com> | 2020-10-16 14:42:16 +0000 |
|---|---|---|
| committer | Benoit Socias <bso@odoo.com> | 2020-10-22 08:57:57 +0000 |
| commit | 9896af94ebc887d98ccf44e6568ef7eeb5a27172 (patch) | |
| tree | fdf3d713678a4fc67e7b2a9772a58fe4f1386b2f /addons/website/static/src | |
| parent | 0a3fe0a513abbde8f74d59de522a216035cdcd98 (diff) | |
[FIX] various: not translate the close icon of notifications
Same change in several areas where translations existed:
- website editor notification popup
- elearning share popup
- forum remediation filter popup
- event registration attendees popup
- portal rating popup
- stripe payment error popup
And many other locations where there were no translations yet
"×" has been replaced by its UTF8 character.
Also introduced aria-label where missing.
Before this commit the close icon was included in translated resources.
For example, in Spanish the "×" had been turned into "&veces;"
thus not rendering an icon anymore
After this commit the close icon is not a translated text anymore and
remains an icon across all languages
https://github.com/odoo/odoo/pull/60186
task-2312878
closes odoo/odoo#60186
Related: odoo/enterprise#14209
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/snippets/s_image_gallery/000.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/snippets/s_image_gallery/000.xml b/addons/website/static/src/snippets/s_image_gallery/000.xml index 0b6d6385275..a50a1af5674 100644 --- a/addons/website/static/src/snippets/s_image_gallery/000.xml +++ b/addons/website/static/src/snippets/s_image_gallery/000.xml @@ -58,7 +58,7 @@ t-attf-style=""> <div class="modal-content bg-transparent"> <main class="modal-body o_slideshow bg-transparent"> - <button type="button" class="close text-white" data-dismiss="modal" style="position: absolute; right: 10px; top: 10px;"><span role="img" aria-label="Close">&times;</span><span class="sr-only">Close</span></button> + <button type="button" class="close text-white" data-dismiss="modal" style="position: absolute; right: 10px; top: 10px;"><span role="img" aria-label="Close">×</span><span class="sr-only">Close</span></button> <t t-call="website.gallery.slideshow"></t> </main> </div> |
