Add editing fluent strings without attached keyboard shortcuts
This commit is contained in:
parent
e95e78da9c
commit
4a264cd8b7
@ -2,14 +2,14 @@ editing-add-media = Add Media
|
||||
editing-align-left = Align left
|
||||
editing-align-right = Align right
|
||||
editing-an-error-occurred-while-opening = An error occurred while opening { $val }
|
||||
editing-attach-picturesaudiovideo-f3 = Attach pictures/audio/video (F3)
|
||||
editing-bold-text-ctrlandb = Bold text (Ctrl+B)
|
||||
editing-attach-picturesaudiovideo = Attach pictures/audio/video
|
||||
editing-bold-text = Bold text
|
||||
editing-cards = Cards
|
||||
editing-center = Center
|
||||
editing-change-colour-f8 = Change colour (F8)
|
||||
editing-cloze-deletion-ctrlandshiftandc = Cloze deletion (Ctrl+Shift+C)
|
||||
editing-change-color = Change color
|
||||
editing-cloze-deletion = Cloze deletion
|
||||
editing-couldnt-record-audio-have-you-installed = Couldn't record audio. Have you installed 'lame'?
|
||||
editing-customize-card-templates-ctrlandl = Customize Card Templates (Ctrl+L)
|
||||
editing-customize-card-templates = Customize Card Templates
|
||||
editing-customize-fields = Customize Fields
|
||||
editing-cut = Cut
|
||||
editing-edit-current = Edit Current
|
||||
@ -17,7 +17,7 @@ editing-edit-html = Edit HTML
|
||||
editing-fields = Fields
|
||||
editing-html-editor = HTML Editor
|
||||
editing-indent = Increase indent
|
||||
editing-italic-text-ctrlandi = Italic text (Ctrl+I)
|
||||
editing-italic-text = Italic text
|
||||
editing-jump-to-tags-with-ctrlandshiftandt = Jump to tags with Ctrl+Shift+T
|
||||
editing-justify = Justify
|
||||
editing-latex = LaTeX
|
||||
@ -30,14 +30,28 @@ editing-media = Media
|
||||
editing-ordered-list = Ordered list
|
||||
editing-outdent = Decrease indent
|
||||
editing-paste = Paste
|
||||
editing-record-audio-f5 = Record audio (F5)
|
||||
editing-remove-formatting-ctrlandr = Remove formatting (Ctrl+R)
|
||||
editing-set-foreground-colour-f7 = Set foreground colour (F7)
|
||||
editing-record-audio = Record audio
|
||||
editing-remove-formatting = Remove formatting
|
||||
editing-set-foreground-color = Set foreground color
|
||||
editing-show-duplicates = Show Duplicates
|
||||
editing-subscript-ctrland = Subscript (Ctrl+=)
|
||||
editing-superscript-ctrlandand = Superscript (Ctrl++)
|
||||
editing-subscript = Subscript
|
||||
editing-superscript = Superscript
|
||||
editing-tags = Tags
|
||||
editing-to-make-a-cloze-deletion-on = To make a cloze deletion on an existing note, you need to change it to a cloze type first, via 'Notes>Change Note Type'
|
||||
editing-underline-text-ctrlandu = Underline text (Ctrl+U)
|
||||
editing-underline-text = Underline text
|
||||
editing-unordered-list = Unordered list
|
||||
editing-warning-cloze-deletions-will-not-work = Warning, cloze deletions will not work until you switch the type at the top to Cloze.
|
||||
|
||||
### deprecated, do not use
|
||||
editing-bold-text-ctrlandb = Bold text (Ctrl+B)
|
||||
editing-italic-text-ctrlandi = Italic text (Ctrl+I)
|
||||
editing-underline-text-ctrlandu = Underline text (Ctrl+U)
|
||||
editing-subscript-ctrland = Subscript (Ctrl+=)
|
||||
editing-superscript-ctrlandand = Superscript (Ctrl++)
|
||||
editing-remove-formatting-ctrlandr = Remove formatting (Ctrl+R)
|
||||
editing-record-audio-f5 = Record audio (F5)
|
||||
editing-attach-picturesaudiovideo-f3 = Attach pictures/audio/video (F3)
|
||||
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)
|
||||
|
@ -48,7 +48,7 @@ export function getClozeButton(): DynamicSvelteComponent<typeof WithShortcuts> &
|
||||
button: iconButton({
|
||||
icon: bracketsIcon,
|
||||
onClick: onCloze,
|
||||
tooltip: tr.editingClozeDeletionCtrlandshiftandc(),
|
||||
tooltip: tr.editingClozeDeletion(),
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ export function getColorGroup(): DynamicSvelteComponent<typeof ButtonGroup> &
|
||||
icon: squareFillIcon,
|
||||
className: "forecolor",
|
||||
onClick: () => wrapWithForecolor(getForecolor()),
|
||||
tooltip: tr.editingSetForegroundColourF7(),
|
||||
tooltip: tr.editingSetForegroundColor(),
|
||||
}),
|
||||
});
|
||||
|
||||
@ -46,7 +46,7 @@ export function getColorGroup(): DynamicSvelteComponent<typeof ButtonGroup> &
|
||||
button: colorPicker({
|
||||
onChange: ({ currentTarget }) =>
|
||||
setForegroundColor((currentTarget as HTMLInputElement).value),
|
||||
tooltip: tr.editingChangeColourF8(),
|
||||
tooltip: tr.editingChangeColor(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
@ -25,7 +25,7 @@ export function getFormatInlineGroup(): DynamicSvelteComponent<typeof ButtonGrou
|
||||
shortcuts: ["Control+KeyB"],
|
||||
button: commandIconButton({
|
||||
icon: boldIcon,
|
||||
tooltip: tr.editingBoldTextCtrlandb(),
|
||||
tooltip: tr.editingBoldText(),
|
||||
command: "bold",
|
||||
}),
|
||||
});
|
||||
@ -34,7 +34,7 @@ export function getFormatInlineGroup(): DynamicSvelteComponent<typeof ButtonGrou
|
||||
shortcuts: ["Control+KeyI"],
|
||||
button: commandIconButton({
|
||||
icon: italicIcon,
|
||||
tooltip: tr.editingItalicTextCtrlandi(),
|
||||
tooltip: tr.editingItalicText(),
|
||||
command: "italic",
|
||||
}),
|
||||
});
|
||||
@ -43,7 +43,7 @@ export function getFormatInlineGroup(): DynamicSvelteComponent<typeof ButtonGrou
|
||||
shortcuts: ["Control+KeyU"],
|
||||
button: commandIconButton({
|
||||
icon: underlineIcon,
|
||||
tooltip: tr.editingUnderlineTextCtrlandu(),
|
||||
tooltip: tr.editingUnderlineText(),
|
||||
command: "underline",
|
||||
}),
|
||||
});
|
||||
@ -52,7 +52,7 @@ export function getFormatInlineGroup(): DynamicSvelteComponent<typeof ButtonGrou
|
||||
shortcuts: ["Control+Shift+Equal"],
|
||||
button: commandIconButton({
|
||||
icon: superscriptIcon,
|
||||
tooltip: tr.editingSuperscriptCtrlandand(),
|
||||
tooltip: tr.editingSuperscript(),
|
||||
command: "superscript",
|
||||
}),
|
||||
});
|
||||
@ -61,7 +61,7 @@ export function getFormatInlineGroup(): DynamicSvelteComponent<typeof ButtonGrou
|
||||
shortcuts: ["Control+Equal"],
|
||||
button: commandIconButton({
|
||||
icon: subscriptIcon,
|
||||
tooltip: tr.editingSubscriptCtrland(),
|
||||
tooltip: tr.editingSubscript(),
|
||||
command: "subscript",
|
||||
}),
|
||||
});
|
||||
@ -70,7 +70,7 @@ export function getFormatInlineGroup(): DynamicSvelteComponent<typeof ButtonGrou
|
||||
shortcuts: ["Control+KeyR"],
|
||||
button: iconButton({
|
||||
icon: eraserIcon,
|
||||
tooltip: tr.editingRemoveFormattingCtrlandr(),
|
||||
tooltip: tr.editingRemoveFormatting(),
|
||||
onClick: () => {
|
||||
document.execCommand("removeFormat");
|
||||
},
|
||||
|
@ -21,7 +21,7 @@ export function getNotetypeGroup(): DynamicSvelteComponent<typeof ButtonGroup> &
|
||||
onClick: () => bridgeCommand("cards"),
|
||||
disables: false,
|
||||
label: `${tr.editingCards()}...`,
|
||||
tooltip: tr.editingCustomizeCardTemplatesCtrlandl(),
|
||||
tooltip: tr.editingCustomizeCardTemplates(),
|
||||
});
|
||||
|
||||
return buttonGroup({
|
||||
|
Loading…
Reference in New Issue
Block a user