Skip to content

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

4.2 KB
Raw Blame
import { params } from '@nanostores/i18n'

import { i18n } from '#vue/i18n/create'

export const settingsMessageDefaults = {
  appearance: 'Appearance',
  interfaceScale: 'Interface size',
  interfaceScaleDescription: 'Scale panels, text, and controls without changing canvas zoom.',
  animations: 'Animations',
  animationsSystem: 'Follow system',
  animationsOff: 'Off',
  accentColor: 'Accent color',
  accentBlue: 'Blue',
  accentPurple: 'Purple',
  accentPink: 'Pink',
  accentRed: 'Red',
  accentOrange: 'Orange',
  accentYellow: 'Yellow',
  accentGreen: 'Green',
  accentGraphite: 'Graphite',
  accentCustom: 'Custom color',
  toolbar: 'Toolbar',
  toolbarDescription:
    'Drag tools to reorder them, and drop one onto another to put both in a menu. Hidden tools keep their shortcuts.',
  toolbarShow: params('Show {tool}'),
  toolbarReorder: params('Reorder {tool}'),
  toolbarOptions: params('{tool} options'),
  toolbarMoveUp: 'Move up',
  toolbarMoveDown: 'Move down',
  toolbarGroupWith: params('Group with {tool}'),
  toolbarUngroup: 'Ungroup',
  resetToDefault: 'Reset to default',
  customizeToolbar: 'Customize toolbar…',
  title: 'Settings',
  description: 'Manage integrations and app preferences.',
  general: 'General',
  groupApp: 'App',
  groupAI: 'AI',
  groupDataAndPrivacy: 'Data & privacy',
  editor: 'Editor',
  models: 'Models',
  imageServices: 'Image services',
  recentFiles: 'Recent files',
  recentFilesDescription: 'Choose how many files to keep in the recent list and Open Recent menu.',
  recentFilesLimit: 'Number of recent files',
  recentFilesLimitCustom: 'Custom…',
  recentFilesLimitRange: params('Enter a whole number from {min} to {max}.'),
  languageDescription: 'Choose the language used by the app interface.',
  editing: 'Editing',
  snappingDescription: 'Control alignment while editing paths, moving, and resizing layers.',
  snapToGeometry: 'Snap to geometry',
  snapToGeometryDescription: 'Align dragged vector points to other points in the path.',
  snapToObjects: 'Snap to objects',
  snapToObjectsDescription:
    'Align vector points and layer bounds to nearby layer edges and centers.',
  snapToPixelGrid: 'Snap to pixel grid',
  snapToPixelGridDescription:
    'Align vector points, moved layers, and resized edges to whole pixels.',
  temporaryDisableSnappingHint: 'Hold Control while dragging to temporarily disable snapping.',
  navigation: 'Navigation',
  navigationDescription: 'Control how the canvas moves when you scroll and zoom.',
  zoomSpeed: 'Zoom speed',
  zoomSpeedDescription: 'How far each mouse wheel step or trackpad pinch zooms the canvas.',
  usage: 'Usage',
  privacy: 'Privacy',
  diagnostics: 'Diagnostics',
  fonts: 'Fonts',
  media: 'Media',
  mcp: 'MCP',
  toolAccess: 'Tool access',
  capabilityShow: 'Show',
  capabilityShowAll: 'All',
  skills: 'Skills',
  edit: 'Edit',
  configured: 'Configured',
  notConfigured: 'Not configured',
  requiredField: 'This field is required.',
  invalidURL: 'Enter a valid HTTP or HTTPS URL without embedded credentials.',
  saveFailed: 'Could not save these changes. Check the settings and try again.',
  connectionFailed: 'Could not connect. Check the endpoint and credentials, then try again.',
  savedCredentialHint: 'Leave blank to keep the saved credential. Use Clear to remove it.',
  optionalCredentialHint: 'Optional. Add a key to enable this service.',
  configureStorageHint: 'Configure the connection before opening the workspace.',
  modelNameHint: 'A name you can recognize in the model picker.',
  designToolsRequired:
    'The Design model must support tools. Choose a compatible model or enable tool support in advanced settings.',
  modelIDHint: 'Use the exact model ID supplied by your provider.',
  baseURLHint: 'Enter the API endpoint, including any required path.',
  partialSaveWarning: 'Some changes may already be saved. Review the settings and try again.',
  discardChanges: 'Discard changes?',
  discardChangesDescription: 'Your unsaved changes will be lost.',
  keepEditing: 'Keep editing',
  discard: 'Discard',
  storage: 'Storage',
  cloud: 'Cloud',
  mobilePanelNavigation: 'Mobile panel navigation',
  notifications: 'Notifications'
} as const

export const settingsMessages = i18n('settings', settingsMessageDefaults)