Add Fluent translations
This commit is contained in:
parent
48cc9c602f
commit
3eab17ed0f
@ -1,8 +1,11 @@
|
||||
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-cards = Cards
|
||||
editing-center = Center
|
||||
editing-change-colour-f8 = Change colour (F8)
|
||||
editing-cloze-deletion-ctrlandshiftandc = Cloze deletion (Ctrl+Shift+C)
|
||||
editing-couldnt-record-audio-have-you-installed = Couldn't record audio. Have you installed 'lame'?
|
||||
@ -13,8 +16,10 @@ editing-edit-current = Edit Current
|
||||
editing-edit-html = Edit HTML
|
||||
editing-fields = Fields
|
||||
editing-html-editor = HTML Editor
|
||||
editing-indent = Indent
|
||||
editing-italic-text-ctrlandi = Italic text (Ctrl+I)
|
||||
editing-jump-to-tags-with-ctrlandshiftandt = Jump to tags with Ctrl+Shift+T
|
||||
editing-justify = Justify
|
||||
editing-latex = LaTeX
|
||||
editing-latex-equation = LaTeX equation
|
||||
editing-latex-math-env = LaTeX math env.
|
||||
@ -22,6 +27,8 @@ editing-mathjax-block = MathJax block
|
||||
editing-mathjax-chemistry = MathJax chemistry
|
||||
editing-mathjax-inline = MathJax inline
|
||||
editing-media = Media
|
||||
editing-ordered-list = Ordered list
|
||||
editing-outdent = Outdent
|
||||
editing-paste = Paste
|
||||
editing-record-audio-f5 = Record audio (F5)
|
||||
editing-remove-formatting-ctrlandr = Remove formatting (Ctrl+R)
|
||||
@ -32,4 +39,5 @@ editing-superscript-ctrlandand = Superscript (Ctrl++)
|
||||
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-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.
|
||||
|
@ -47,25 +47,25 @@ export function getFormatBlockMenus(): (DynamicSvelteComponent<typeof ButtonDrop
|
||||
const justifyLeftButton = commandIconButton({
|
||||
icon: justifyLeftIcon,
|
||||
command: "justifyLeft",
|
||||
tooltip: "Justify to the left",
|
||||
tooltip: tr.editingAlignLeft(),
|
||||
});
|
||||
|
||||
const justifyCenterButton = commandIconButton({
|
||||
icon: justifyCenterIcon,
|
||||
command: "justifyCenter",
|
||||
tooltip: "Justify to the center",
|
||||
});
|
||||
|
||||
const justifyFullButton = commandIconButton({
|
||||
icon: justifyFullIcon,
|
||||
command: "justifyFull",
|
||||
tooltip: "Justify full",
|
||||
tooltip: tr.editingCenter(),
|
||||
});
|
||||
|
||||
const justifyRightButton = commandIconButton({
|
||||
icon: justifyRightIcon,
|
||||
command: "justifyRight",
|
||||
tooltip: "Justify to the right",
|
||||
tooltip: tr.editingAlignRight(),
|
||||
});
|
||||
|
||||
const justifyFullButton = commandIconButton({
|
||||
icon: justifyFullIcon,
|
||||
command: "justifyFull",
|
||||
tooltip: tr.editingJustify(),
|
||||
});
|
||||
|
||||
const justifyGroup = buttonGroup({
|
||||
@ -73,26 +73,26 @@ export function getFormatBlockMenus(): (DynamicSvelteComponent<typeof ButtonDrop
|
||||
buttons: [
|
||||
justifyLeftButton,
|
||||
justifyCenterButton,
|
||||
justifyFullButton,
|
||||
justifyRightButton,
|
||||
justifyFullButton,
|
||||
],
|
||||
});
|
||||
|
||||
const indentButton = commandIconButton({
|
||||
icon: indentIcon,
|
||||
command: "indent",
|
||||
tooltip: "Indent selection",
|
||||
});
|
||||
|
||||
const outdentButton = commandIconButton({
|
||||
icon: outdentIcon,
|
||||
command: "outdent",
|
||||
tooltip: "Outdent selection",
|
||||
tooltip: tr.editingOutdent(),
|
||||
});
|
||||
|
||||
const indentButton = commandIconButton({
|
||||
icon: indentIcon,
|
||||
command: "indent",
|
||||
tooltip: tr.editingIndent(),
|
||||
});
|
||||
|
||||
const indentationGroup = buttonGroup({
|
||||
id: "indentation",
|
||||
buttons: [indentButton, outdentButton],
|
||||
buttons: [outdentButton, indentButton],
|
||||
});
|
||||
|
||||
const formattingOptions = buttonDropdown({
|
||||
@ -110,18 +110,17 @@ export function getFormatBlockGroup(): DynamicSvelteComponent<typeof ButtonGroup
|
||||
const ulButton = commandIconButton({
|
||||
icon: ulIcon,
|
||||
command: "insertUnorderedList",
|
||||
tooltip: "Insert unordered list",
|
||||
tooltip: tr.editingUnorderedList(),
|
||||
});
|
||||
|
||||
const olButton = commandIconButton({
|
||||
icon: olIcon,
|
||||
command: "insertOrderedList",
|
||||
tooltip: "Insert ordered list",
|
||||
tooltip: tr.editingOrderedList(),
|
||||
});
|
||||
|
||||
const listFormattingButton = iconButton({
|
||||
icon: listOptionsIcon,
|
||||
tooltip: "More list options",
|
||||
});
|
||||
|
||||
const listFormatting = withDropdownMenu({
|
||||
@ -130,7 +129,7 @@ export function getFormatBlockGroup(): DynamicSvelteComponent<typeof ButtonGroup
|
||||
});
|
||||
|
||||
return buttonGroup({
|
||||
id: "formatInline",
|
||||
id: "formatBlock",
|
||||
buttons: [ulButton, olButton, listFormatting],
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user