Rename to text color and text color highlight

This commit is contained in:
Henrik Giesel 2021-07-26 05:28:28 +02:00
parent 4e133e7d8a
commit 66faa4ec25
2 changed files with 9 additions and 3 deletions

View File

@ -32,7 +32,8 @@ editing-outdent = Decrease indent
editing-paste = Paste
editing-record-audio = Record audio
editing-remove-formatting = Remove formatting
editing-set-foreground-color = Set foreground color
editing-set-text-color = Set text color
editing-set-text-highlight-color = Set text highlight color
editing-show-duplicates = Show Duplicates
editing-subscript = Subscript
editing-superscript = Superscript
@ -56,3 +57,4 @@ editing-cloze-deletion-ctrlandshiftandc = Cloze deletion (Ctrl+Shift+C)
editing-change-colour-f8 = Change colour (F8)
editing-set-foreground-colour-f7 = Set foreground colour (F7)
editing-customize-card-templates-ctrlandl = Customize Card Templates (Ctrl+L)
editing-set-foreground-color = Set foreground color

View File

@ -39,7 +39,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<WithShortcut shortcut={"F7"} let:createShortcut let:shortcutLabel>
<IconButton
tooltip={appendInParentheses(
tr.editingSetForegroundColor(),
tr.editingSetTextColor(),
shortcutLabel
)}
{disabled}
@ -79,7 +79,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<WithColorHelper color={initialColor} let:colorHelperIcon let:setColor>
<OnlyEditable let:disabled>
<ButtonGroupItem>
<IconButton on:click={backcolorWrap} {disabled}>
<IconButton
tooltip={tr.editingSetTextHighlightColor()}
{disabled}
on:click={backcolorWrap}
>
{@html highlightColorIcon}
{@html colorHelperIcon}
</IconButton>