mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Add Fluent translations
This commit is contained in:
parent
48cc9c602f
commit
3eab17ed0f
2 changed files with 29 additions and 22 deletions
|
@ -1,8 +1,11 @@
|
||||||
editing-add-media = Add Media
|
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-an-error-occurred-while-opening = An error occurred while opening { $val }
|
||||||
editing-attach-picturesaudiovideo-f3 = Attach pictures/audio/video (F3)
|
editing-attach-picturesaudiovideo-f3 = Attach pictures/audio/video (F3)
|
||||||
editing-bold-text-ctrlandb = Bold text (Ctrl+B)
|
editing-bold-text-ctrlandb = Bold text (Ctrl+B)
|
||||||
editing-cards = Cards
|
editing-cards = Cards
|
||||||
|
editing-center = Center
|
||||||
editing-change-colour-f8 = Change colour (F8)
|
editing-change-colour-f8 = Change colour (F8)
|
||||||
editing-cloze-deletion-ctrlandshiftandc = Cloze deletion (Ctrl+Shift+C)
|
editing-cloze-deletion-ctrlandshiftandc = Cloze deletion (Ctrl+Shift+C)
|
||||||
editing-couldnt-record-audio-have-you-installed = Couldn't record audio. Have you installed 'lame'?
|
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-edit-html = Edit HTML
|
||||||
editing-fields = Fields
|
editing-fields = Fields
|
||||||
editing-html-editor = HTML Editor
|
editing-html-editor = HTML Editor
|
||||||
|
editing-indent = Indent
|
||||||
editing-italic-text-ctrlandi = Italic text (Ctrl+I)
|
editing-italic-text-ctrlandi = Italic text (Ctrl+I)
|
||||||
editing-jump-to-tags-with-ctrlandshiftandt = Jump to tags with Ctrl+Shift+T
|
editing-jump-to-tags-with-ctrlandshiftandt = Jump to tags with Ctrl+Shift+T
|
||||||
|
editing-justify = Justify
|
||||||
editing-latex = LaTeX
|
editing-latex = LaTeX
|
||||||
editing-latex-equation = LaTeX equation
|
editing-latex-equation = LaTeX equation
|
||||||
editing-latex-math-env = LaTeX math env.
|
editing-latex-math-env = LaTeX math env.
|
||||||
|
@ -22,6 +27,8 @@ editing-mathjax-block = MathJax block
|
||||||
editing-mathjax-chemistry = MathJax chemistry
|
editing-mathjax-chemistry = MathJax chemistry
|
||||||
editing-mathjax-inline = MathJax inline
|
editing-mathjax-inline = MathJax inline
|
||||||
editing-media = Media
|
editing-media = Media
|
||||||
|
editing-ordered-list = Ordered list
|
||||||
|
editing-outdent = Outdent
|
||||||
editing-paste = Paste
|
editing-paste = Paste
|
||||||
editing-record-audio-f5 = Record audio (F5)
|
editing-record-audio-f5 = Record audio (F5)
|
||||||
editing-remove-formatting-ctrlandr = Remove formatting (Ctrl+R)
|
editing-remove-formatting-ctrlandr = Remove formatting (Ctrl+R)
|
||||||
|
@ -32,4 +39,5 @@ editing-superscript-ctrlandand = Superscript (Ctrl++)
|
||||||
editing-tags = Tags
|
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-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-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.
|
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({
|
const justifyLeftButton = commandIconButton({
|
||||||
icon: justifyLeftIcon,
|
icon: justifyLeftIcon,
|
||||||
command: "justifyLeft",
|
command: "justifyLeft",
|
||||||
tooltip: "Justify to the left",
|
tooltip: tr.editingAlignLeft(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const justifyCenterButton = commandIconButton({
|
const justifyCenterButton = commandIconButton({
|
||||||
icon: justifyCenterIcon,
|
icon: justifyCenterIcon,
|
||||||
command: "justifyCenter",
|
command: "justifyCenter",
|
||||||
tooltip: "Justify to the center",
|
tooltip: tr.editingCenter(),
|
||||||
});
|
|
||||||
|
|
||||||
const justifyFullButton = commandIconButton({
|
|
||||||
icon: justifyFullIcon,
|
|
||||||
command: "justifyFull",
|
|
||||||
tooltip: "Justify full",
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const justifyRightButton = commandIconButton({
|
const justifyRightButton = commandIconButton({
|
||||||
icon: justifyRightIcon,
|
icon: justifyRightIcon,
|
||||||
command: "justifyRight",
|
command: "justifyRight",
|
||||||
tooltip: "Justify to the right",
|
tooltip: tr.editingAlignRight(),
|
||||||
|
});
|
||||||
|
|
||||||
|
const justifyFullButton = commandIconButton({
|
||||||
|
icon: justifyFullIcon,
|
||||||
|
command: "justifyFull",
|
||||||
|
tooltip: tr.editingJustify(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const justifyGroup = buttonGroup({
|
const justifyGroup = buttonGroup({
|
||||||
|
@ -73,26 +73,26 @@ export function getFormatBlockMenus(): (DynamicSvelteComponent<typeof ButtonDrop
|
||||||
buttons: [
|
buttons: [
|
||||||
justifyLeftButton,
|
justifyLeftButton,
|
||||||
justifyCenterButton,
|
justifyCenterButton,
|
||||||
justifyFullButton,
|
|
||||||
justifyRightButton,
|
justifyRightButton,
|
||||||
|
justifyFullButton,
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
const indentButton = commandIconButton({
|
|
||||||
icon: indentIcon,
|
|
||||||
command: "indent",
|
|
||||||
tooltip: "Indent selection",
|
|
||||||
});
|
|
||||||
|
|
||||||
const outdentButton = commandIconButton({
|
const outdentButton = commandIconButton({
|
||||||
icon: outdentIcon,
|
icon: outdentIcon,
|
||||||
command: "outdent",
|
command: "outdent",
|
||||||
tooltip: "Outdent selection",
|
tooltip: tr.editingOutdent(),
|
||||||
|
});
|
||||||
|
|
||||||
|
const indentButton = commandIconButton({
|
||||||
|
icon: indentIcon,
|
||||||
|
command: "indent",
|
||||||
|
tooltip: tr.editingIndent(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const indentationGroup = buttonGroup({
|
const indentationGroup = buttonGroup({
|
||||||
id: "indentation",
|
id: "indentation",
|
||||||
buttons: [indentButton, outdentButton],
|
buttons: [outdentButton, indentButton],
|
||||||
});
|
});
|
||||||
|
|
||||||
const formattingOptions = buttonDropdown({
|
const formattingOptions = buttonDropdown({
|
||||||
|
@ -110,18 +110,17 @@ export function getFormatBlockGroup(): DynamicSvelteComponent<typeof ButtonGroup
|
||||||
const ulButton = commandIconButton({
|
const ulButton = commandIconButton({
|
||||||
icon: ulIcon,
|
icon: ulIcon,
|
||||||
command: "insertUnorderedList",
|
command: "insertUnorderedList",
|
||||||
tooltip: "Insert unordered list",
|
tooltip: tr.editingUnorderedList(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const olButton = commandIconButton({
|
const olButton = commandIconButton({
|
||||||
icon: olIcon,
|
icon: olIcon,
|
||||||
command: "insertOrderedList",
|
command: "insertOrderedList",
|
||||||
tooltip: "Insert ordered list",
|
tooltip: tr.editingOrderedList(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const listFormattingButton = iconButton({
|
const listFormattingButton = iconButton({
|
||||||
icon: listOptionsIcon,
|
icon: listOptionsIcon,
|
||||||
tooltip: "More list options",
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const listFormatting = withDropdownMenu({
|
const listFormatting = withDropdownMenu({
|
||||||
|
@ -130,7 +129,7 @@ export function getFormatBlockGroup(): DynamicSvelteComponent<typeof ButtonGroup
|
||||||
});
|
});
|
||||||
|
|
||||||
return buttonGroup({
|
return buttonGroup({
|
||||||
id: "formatInline",
|
id: "formatBlock",
|
||||||
buttons: [ulButton, olButton, listFormatting],
|
buttons: [ulButton, olButton, listFormatting],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue