* i18n: more menu translations * chore: code formatting * chore: code formatting * chore: code formatting * i18n: more menu translations * chore: code formatting * i18n: added new menu translations and japanese language * i18n: added theme-auto string * i18n: translated rest of the menu text * fix(i18n): polish PR 273 locale updates - Fix obvious translation regressions in existing locales - Preserve update size interpolation across localized update messages - Use standard UI terms for theme and boolean operation labels * fix(i18n): tune localized toggle labels - Use paired action wording for toggle commands - Clarify Japanese frame-selection command label --------- Co-authored-by: Santos Alarcón <santosalarcon86@gmail.com>
319 lines
6.2 KiB
JSON
319 lines
6.2 KiB
JSON
[
|
|
{
|
|
"label": "File",
|
|
"items": [
|
|
{
|
|
"id": "new",
|
|
"label": "New",
|
|
"accelerator": "CmdOrCtrl+N"
|
|
},
|
|
{
|
|
"id": "open",
|
|
"label": "Open…",
|
|
"accelerator": "CmdOrCtrl+O"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "save",
|
|
"label": "Save",
|
|
"accelerator": "CmdOrCtrl+S"
|
|
},
|
|
{
|
|
"id": "save-as",
|
|
"label": "Save As…",
|
|
"accelerator": "CmdOrCtrl+Shift+S"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "export-selection",
|
|
"label": "Export Selection",
|
|
"accelerator": "CmdOrCtrl+Shift+E",
|
|
"sub": [
|
|
{
|
|
"id": "export-png",
|
|
"label": "PNG"
|
|
},
|
|
{
|
|
"id": "export-svg",
|
|
"label": "SVG"
|
|
},
|
|
{
|
|
"id": "export-fig",
|
|
"label": ".fig"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "autosave",
|
|
"label": "Autosave",
|
|
"checkbox": true
|
|
},
|
|
{
|
|
"id": "close",
|
|
"label": "Close Tab",
|
|
"accelerator": "CmdOrCtrl+W"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Edit",
|
|
"items": [
|
|
{
|
|
"id": "edit.undo",
|
|
"label": "Undo"
|
|
},
|
|
{
|
|
"id": "edit.redo",
|
|
"label": "Redo"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "copy",
|
|
"label": "Copy",
|
|
"accelerator": "CmdOrCtrl+C"
|
|
},
|
|
{
|
|
"id": "cut",
|
|
"label": "Cut",
|
|
"accelerator": "CmdOrCtrl+X"
|
|
},
|
|
{
|
|
"id": "paste",
|
|
"label": "Paste",
|
|
"accelerator": "CmdOrCtrl+V"
|
|
},
|
|
{
|
|
"id": "paste-to-replace",
|
|
"label": "Paste to replace"
|
|
},
|
|
{
|
|
"id": "selection.duplicate",
|
|
"label": "Duplicate"
|
|
},
|
|
{
|
|
"id": "selection.delete",
|
|
"label": "Delete"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "selection.selectAll",
|
|
"label": "Select All"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "View",
|
|
"items": [
|
|
{
|
|
"id": "view.zoom100",
|
|
"label": "Zoom to 100%"
|
|
},
|
|
{
|
|
"id": "view.zoomFit",
|
|
"label": "Zoom to Fit"
|
|
},
|
|
{
|
|
"id": "view.zoomSelection",
|
|
"label": "Zoom to Selection"
|
|
},
|
|
{
|
|
"id": "zoom-in",
|
|
"label": "Zoom In",
|
|
"accelerator": "CmdOrCtrl+="
|
|
},
|
|
{
|
|
"id": "zoom-out",
|
|
"label": "Zoom Out",
|
|
"accelerator": "CmdOrCtrl+-"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "theme",
|
|
"label": "Theme",
|
|
"sub": [
|
|
{
|
|
"id": "theme-light",
|
|
"label": "Light",
|
|
"checkbox": true
|
|
},
|
|
{
|
|
"id": "theme-dark",
|
|
"label": "Dark",
|
|
"checkbox": true
|
|
},
|
|
{
|
|
"id": "theme-auto",
|
|
"label": "Auto",
|
|
"checkbox": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "toggle-ui",
|
|
"label": "Toggle UI",
|
|
"accelerator": "CmdOrCtrl+\\"
|
|
},
|
|
{
|
|
"id": "dev-tools",
|
|
"label": "Developer Tools",
|
|
"accelerator": "CmdOrCtrl+Alt+I"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Object",
|
|
"items": [
|
|
{
|
|
"id": "selection.group",
|
|
"label": "Group Selection"
|
|
},
|
|
{
|
|
"id": "selection.frameSelection",
|
|
"label": "Frame Selection"
|
|
},
|
|
{
|
|
"id": "selection.ungroup",
|
|
"label": "Ungroup Selection"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "selection.booleanUnion",
|
|
"label": "Union selection"
|
|
},
|
|
{
|
|
"id": "selection.booleanSubtract",
|
|
"label": "Subtract selection"
|
|
},
|
|
{
|
|
"id": "selection.booleanIntersect",
|
|
"label": "Intersect selection"
|
|
},
|
|
{
|
|
"id": "selection.booleanExclude",
|
|
"label": "Exclude selection"
|
|
},
|
|
{
|
|
"id": "selection.flatten",
|
|
"label": "Flatten"
|
|
},
|
|
{
|
|
"id": "selection.outlineText",
|
|
"label": "Outline text"
|
|
},
|
|
{
|
|
"id": "selection.outlineStroke",
|
|
"label": "Outline stroke"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "selection.createComponent",
|
|
"label": "Create Component"
|
|
},
|
|
{
|
|
"id": "selection.createComponentSet",
|
|
"label": "Create Component Set"
|
|
},
|
|
{
|
|
"id": "selection.detachInstance",
|
|
"label": "Detach Instance"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "selection.bringToFront",
|
|
"label": "Bring to Front"
|
|
},
|
|
{
|
|
"id": "selection.sendToBack",
|
|
"label": "Send to Back"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Text",
|
|
"items": [
|
|
{
|
|
"id": "text.bold",
|
|
"label": "Bold",
|
|
"accelerator": "CmdOrCtrl+B"
|
|
},
|
|
{
|
|
"id": "text.italic",
|
|
"label": "Italic",
|
|
"accelerator": "CmdOrCtrl+I"
|
|
},
|
|
{
|
|
"id": "text.underline",
|
|
"label": "Underline",
|
|
"accelerator": "CmdOrCtrl+U"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Arrange",
|
|
"items": [
|
|
{
|
|
"id": "selection.wrapInAutoLayout",
|
|
"label": "Wrap in Auto Layout"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "arrange.align-left",
|
|
"label": "Align Left",
|
|
"accelerator": "Alt+A"
|
|
},
|
|
{
|
|
"id": "arrange.align-center",
|
|
"label": "Align Center",
|
|
"accelerator": "Alt+H"
|
|
},
|
|
{
|
|
"id": "arrange.align-right",
|
|
"label": "Align Right",
|
|
"accelerator": "Alt+D"
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"id": "arrange.align-top",
|
|
"label": "Align Top",
|
|
"accelerator": "Alt+W"
|
|
},
|
|
{
|
|
"id": "arrange.align-middle",
|
|
"label": "Align Middle",
|
|
"accelerator": "Alt+V"
|
|
},
|
|
{
|
|
"id": "arrange.align-bottom",
|
|
"label": "Align Bottom",
|
|
"accelerator": "Alt+S"
|
|
}
|
|
]
|
|
}
|
|
]
|