Add some missing tooltips

https://forums.ankiweb.net/t/two-editor-buttons-do-not-have-tooltips/30203
This commit is contained in:
Damien Elmes 2023-05-11 15:04:35 +10:00
parent a7578245d0
commit 6f650dd7df
3 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,8 @@ editing-mathjax-preview = MathJax Preview
editing-shrink-images = Shrink Images
editing-close-html-tags = Auto-close HTML tags
editing-from-clipboard = From Clipboard
editing-alignment = Alignment
editing-equations = Equations
## You don't need to translate these strings, as they will be replaced with different ones soon.

View File

@ -110,6 +110,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
>
<span class="block-buttons" use:asReference>
<IconButton
tooltip={tr.editingAlignment()}
{disabled}
on:click={() => (showFloating = !showFloating)}
>

View File

@ -89,6 +89,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
>
<IconButton
slot="reference"
tooltip={tr.editingEquations()}
{disabled}
on:click={() => (showFloating = !showFloating)}
>