Skip to content

AI-native design editor. Open-source Figma alternative.

2.8 KB
Raw Blame
import { i18n } from '#vue/i18n/create'

export const menuMessageDefaults = {
  file: 'File',
  edit: 'Edit',
  view: 'View',
  object: 'Object',
  arrange: 'Arrange',
  text: 'Text',

  new: 'New design',
  newTab: 'New tab',
  open: 'Open…',
  openTour: 'Open the Tour',
  diagnostics: 'Diagnostics…',
  reportProblem: 'Report a problem…',
  supportOpenPencil: 'Support OpenPencil…',
  save: 'Save',
  saveAs: 'Save as…',
  saveTo: 'Save to…',
  showVersionHistory: 'Show version history',
  saveToVersionHistory: 'Save to version history…',
  exportSelection: 'Export selection…',
  exportSelectionAsPNG: 'Export selection as PNG',
  exportSelectionAsSVG: 'Export selection as SVG',
  exportSelectionAsPPTX: 'Export selection as PPTX',
  exportSelectionAsDrawIO: 'Export selection as draw.io',
  exportSelectionAsFig: 'Export selection as .fig',
  autosave: 'Auto-save to local file',
  closeTab: 'Close tab',
  selectPreviousTab: 'Select previous tab',
  selectNextTab: 'Select next tab',

  copy: 'Copy',
  paste: 'Paste',

  theme: 'Theme',
  themeLight: 'Light',
  themeDark: 'Dark',
  themeAuto: 'Auto',
  profiler: 'Performance profiler',
  language: 'Language',
  settings: 'Settings…',
  variables: 'Variables…',
  insertIcon: 'Insert Icon…',
  rulers: 'Rulers',
  pixelGrid: 'Pixel grid',
  multiplayerCursors: 'Multiplayer cursors',
  designIssues: 'Design issues',
  comments: 'Comments',
  preferences: 'Preferences',
  snapToGeometry: 'Snap to geometry',
  snapToObjects: 'Snap to objects',
  snapToPixelGrid: 'Snap to pixel grid',
  checkUpdates: 'Check for updates…',

  moveToPage: 'Move to page',
  autoArrange: 'Auto arrange',
  createInstance: 'Create instance',
  hide: 'Hide',
  show: 'Show',
  lock: 'Lock',
  unlock: 'Unlock',
  cut: 'Cut',
  front: 'Front',
  back: 'Back',
  toggleUI: 'Toggle UI',
  togglePreview: 'Preview',

  bold: 'Bold',
  italic: 'Italic',
  underline: 'Underline',
  strikethrough: 'Strikethrough',

  pasteHere: 'Paste here',
  pasteToReplace: 'Paste to replace',
  copyProperties: 'Copy properties',
  pasteProperties: 'Paste properties',
  renameSelection: 'Rename selection…',
  copyPasteAs: 'Copy/Paste as',
  copyAsText: 'Copy as text',
  copyAsSVG: 'Copy as SVG',
  copyAsPNG: 'Copy as PNG',
  copyAsJSX: 'Copy as JSX',
  copyNodeId: 'Copy node ID',
  copyXPath: 'Copy XPath',
  convertToVector: 'Convert to vector',
  booleanOperations: 'Boolean operations',
  arrangeAlignLeft: 'Align left',
  arrangeAlignCenter: 'Align center',
  arrangeAlignRight: 'Align right',
  arrangeAlignTop: 'Align top',
  arrangeAlignMiddle: 'Align middle',
  arrangeAlignBottom: 'Align bottom',
  zoomIn: 'Zoom in',
  zoomOut: 'Zoom out',
  splitRight: 'Split right',
  splitDown: 'Split down',
  closeView: 'Close view',
  removeGuide: 'Remove guide'
} as const

export const menuMessages = i18n('menu', menuMessageDefaults)