Skip to content

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

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

export const commandMessageDefaults = {
  undo: 'Undo',
  redo: 'Redo',
  selectAll: 'Select all',
  selectInverse: 'Select inverse',
  duplicate: 'Duplicate',
  delete: 'Delete',
  group: 'Group',
  groupSelection: 'Group selection',
  frameSelection: 'Frame selection',
  wrapInSection: 'Wrap in new section',
  ungroup: 'Ungroup',
  createComponent: 'Create component',
  createSlot: 'Create slot',
  createComponentSet: 'Create component set',
  createInstance: 'Create instance',
  detachInstance: 'Detach instance',
  detachIcon: 'Detach icon',
  goToMainComponent: 'Go to main component',
  addAutoLayout: 'Add auto layout',
  useAsMask: 'Use as mask',
  removeMask: 'Remove mask',
  bringForward: 'Bring forward',
  bringToFront: 'Bring to front',
  sendBackward: 'Send backward',
  sendToBack: 'Send to back',
  showHide: 'Show/Hide',
  lockUnlock: 'Lock/Unlock',
  unionSelection: 'Union selection',
  subtractSelection: 'Subtract selection',
  intersectSelection: 'Intersect selection',
  excludeSelection: 'Exclude selection',
  flattenSelection: 'Flatten',
  outlineText: 'Outline text',
  outlineStroke: 'Outline stroke',
  booleanOperations: 'Boolean operations',
  flipHorizontal: 'Flip horizontal',
  flipVertical: 'Flip vertical',
  distributeHorizontal: 'Distribute horizontal spacing',
  distributeVertical: 'Distribute vertical spacing',
  tidyUp: 'Tidy up',
  packHorizontal: 'Pack horizontal',
  packVertical: 'Pack vertical',
  arrangeSpread: 'Spread apart',
  arrangeCompact: 'Spread and compact',
  arrangePack: 'Pack into rows',
  arrangeFlowDown: 'Flow, top to bottom',
  arrangeFlowRight: 'Flow, left to right',
  arrangeTreeDown: 'Tree, top to bottom',
  arrangeTreeRight: 'Tree, left to right',
  arrangeRadial: 'Radial map',
  arrangeNetwork: 'Network',
  moveToPage: 'Move to page',
  setOpacity: 'Set opacity',
  zoomTo50: 'Zoom to 50%',
  zoomTo100: 'Zoom to 100%',
  zoomTo200: 'Zoom to 200%',
  zoomToFit: 'Zoom to fit',
  zoomToSelection: 'Zoom to selection',
  selectChildren: 'Select children',
  selectParent: 'Select parent',
  selectNextSibling: 'Select next sibling',
  selectPreviousSibling: 'Select previous sibling',
  zoomToNextFrame: 'Zoom to next frame',
  zoomToPreviousFrame: 'Zoom to previous frame',
  nextPage: 'Next page',
  previousPage: 'Previous page',
  paletteSearchPlaceholder: 'Type a command or search…',
  paletteAriaLabel: 'Command palette',
  paletteSearchAriaLabel: 'Search commands',
  paletteDescription: 'Search and run OpenPencil commands.',
  paletteNoCommands: 'No commands found.',
  paletteBack: 'Back'
} as const

export const commandMessages = i18n('commands', commandMessageDefaults)