summaryrefslogtreecommitdiff
path: root/addons/website_profile
diff options
context:
space:
mode:
authorBenoit Socias <bso@odoo.com>2020-10-16 14:42:16 +0000
committerBenoit Socias <bso@odoo.com>2020-10-22 08:57:57 +0000
commit9896af94ebc887d98ccf44e6568ef7eeb5a27172 (patch)
treefdf3d713678a4fc67e7b2a9772a58fe4f1386b2f /addons/website_profile
parent0a3fe0a513abbde8f74d59de522a216035cdcd98 (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 "&times;" 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 "&times;" 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_profile')
-rw-r--r--addons/website_profile/views/website_profile.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_profile/views/website_profile.xml b/addons/website_profile/views/website_profile.xml
index 55e4c53fb4d..52a7338bb3a 100644
--- a/addons/website_profile/views/website_profile.xml
+++ b/addons/website_profile/views/website_profile.xml
@@ -638,14 +638,14 @@
<t t-set="done_alert_classes" t-value="done_alert_classes if done_alert_classes else 'alert alert-success alert-dismissable'"/>
<div t-if="not validation_email_sent and not is_public_user and user.karma == 0" t-att-class="send_alert_classes" role="alert">
- <button type="button" class="close validation_email_close" data-dismiss="alert" aria-label="Close">&amp;times;</button>
+ <button type="button" class="close validation_email_close" data-dismiss="alert" aria-label="Close">×</button>
It appears your email has not been verified.<br/>
<a class="send_validation_email alert-link" href="#" t-att-data-redirect_url="redirect_url">
<span t-esc="send_validation_email_message"/>
</a>
</div>
<div t-if="validation_email_done" t-att-class="done_alert_classes" role="status">
- <button type="button" class="close validated_email_close" data-dismiss="alert" aria-label="Close">&amp;times;</button>
+ <button type="button" class="close validated_email_close" data-dismiss="alert" aria-label="Close">×</button>
<span id="email_validated_message">Congratulations! Your email has just been validated.</span>
<span t-esc="additional_validated_email_message"/>
</div>