2021-07-21 15:59:26 +02:00
editing-actual-size = Toggle actual size
2020-11-17 08:42:43 +01:00
editing-add-media = Add Media
2021-04-16 16:08:00 +02:00
editing-align-left = Align left
editing-align-right = Align right
2020-11-17 08:42:43 +01:00
editing-an-error-occurred-while-opening = An error occurred while opening { $val }
2021-04-22 13:38:37 +02:00
editing-attach-picturesaudiovideo = Attach pictures/audio/video
editing-bold-text = Bold text
2020-11-17 08:42:43 +01:00
editing-cards = Cards
2021-04-16 16:08:00 +02:00
editing-center = Center
2021-04-22 13:38:37 +02:00
editing-change-color = Change color
2022-03-31 06:42:58 +02:00
editing-cloze-deletion = Cloze deletion (new card)
editing-cloze-deletion-repeat = Cloze deletion (same card)
2020-11-17 08:42:43 +01:00
editing-couldnt-record-audio-have-you-installed = Couldn't record audio. Have you installed 'lame'?
2021-04-22 13:38:37 +02:00
editing-customize-card-templates = Customize Card Templates
2020-11-17 08:42:43 +01:00
editing-customize-fields = Customize Fields
editing-cut = Cut
2022-03-24 10:53:57 +01:00
editing-double-click-image = double-click image
2022-11-27 01:45:33 +01:00
editing-double-click-to-expand = double-click to expand
editing-double-click-to-collapse = double-click to collapse
2020-11-17 08:42:43 +01:00
editing-edit-current = Edit Current
editing-edit-html = Edit HTML
editing-fields = Fields
2021-07-21 04:32:15 +02:00
editing-float-left = Float left
editing-float-right = Float right
2021-07-21 14:13:56 +02:00
editing-float-none = No float
2021-04-20 13:40:52 +02:00
editing-indent = Increase indent
2021-04-22 13:38:37 +02:00
editing-italic-text = Italic text
2020-11-17 08:42:43 +01:00
editing-jump-to-tags-with-ctrlandshiftandt = Jump to tags with Ctrl+Shift+T
2021-04-16 16:08:00 +02:00
editing-justify = Justify
2020-11-17 08:42:43 +01:00
editing-latex = LaTeX
editing-latex-equation = LaTeX equation
editing-latex-math-env = LaTeX math env.
editing-mathjax-block = MathJax block
editing-mathjax-chemistry = MathJax chemistry
editing-mathjax-inline = MathJax inline
2021-11-23 01:27:32 +01:00
editing-mathjax-placeholder = Press { $accept } to accept, { $newline } for new line.
2020-11-17 08:42:43 +01:00
editing-media = Media
2021-04-16 16:08:00 +02:00
editing-ordered-list = Ordered list
2021-04-20 13:40:52 +02:00
editing-outdent = Decrease indent
2020-11-17 08:42:43 +01:00
editing-paste = Paste
2021-04-22 13:38:37 +02:00
editing-record-audio = Record audio
editing-remove-formatting = Remove formatting
2022-05-13 04:57:07 +02:00
editing-restore-original-size = Restore original size
2022-02-22 13:17:22 +01:00
editing-select-remove-formatting = Select formatting to remove
2020-11-17 08:42:43 +01:00
editing-show-duplicates = Show Duplicates
2021-04-22 13:38:37 +02:00
editing-subscript = Subscript
editing-superscript = Superscript
2020-11-17 08:42:43 +01:00
editing-tags = Tags
2022-03-11 06:48:49 +01:00
editing-tags-add = Add tag
editing-tags-copy = Copy tags
editing-tags-remove = Remove tags
editing-tags-select-all = Select all tags
2022-02-22 13:17:22 +01:00
editing-text-color = Text color
editing-text-highlight-color = Text highlight color
2020-11-17 08:42:43 +01:00
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'
2022-01-16 06:05:35 +01:00
editing-toggle-html-editor = Toggle HTML Editor
2022-08-31 15:34:39 +02:00
editing-toggle-visual-editor = Toggle Visual Editor
2021-08-03 06:02:29 +02:00
editing-toggle-sticky = Toggle sticky
2023-02-27 07:23:19 +01:00
editing-expand = Expand
editing-collapse = Collapse
Field redesign (#2002)
* Adjust size of legacy buttons
* Revert "Adjust size of legacy buttons"
This reverts commit fb888fe1db9050c34b1a7b0820e6da5ac91ccee6.
* Remove unused function from #1476
* Use outline version for tag icon
* Add chevron icons
* Remove code icons, keep one pin icon version
* Add code-bg color
* Redesign fields
* Remove unused import
* Fix imports
* Move PlainTextBadge between editing inputs
where it belongs :)
* Make whole separator line clickable
* Fix transition
and format
* Don't show toggle when field is collapsed
* Show toggle only on hover
for mobile I'd like to implement a swipe mechanism.
* Use tweened SVG for triangle instead of CSS hack
* Implement more obvious HTML toggle on bottom right
* Reduce field height by a few pixels
* Reduce field height by two pixels
* Show HTML toggle when PlainTextInput is active, regardless of hover/focus
* Remove RichTextBadge.svelte
* Create separate collapsed field state
this means users can collapse fields with the HTML editor open and it will stay open when the field is expanded again.
* Add slide out animation to EditingArea, RichTextInput and PlainTextInput
only for collapsing, because it is choppy on expansion (common issue with Svelte transitions).
* Fix aliasing issue on focused field corners
* Make StickyBadge feel more responsive
* Move StickyBadge closer to field border
* Adjust field gutter/margins
* Make LabelContainer sticky
to make field operations accessible on fields with a lot of content.
* Add back html icons, remove visual editor icons
* Revert "Add code-bg color"
This reverts commit 4200f354193710b3acd9bcf84b67958e200ddcdb.
* Add rich text icon, remove strikethrough code icon
* Revert PlainTextBadge to original position
* Adjust margins in FieldState
* Rename PlainTextBadge to SecondaryInputBadge
in preparation for #1987
* Run eslint and prettier
* Make whole LabelContainer clickable area for collapse/expand
* Revert "Add slide out animation to EditingArea, RichTextInput and PlainTextInput"
This reverts commit 9a2b3410d0ead37ae1da408d68e14507a058a613.
* Fix error on collapse/expansion
this was caused by the {#if} blocks, which resulted in the deletion of original EditingAreas.
* Refocus when toggling chevron and secondary input badge
* Revert "Revert "Add code-bg color""
This reverts commit 1cfd3bda65354ab90c1ab4cbbef47596a1be8754.
* Use single rotating chevron icon and make it RTL-compatible
* Remove redundant CSS transition rule
* Introduce animated Collapsible component and fix refocus on toggle
* Do not try to force repaint, as it is not required
* Remove RTL store from LabelContainer
the direction is already applied globally.
* Collapse secondary input with field
* Add focusedField to NoteEditorAPI
* Replace :global CSS selector with class .visible
thus removing the assumption that the component is used inside an EditorField.
https://github.com/ankitects/anki/pull/2002#discussion_r944876448
* Use named function syntax instead of function expressions
* Add explanation comment
* Remove unnecessary :bind directive
* Create CollapseBadge component
* Move :global selector into .plain-text-input
* Add comment explaining box-shadow pseudo-element
* Move Collapsible from EditingArea, PlainTextInput and RichTextInput into user components
* Rename SecondaryInputBadge to PlainTextBadge and remove generalization logic
I kept the rich text icon inside icons.ts for future use.
* Sort imports
* Fix background-color for duplicates not showing
with yet another pseudo-element :)
The pseudo-element that covers up field borders on scroll caused this issue. Fighting fire with fire here.
* Increase size of plain text toggle to original value again
This makes the clickable area a bit bigger and looks slightly more consistent with StickyBadge.
* Scrap pseudo-element mess in LabelContainer and tackle the actual issue
* Add class .visible to StickyBadge too
This introduces a peculiar bug: The active prop of StickyBadge resets to false when the mouse leaves the field - regardless of the actual back-end value.
* Fix sticky badge resetting on mouseleave/blur
* Apply overflow: hidden only during transition
fixes MathJax handle getting cut off by fields
* Remove unused variable
* Fix visual bug caused by overflow:hidden not applying in time
I tried several asynchronous approaches, but they all caused issues: either they prevented the CSS transition or they made field inputs lose focus.
In the end I resorted to direct, synchronous DOM-manipulation and added an explanatory comment.
* Decrease Collapsible load time by blocking first transition
I noticed the sliding animation has a hefty performance impact when a large number of fields is loaded simultaneously.
Blocking the first transition (which isn't even visible) results in a big boost in load time.
* Replace usages of gap with margins for children
* Revert unnecessary removal of grid-gap definition
* Correct comments about flex-gap property
mistook that for grid-gap.
* Resolve style issues
* Add minimum targets to gap comment
Co-authored-by: Henrik Giesel <hengiesel@gmail.com>
2022-08-19 02:02:28 +02:00
editing-expand-field = Expand field
editing-collapse-field = Collapse field
2021-04-22 13:38:37 +02:00
editing-underline-text = Underline text
2021-04-16 16:08:00 +02:00
editing-unordered-list = Unordered list
2020-11-17 08:42:43 +01:00
editing-warning-cloze-deletions-will-not-work = Warning, cloze deletions will not work until you switch the type at the top to Cloze.
2022-10-12 06:34:25 +02:00
editing-mathjax-preview = MathJax Preview
2022-09-26 01:47:50 +02:00
editing-shrink-images = Shrink Images
2022-10-03 05:14:57 +02:00
editing-close-html-tags = Auto-close HTML tags
2023-04-19 07:30:18 +02:00
editing-from-clipboard = From Clipboard
2023-05-11 07:04:35 +02:00
editing-alignment = Alignment
editing-equations = Equations
2023-09-20 07:48:38 +02:00
editing-no-image-found-on-clipboard = No image found on clipboard.
2023-10-23 04:03:02 +02:00
editing-image-occlusion-mode = Image Occlusion Mode
editing-image-occlusion-zoom-out = Zoom Out
editing-image-occlusion-zoom-in = Zoom In
editing-image-occlusion-zoom-reset = Reset Zoom
editing-image-occlusion-toggle-translucent = Toggle Translucency
editing-image-occlusion-delete = Delete
editing-image-occlusion-duplicate = Duplicate
editing-image-occlusion-group = Group Selection
editing-image-occlusion-ungroup = Ungroup Selection
editing-image-occlusion-alignment = Alignment
editing-image-occlusion-align-left = Align Left
editing-image-occlusion-align-h-center = Center horizontally
editing-image-occlusion-align-right = Align Right
editing-image-occlusion-align-top = Align Top
editing-image-occlusion-align-v-center = Center Vertically
editing-image-occlusion-align-bottom = Align Bottom
editing-image-occlusion-select-tool = Select
editing-image-occlusion-zoom-tool = Zoom
editing-image-occlusion-rectangle-tool = Rectangle
editing-image-occlusion-ellipse-tool = Ellipse
editing-image-occlusion-polygon-tool = Polygon
editing-image-occlusion-text-tool = Text
2021-04-22 13:38:37 +02:00
2021-04-25 14:01:18 +02:00
## You don't need to translate these strings, as they will be replaced with different ones soon.
2021-04-22 15:24:27 +02:00
2022-01-16 06:05:35 +01:00
editing-html-editor = HTML Editor