Improve labels, errors, and docs
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 4m6s

This commit is contained in:
MassiveBox 2025-07-15 12:42:18 +02:00
parent d34258e6bf
commit 05984a8913
4 changed files with 24 additions and 20 deletions

View file

@ -1,13 +1,15 @@
{
"insertDrawing": "Insert Drawing",
"editDrawing": "Edit with js-draw",
"editShortcut": "Open editor directly",
"insertWhiteboard": "Insert whiteboard",
"editWhiteboard": "Edit whiteboard",
"editShortcut": "Edit selected whiteboard",
"errNoFileID": "File ID missing - couldn't open file.",
"errSyncIDNotFound": "Couldn't find SyncID in document for drawing, make sure you're trying to edit a drawing that is included in at least a note.",
"errNotAWhiteboard": "You must select a whiteboard, not a regular image.",
"errSyncIDNotFound": "Couldn't find SyncID in document for drawing, make sure you're trying to edit a whiteboard that is included in at least a note.",
"errCreateUnknown": "Unknown error while creating editor, please try again.",
"errInvalidBackgroundColor": "Invalid background color! Please enter an HEX color, like #000000 (black) or #FFFFFF (white). The old background color will be used.",
"msgMustSelect": "Select a whiteboard in your document by left-clicking it, then use this icon/shortcut to open the editor directly.",
"drawing": "Drawing",
"usageInstructionsLink": " <a href='https://s.massive.box/jsdraw-plugin-instructions'>Usage instructions</a>",
"whiteboard": "Whiteboard",
"settings": {
"name": "js-draw Plugin Settings",
"suggestedColors":{
@ -20,15 +22,15 @@
},
"grid": {
"title": "Enable grid by default",
"description": "Enable to automatically turn on the grid on new drawings."
"description": "Enable to automatically turn on the grid on new whiteboards."
},
"backgroundDropdown":{
"title": "Background color",
"description": "Default background color for new drawings."
"description": "Default background color for new whiteboards."
},
"background": {
"title": "Custom background",
"description": "Hexadecimal code of the custom background color for new drawings.<br /><b>This setting is only applied if \"Background Color\" is set to \"Custom\"!</b>"
"description": "Hexadecimal code of the custom background color for new whiteboards.<br /><b>This setting is only applied if \"Background Color\" is set to \"Custom\"!</b>"
},
"dialogOnDesktop": {
"title": "Open editor as dialog on desktop",
@ -40,7 +42,7 @@
},
"restorePosition": {
"title": "Remember editor position",
"description": "When enabled, the editor will remember the zoom factor and position, and it will restore them the next time you open the drawing."
"description": "When enabled, the editor will remember the zoom factor and position, and it will restore them the next time you open the same whiteboard."
}
}
}