diff --git a/static/i18n.js b/static/i18n.js index e0be3a13..e4e78e60 100644 --- a/static/i18n.js +++ b/static/i18n.js @@ -8742,6 +8742,8 @@ function applyLocaleToDOM() { const key = el.getAttribute('data-i18n-title'); const val = t(key); if (val && val !== key) el.title = val; + // Sync custom data-tooltip when present (replaces native title for faster display, #1775). + if (el.hasAttribute('data-tooltip') && val && val !== key) el.setAttribute('data-tooltip', val); }); document.querySelectorAll('[data-i18n-placeholder]').forEach(el => { const key = el.getAttribute('data-i18n-placeholder'); diff --git a/static/index.html b/static/index.html index 1561eca2..6ecd26ab 100644 --- a/static/index.html +++ b/static/index.html @@ -61,7 +61,7 @@