AI-native design editor. Open-source Figma alternative.
refactor(vue): split i18n domains (#371)
Danila Poyarkovefe141c6a1a2
diff --git a/packages/vue/src/controls/effects/helpers.ts b/packages/vue/src/controls/effects/helpers.tsindex fb9b08880..c869d16b8 100644--- a/packages/vue/src/controls/effects/helpers.ts+++ b/packages/vue/src/controls/effects/helpers.ts@@ -11,11 +11,11 @@ type EffectType = Effect['type']const { panels } = useI18n()const EFFECT_LABELS: Record<string, string> = {- DROP_SHADOW: panels.value.dropShadow || 'Drop shadow',- INNER_SHADOW: panels.value.innerShadow || 'Inner shadow',- LAYER_BLUR: panels.value.layerBlur || 'Layer blur',- BACKGROUND_BLUR: panels.value.backgroundBlur || 'Background blur',- FOREGROUND_BLUR: panels.value.foregroundBlur || 'Foreground blur'+ DROP_SHADOW: panels.value.dropShadow,+ INNER_SHADOW: panels.value.innerShadow,+ LAYER_BLUR: panels.value.layerBlur,+ BACKGROUND_BLUR: panels.value.backgroundBlur,+ FOREGROUND_BLUR: panels.value.foregroundBlur}export const EFFECT_TYPES = Object.keys(EFFECT_LABELS) as EffectType[]diff --git a/packages/vue/src/i18n/create.ts b/packages/vue/src/i18n/create.tsnew file mode 100644index 000000000..9b9c6bbe4--- /dev/null+++ b/packages/vue/src/i18n/create.ts@@ -0,0 +1,25 @@+import { createI18n } from '@nanostores/i18n'+import type { ComponentsJSON } from '@nanostores/i18n'++import { locale } from '#vue/i18n/locale'+import type { Locale, TranslatedLocale } from '#vue/i18n/locale'++const localeLoaders = {+ de: () => import('#vue/i18n/locales/de'),+ es: () => import('#vue/i18n/locales/es'),+ fr: () => import('#vue/i18n/locales/fr'),+ it: () => import('#vue/i18n/locales/it'),+ ja: () => import('#vue/i18n/locales/ja'),+ pl: () => import('#vue/i18n/locales/pl'),+ ru: () => import('#vue/i18n/locales/ru'),+ 'zh-CN': () => import('#vue/i18n/locales/zh-cn')+} satisfies Record<TranslatedLocale, () => Promise<{ default: ComponentsJSON }>>++export const i18n = createI18n<Locale, 'en'>(locale, {+ baseLocale: 'en',+ async get(code) {+ if (code === 'en') return {}+ const mod = await localeLoaders[code]()+ return mod.default+ }+})diff --git a/packages/vue/src/i18n/index.ts b/packages/vue/src/i18n/index.tsindex 6c6c099aa..5f7b5b000 100644--- a/packages/vue/src/i18n/index.ts+++ b/packages/vue/src/i18n/index.ts@@ -1,17 +1,32 @@-export { useI18n } from '#vue/i18n/useI18n'+export {+ useI18n,+ useI18nNamespace,+ useMenuMessages,+ useCommandMessages,+ useToolMessages,+ usePanelMessages,+ useVariableTypeMessages,+ usePageMessages,+ useDialogMessages+} from '#vue/i18n/useI18n'+export { i18n } from '#vue/i18n/create'export {locale,localeSetting,setLocale,AVAILABLE_LOCALES,+ TRANSLATED_LOCALES,+ LOCALE_DIR_NAMES,LOCALE_LABELS} from '#vue/i18n/locale'-export type { Locale } from '#vue/i18n/locale'+export type { Locale, TranslatedLocale } from '#vue/i18n/locale'export {menuMessages,commandMessages,toolMessages,panelMessages,+ variableTypeMessages,pageMessages,- dialogMessages+ dialogMessages,+ messageDefaults} from '#vue/i18n/messages'diff --git a/packages/vue/src/i18n/locale.ts b/packages/vue/src/i18n/locale.tsindex 366c51543..664d3a577 100644--- a/packages/vue/src/i18n/locale.ts+++ b/packages/vue/src/i18n/locale.ts@@ -3,6 +3,29 @@ import { atom } from 'nanostores'export const AVAILABLE_LOCALES = ['en', 'de', 'es', 'fr', 'it', 'ja', 'pl', 'ru', 'zh-CN'] as constexport type Locale = (typeof AVAILABLE_LOCALES)[number]+export type TranslatedLocale = Exclude<Locale, 'en'>++export const TRANSLATED_LOCALES = [+ 'de',+ 'es',+ 'fr',+ 'it',+ 'ja',+ 'pl',+ 'ru',+ 'zh-CN'+] as const satisfies ReadonlyArray<TranslatedLocale>++export const LOCALE_DIR_NAMES = {+ de: 'de',+ es: 'es',+ fr: 'fr',+ it: 'it',+ ja: 'ja',+ pl: 'pl',+ ru: 'ru',+ 'zh-CN': 'zh-cn'+} as const satisfies Record<TranslatedLocale, string>export const LOCALE_LABELS: Record<Locale, string> = {en: 'English',diff --git a/packages/vue/src/i18n/locales/de/commands.json b/packages/vue/src/i18n/locales/de/commands.jsonnew file mode 100644index 000000000..30df37823--- /dev/null+++ b/packages/vue/src/i18n/locales/de/commands.json@@ -0,0 +1,35 @@+{+ "undo": "Rückgängig",+ "redo": "Wiederholen",+ "selectAll": "Alles auswählen",+ "duplicate": "Duplizieren",+ "delete": "Löschen",+ "group": "Gruppieren",+ "ungroup": "Gruppierung aufheben",+ "createComponent": "Komponente erstellen",+ "createComponentSet": "Komponentensatz erstellen",+ "createInstance": "Instanz erstellen",+ "detachInstance": "Instanz lösen",+ "goToMainComponent": "Zur Hauptkomponente",+ "addAutoLayout": "Auto-Layout hinzufügen",+ "bringToFront": "In den Vordergrund",+ "sendToBack": "In den Hintergrund",+ "moveToPage": "Auf Seite verschieben",+ "zoomTo100": "Zoom 100 %",+ "zoomToFit": "Einpassen",+ "zoomToSelection": "Auswahl einpassen",+ "groupSelection": "Gruppieren",+ "frameSelection": "Auswahl in Rahmen setzen",+ "showHide": "Ein-/Ausblenden",+ "lockUnlock": "Sperren/Entsperren",+ "unionSelection": "Auswahl vereinen",+ "subtractSelection": "Auswahl subtrahieren",+ "intersectSelection": "Auswahl schneiden",+ "excludeSelection": "Auswahl ausschließen",+ "booleanOperations": "Boolesche Operationen",+ "flipHorizontal": "Horizontal spiegeln",+ "flipVertical": "Vertikal spiegeln",+ "flattenSelection": "Abflachen",+ "outlineText": "Text in Pfade umwandeln",+ "outlineStroke": "Kontur in Pfad umwandeln"+}diff --git a/packages/vue/src/i18n/locales/de/dialogs.json b/packages/vue/src/i18n/locales/de/dialogs.jsonnew file mode 100644index 000000000..cf5e82de0--- /dev/null+++ b/packages/vue/src/i18n/locales/de/dialogs.json@@ -0,0 +1,133 @@+{+ "cancel": "Abbrechen",+ "apply": "Anwenden",+ "close": "Schließen",+ "ok": "OK",+ "copy": "Kopieren",+ "copied": "Kopiert",+ "createCollection": "Sammlung erstellen",+ "localVariables": "Lokale Variablen",+ "noVariableCollections": "Keine Variablensammlungen",+ "selectLayerForJSX": "Wähle eine Ebene, um ihren JSX-Code zu sehen",+ "connectAIProvider": "Verbinde einen KI-Anbieter, um den Chat zu starten.",+ "connect": "Verbinden",+ "testConnection": "Test connection",+ "testingConnection": "Testing…",+ "connectionTestSuccess": "Connected successfully. Model is reachable.",+ "connectionTestMissingAPIKey": "Enter an API key before testing.",+ "connectionTestMissingBaseURL": "Enter a base URL before testing.",+ "connectionTestMissingModel": "Enter a model ID before testing.",+ "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",+ "connectionTestAuthFailed": "Authentication failed. Check your API key.",+ "connectionTestModelNotFound": "Model not found. Check the model ID.",+ "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",+ "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",+ "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",+ "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",+ "getAPIKey": "Einen {provider}-API-Schlüssel erhalten →",+ "oneKeyManyModels": "Ein Schlüssel für über 100 Modelle aller Anbieter.",+ "describeChange": "Beschreibe eine Änderung…",+ "describeCreateOrChange": "Beschreibe, was du erstellen oder ändern möchtest.",+ "stopGenerating": "Generierung stoppen",+ "sendMessage": "Nachricht senden",+ "baseURLPlaceholder": "Base URL (z. B. http://localhost:11434/v1)",+ "modelIDPlaceholder": "Model ID (z. B. llama-3.3-70b)",+ "yourName": "Dein Name",+ "enterYourName": "Deinen Namen eingeben",+ "shareThisFile": "Diese Datei teilen",+ "joinRoom": "Raum beitreten",+ "join": "Beitreten",+ "roomLink": "Raumlink",+ "joinCollaboration": "Zur Zusammenarbeit beitreten",+ "orJoinRoom": "oder einem Raum beitreten",+ "pasteRoomLinkOrId": "Raumlink oder ID einfügen",+ "connected": "Verbunden",+ "search": "Suchen…",+ "noResults": "Keine Ergebnisse",+ "share": "Teilen",+ "appUpToDate": "OpenPencil ist auf dem neuesten Stand",+ "updateAvailableTitle": "OpenPencil aktualisieren",+ "updateAvailable": "OpenPencil {version} ist verfügbar.",+ "updateInstallPrompt": "Jetzt herunterladen und installieren? Die App wird nach der Installation neu gestartet.",+ "downloadingUpdate": "OpenPencil {version} wird heruntergeladen",+ "updateInstalledTitle": "Update installiert",+ "updateInstalled": "OpenPencil {version} wurde installiert{size}. Neustart jetzt.",+ "updateCheckFailed": "Updates konnten nicht geprüft werden: {error}",+ "updateUnavailable": "Updates sind noch nicht verfügbar. Veröffentliche zuerst ein signiertes Release mit latest.json.",+ "renameCollection": "Sammlung umbenennen",+ "deleteCollection": "Sammlung loeschen",+ "modes": "Modi",+ "addMode": "Modus hinzufuegen",+ "renameMode": "Modus umbenennen",+ "duplicateMode": "Modus duplizieren",+ "deleteMode": "Modus loeschen",+ "setDefaultMode": "Als Standard festlegen",+ "aiProvider": "AI Provider",+ "providerSettings": "Provider settings",+ "done": "Done",+ "apiKey": "API Key",+ "apiType": "API Type",+ "baseURL": "Base URL",+ "modelID": "Model ID",+ "maxOutputTokens": "Max output tokens",+ "clear": "Clear",+ "keySavedReplace": "Key saved — enter new to replace",+ "getAPIKeyGeneric": "Get API key →",+ "pexelsAPIKey": "Pexels API Key (stock photos)",+ "unsplashAccessKey": "Unsplash Access Key",+ "stockPhotoToolOptional": "Optional — for stock_photo tool",+ "pexelsAlternativeOptional": "Optional — alternative to Pexels",+ "getPexelsAPIKey": "Get free Pexels API key →",+ "getUnsplashAccessKey": "Get free Unsplash access key →",+ "completions": "Completions",+ "responses": "Responses",+ "copiedExclamation": "Kopiert!",+ "copyMessage": "Nachricht kopieren",+ "copyJSXReference": "JSX-Prop-Referenz in die Zwischenablage kopieren",+ "newTab": "Neuer Tab",+ "closeTab": "{name} schließen",+ "showUI": "UI anzeigen ({shortcut})",+ "fontSettings": "Schrifteinstellungen",+ "fontSettingsDesktopDescription": "Auf Systemschriften, Online-Anbieter, Fallback-Pakete und zwischengespeicherte Downloads zugreifen.",+ "fontSettingsBrowserDescription": "Browserzugriff auf lokale Schriften erlauben und Online-Schriftanbieter verwalten.",+ "localFonts": "Lokale Schriften",+ "onlineFonts": "Online-Schriften",+ "downloadedCache": "Download-Cache",+ "lastUpdated": "Zuletzt aktualisiert",+ "enabled": "Aktiviert",+ "disabled": "Deaktiviert",+ "denied": "Verweigert",+ "unavailable": "Nicht verfügbar",+ "notRequested": "Nicht angefragt",+ "never": "Nie",+ "systemFontAccess": "Zugriff auf Systemschriften",+ "systemFontsAvailable": "Systemschriften sind verfügbar.",+ "allowBrowserFontAccess": "Browser-Schriftzugriff erlauben, wenn Systemschriften fehlen.",+ "allow": "Erlauben",+ "requesting": "Wird angefragt…",+ "onlineFontProviders": "Online-Schriftanbieter",+ "downloadMissingWebFonts": "Fehlende Web-Schriften über aktivierte Anbieter herunterladen.",+ "webFontProvidersRequireDesktopApp": "Online-Schriftanbieter-Kataloge sind in der Web-App nicht verfügbar. Lade die Desktop-App herunter, um Anbieter-Schriften zu durchsuchen und zu laden.",+ "enable": "Aktivieren",+ "disable": "Deaktivieren",+ "fallbackPacks": "Fallback-Pakete",+ "downloadFallbackPacksDescription": "CJK- und Arabisch-Fallbacks vor dem Öffnen von Dateien herunterladen, die sie benötigen.",+ "download": "Herunterladen",+ "downloading": "Wird heruntergeladen…",+ "refresh": "Aktualisieren",+ "clearCache": "Cache leeren",+ "localFontAccessEnabled": "Lokaler Schriftzugriff aktiviert.",+ "localFontAccessNotGranted": "Lokaler Schriftzugriff wurde nicht gewährt.",+ "onlineFontProvidersEnabled": "Online-Schriftanbieter aktiviert.",+ "onlineFontProvidersDisabled": "Online-Schriftanbieter deaktiviert.",+ "fontProviderEnabled": "{provider} aktiviert.",+ "fontProviderDisabled": "{provider} deaktiviert.",+ "fallbackFontsDownloaded": "Fallback-Schriften heruntergeladen.",+ "fallbackFontsDownloadFailed": "Fallback-Schriften konnten nicht heruntergeladen werden.",+ "downloadedFontCacheCleared": "Download-Schriftcache geleert.",+ "downloadedFontCacheClearFailed": "Download-Schriftcache konnte nicht geleert werden.",+ "you": "Du",+ "youSuffix": "du",+ "followingPeerStop": "Folge {name} (zum Stoppen klicken)",+ "clickToFollowPeer": "Klicken, um {name} zu folgen"+}diff --git a/packages/vue/src/i18n/locales/de/index.ts b/packages/vue/src/i18n/locales/de/index.tsnew file mode 100644index 000000000..8a630a7ba--- /dev/null+++ b/packages/vue/src/i18n/locales/de/index.ts@@ -0,0 +1,19 @@+import type { ComponentsJSON } from '@nanostores/i18n'++import commands from './commands.json'+import dialogs from './dialogs.json'+import menu from './menu.json'+import pages from './pages.json'+import panels from './panels.json'+import tools from './tools.json'+import variableTypes from './variable-types.json'++export default {+ menu: menu,+ commands: commands,+ tools: tools,+ panels: panels,+ variableTypes: variableTypes,+ pages: pages,+ dialogs: dialogs+} satisfies ComponentsJSONdiff --git a/packages/vue/src/i18n/locales/de/menu.json b/packages/vue/src/i18n/locales/de/menu.jsonnew file mode 100644index 000000000..b84d79382--- /dev/null+++ b/packages/vue/src/i18n/locales/de/menu.json@@ -0,0 +1,56 @@+{+ "file": "Datei",+ "edit": "Bearbeiten",+ "view": "Ansicht",+ "object": "Objekt",+ "arrange": "Anordnen",+ "text": "Text",+ "new": "Neu",+ "open": "Öffnen…",+ "save": "Speichern",+ "saveAs": "Speichern unter…",+ "exportSelection": "Auswahl exportieren…",+ "autosave": "Automatisch in Datei speichern",+ "copy": "Kopieren",+ "paste": "Einfügen",+ "zoomIn": "Vergrößern",+ "zoomOut": "Verkleinern",+ "profiler": "Leistungsprofil",+ "theme": "Thema",+ "themeLight": "Hell",+ "themeDark": "Dunkel",+ "themeAuto": "Automatisch",+ "language": "Sprache",+ "moveToPage": "Auf Seite verschieben",+ "createInstance": "Instanz erstellen",+ "hide": "Ausblenden",+ "show": "Einblenden",+ "lock": "Sperren",+ "unlock": "Entsperren",+ "cut": "Ausschneiden",+ "front": "Nach vorn",+ "back": "Nach hinten",+ "toggleUI": "UI umschalten",+ "bold": "Fett",+ "italic": "Kursiv",+ "underline": "Unterstrichen",+ "pasteHere": "Hier einfügen",+ "pasteToReplace": "Zum Ersetzen einfügen",+ "copyPasteAs": "Kopieren/Einfügen als",+ "copyAsText": "Als Text kopieren",+ "copyAsSVG": "Als SVG kopieren",+ "copyAsPNG": "Als PNG kopieren",+ "copyAsJSX": "Als JSX kopieren",+ "copyNodeId": "Knoten-ID kopieren",+ "copyXPath": "XPath kopieren",+ "checkUpdates": "Nach Updates suchen…",+ "booleanOperations": "Boolesche Operationen",+ "strikethrough": "Durchstreichen",+ "closeTab": "Tab schließen",+ "arrangeAlignLeft": "Links ausrichten",+ "arrangeAlignCenter": "Zentrieren",+ "arrangeAlignRight": "Rechts ausrichten",+ "arrangeAlignTop": "Oben ausrichten",+ "arrangeAlignMiddle": "Mittig ausrichten",+ "arrangeAlignBottom": "Unten ausrichten"+}diff --git a/packages/vue/src/i18n/locales/de/pages.json b/packages/vue/src/i18n/locales/de/pages.jsonnew file mode 100644index 000000000..6cc2cbf3d--- /dev/null+++ b/packages/vue/src/i18n/locales/de/pages.json@@ -0,0 +1,6 @@+{+ "newPage": "Neue Seite",+ "rename": "Umbenennen",+ "delete": "Löschen",+ "pageName": "Seite {number}"+}diff --git a/packages/vue/src/i18n/locales/de/panels.json b/packages/vue/src/i18n/locales/de/panels.jsonnew file mode 100644index 000000000..a5346376e--- /dev/null+++ b/packages/vue/src/i18n/locales/de/panels.json@@ -0,0 +1,156 @@+{+ "layers": "Ebenen",+ "pages": "Seiten",+ "design": "Design",+ "code": "Code",+ "ai": "KI",+ "assets": "Elemente",+ "page": "Seite",+ "position": "Position",+ "layout": "Layout",+ "autoLayout": "Auto-Layout",+ "alignment": "Ausrichtung",+ "appearance": "Darstellung",+ "fill": "Füllung",+ "stroke": "Kontur",+ "effects": "Effekte",+ "export": "Export",+ "typography": "Typografie",+ "variables": "Variablen",+ "constraints": "Einschränkungen",+ "addFill": "Füllung hinzufügen",+ "addStroke": "Kontur hinzufügen",+ "addEffect": "Effekt hinzufügen",+ "addExport": "Export hinzufügen",+ "dropShadow": "Schlagschatten",+ "innerShadow": "Innerer Schatten",+ "layerBlur": "Ebenenunschärfe",+ "backgroundBlur": "Hintergrundunschärfe",+ "noSelection": "Keine Auswahl",+ "noLocalVariables": "Keine lokalen Variablen",+ "openVariables": "Variablen öffnen",+ "addPage": "Seite hinzufügen",+ "toggleVisibility": "Sichtbarkeit umschalten",+ "independentCornerRadii": "Unabhängige Eckenradien",+ "detachVariable": "Variable lösen",+ "applyVariable": "Variable anwenden",+ "noVariablesFound": "Keine Variablen gefunden",+ "addAutoLayout": "Auto-Layout hinzufügen",+ "removeAutoLayout": "Auto-Layout entfernen",+ "mixed": "Gemischt",+ "layersCount": "{count} Ebenen",+ "goToMainComponent": "Zur Hauptkomponente",+ "detachInstance": "Instanz lösen",+ "solid": "Vollton",+ "linearGradient": "Linear",+ "radialGradient": "Radial",+ "image": "Bild",+ "stops": "Stopps",+ "addStop": "Stopp hinzufügen",+ "alignLeft": "Links ausrichten",+ "alignCenter": "Zentrieren",+ "alignRight": "Rechts ausrichten",+ "alignTop": "Oben ausrichten",+ "alignMiddle": "Mittig ausrichten",+ "alignBottom": "Unten ausrichten",+ "alignCenterHorizontally": "Horizontal zentrieren",+ "alignCenterVertically": "Vertikal zentrieren",+ "flipHorizontal": "Horizontal spiegeln",+ "flipVertical": "Vertikal spiegeln",+ "rotate90": "90° drehen",+ "mixedFillsHelp": "Klicke auf +, um gemischte Füllungen zu ersetzen",+ "mixedStrokesHelp": "Klicke auf +, um gemischte Konturen zu ersetzen",+ "mixedEffectsHelp": "Klicke auf +, um gemischte Effekte zu ersetzen",+ "strokeSides": "Konturseiten",+ "clipContent": "Inhalt zuschneiden",+ "colorFormatRgb": "RGB",+ "colorFormatHsl": "HSL",+ "colorFormatHsb": "HSB",+ "colorFormatOkhcl": "OkHCL",+ "colorHintHsl": "H Farbton · S Sättigung · L Helligkeit",+ "colorHintHsb": "H Farbton · S Sättigung · B Helligkeit",+ "colorHintOkhcl": "H Farbton · C Chroma · L Helligkeit · A Alpha",+ "colorPreviewClipped": "Zugeschnitten auf {space}-Vorschaufarbraum",+ "rulers": "Lineale",+ "multiplayerCursors": "Cursor anderer Teilnehmer",+ "direction": "Richtung",+ "flow": "Fluss",+ "auto": "Automatisch",+ "columns": "Spalten",+ "rows": "Zeilen",+ "sizingFixed": "Fest",+ "sizingHug": "An Inhalt anpassen",+ "sizingFill": "Füllen",+ "sizingHugShort": "Inhalt",+ "sizingFillShort": "Füllen",+ "sizingFillFr": "Füllen (fr)",+ "sizingFixedPx": "Fest (px)",+ "strokeAlignInside": "Innen",+ "strokeAlignCenter": "Mitte",+ "strokeAlignOutside": "Außen",+ "exportPreview": "Vorschau",+ "exportRenderingPreview": "Vorschau wird gerendert…",+ "createVariable": "Variable erstellen",+ "createColorVariable": "Farbvariable aus {value} erstellen",+ "variableName": "Variablenname",+ "create": "Erstellen",+ "createNumberVariable": "Zahlenvariable aus {value} erstellen",+ "strokeDash": "Gestrichelter Strich",+ "add": "Hinzufügen",+ "variants": "Varianten",+ "gapAuto": "Automatischer Abstand",+ "horizontalGap": "Horizontaler Abstand",+ "verticalGap": "Vertikaler Abstand",+ "addMinWidth": "Mindestbreite hinzufuegen",+ "removeMinWidth": "Mindestbreite entfernen",+ "addMaxWidth": "Maximalbreite hinzufuegen",+ "removeMaxWidth": "Maximalbreite entfernen",+ "addMinHeight": "Mindesthoehe hinzufuegen",+ "removeMinHeight": "Mindesthoehe entfernen",+ "addMaxHeight": "Maximalhoehe hinzufuegen",+ "removeMaxHeight": "Maximalhoehe entfernen",+ "minWidthShort": "Min B",+ "maxWidthShort": "Max B",+ "minHeightShort": "Min H",+ "maxHeightShort": "Max H",+ "setToCurrentWidth": "Auf aktuelle Breite setzen",+ "setToCurrentHeight": "Auf aktuelle Hoehe setzen",+ "searchLocalComponents": "Lokale Komponenten suchen",+ "assetLibraryBadge": "Bibliothek",+ "assetVariantSummary": "{count} Varianten · {names}",+ "duplicateVariantValues": "Doppelte Variantenwerte",+ "openDocumentation": "Dokumentation öffnen",+ "noLocalComponents": "Keine lokalen Komponenten",+ "componentSet": "Komponentensatz",+ "component": "Komponente",+ "insertInstance": "Instanz einfügen",+ "description": "Beschreibung",+ "documentation": "Dokumentation",+ "openDocs": "Dokumentation öffnen",+ "properties": "Eigenschaften",+ "removeFill": "Füllung entfernen",+ "removeStroke": "Kontur entfernen",+ "removeEffect": "Effekt entfernen",+ "removeExport": "Export entfernen",+ "effectSettings": "Effekteinstellungen",+ "expandEffectSettings": "Effekteinstellungen erweitern",+ "collapseEffectSettings": "Effekteinstellungen einklappen",+ "toggleExportPreview": "Exportvorschau umschalten",+ "untitled": "Unbenannt",+ "nodeCopyString": " Kopie",+ "xAxis": "X-Achse",+ "yAxis": "Y-Achse",+ "rotation": "Drehung",+ "width": "Breite",+ "height": "Höhe",+ "opacity": "Deckkraft",+ "radius": "Radius",+ "spread": "Ausbreitung",+ "foregroundBlur": "Vordergrund-Weichzeichnung",+ "strokeType": "Linientyp",+ "strokeWeight": "Linienstärke",+ "exportScale": "Exportmaßstab",+ "exportFormat": "Exportformat",+ "gap": "Abstand",+ "searchFonts": "Schriftarten suchen..."+}diff --git a/packages/vue/src/i18n/locales/de/tools.json b/packages/vue/src/i18n/locales/de/tools.jsonnew file mode 100644index 000000000..c883b9824--- /dev/null+++ b/packages/vue/src/i18n/locales/de/tools.json@@ -0,0 +1,13 @@+{+ "move": "Verschieben",+ "frame": "Rahmen",+ "section": "Abschnitt",+ "rectangle": "Rechteck",+ "ellipse": "Ellipse",+ "line": "Linie",+ "polygon": "Polygon",+ "star": "Stern",+ "pen": "Stift",+ "text": "Text",+ "hand": "Hand"+}diff --git a/packages/vue/src/i18n/locales/de/variable-types.json b/packages/vue/src/i18n/locales/de/variable-types.jsonnew file mode 100644index 000000000..7704ecd18--- /dev/null+++ b/packages/vue/src/i18n/locales/de/variable-types.json@@ -0,0 +1,10 @@+{+ "color": "Farbe",+ "colorHint": "Farbwerte",+ "number": "Zahl",+ "numberHint": "Größen, Abstände, Deckkraft",+ "text": "Text",+ "textHint": "Text und Beschriftungen",+ "boolean": "Boolean",+ "booleanHint": "Wahr oder falsch"+}diff --git a/packages/vue/src/i18n/locales/es/commands.json b/packages/vue/src/i18n/locales/es/commands.jsonnew file mode 100644index 000000000..28d400bdf--- /dev/null+++ b/packages/vue/src/i18n/locales/es/commands.json@@ -0,0 +1,35 @@+{+ "undo": "Deshacer",+ "redo": "Rehacer",+ "selectAll": "Seleccionar todo",+ "duplicate": "Duplicar",+ "delete": "Eliminar",+ "group": "Agrupar",+ "ungroup": "Desagrupar",+ "createComponent": "Crear componente",+ "createComponentSet": "Crear conjunto de componentes",+ "createInstance": "Crear instancia",+ "detachInstance": "Separar instancia",+ "goToMainComponent": "Ir al componente principal",+ "addAutoLayout": "Añadir auto-layout",+ "bringToFront": "Traer al frente",+ "sendToBack": "Enviar al fondo",+ "moveToPage": "Mover a página",+ "zoomTo100": "Zoom 100 %",+ "zoomToFit": "Ajustar a pantalla",+ "zoomToSelection": "Zoom a selección",+ "groupSelection": "Agrupar",+ "frameSelection": "Selección de marco",+ "showHide": "Visibilidad",+ "lockUnlock": "Bloqueo",+ "unionSelection": "Selección de unión",+ "subtractSelection": "Selección de sustración",+ "intersectSelection": "Selección de intersección",+ "excludeSelection": "Selección de exclusión",+ "booleanOperations": "Operaciones boolean",+ "flipHorizontal": "Voltear horizontalmente",+ "flipVertical": "Voltear verticalmente",+ "flattenSelection": "Aplanar",+ "outlineText": "Contornear texto",+ "outlineStroke": "Cortornear trazo"+}diff --git a/packages/vue/src/i18n/locales/es/dialogs.json b/packages/vue/src/i18n/locales/es/dialogs.jsonnew file mode 100644index 000000000..7d2091acd--- /dev/null+++ b/packages/vue/src/i18n/locales/es/dialogs.json@@ -0,0 +1,133 @@+{+ "cancel": "Cancelar",+ "apply": "Aplicar",+ "close": "Cerrar",+ "ok": "Aceptar",+ "copy": "Copiar",+ "copied": "Copiado",+ "createCollection": "Crear colección",+ "localVariables": "Variables locales",+ "noVariableCollections": "No hay colecciones de variables",+ "selectLayerForJSX": "Selecciona una capa para ver su código JSX",+ "connectAIProvider": "Conecta un proveedor de IA para empezar a chatear.",+ "connect": "Conectar",+ "testConnection": "Test connection",+ "testingConnection": "Testing…",+ "connectionTestSuccess": "Connected successfully. Model is reachable.",+ "connectionTestMissingAPIKey": "Enter an API key before testing.",+ "connectionTestMissingBaseURL": "Enter a base URL before testing.",+ "connectionTestMissingModel": "Enter a model ID before testing.",+ "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",+ "connectionTestAuthFailed": "Authentication failed. Check your API key.",+ "connectionTestModelNotFound": "Model not found. Check the model ID.",+ "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",+ "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",+ "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",+ "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",+ "getAPIKey": "Obtener una clave API de {provider} →",+ "oneKeyManyModels": "Una clave para más de 100 modelos de todos los proveedores.",+ "describeChange": "Describe un cambio…",+ "describeCreateOrChange": "Describe lo que quieres crear o cambiar.",+ "stopGenerating": "Detener generación",+ "sendMessage": "Enviar mensaje",+ "baseURLPlaceholder": "Base URL (p. ej. http://localhost:11434/v1)",+ "modelIDPlaceholder": "Model ID (p. ej. llama-3.3-70b)",+ "yourName": "Tu nombre",+ "enterYourName": "Introduce tu nombre",+ "shareThisFile": "Compartir este archivo",+ "joinRoom": "Unirse a la sala",+ "join": "Unirse",+ "roomLink": "Enlace de la sala",+ "joinCollaboration": "Unirse a la colaboración",+ "orJoinRoom": "o unirse a una sala",+ "pasteRoomLinkOrId": "Pega el enlace o ID de la sala",+ "connected": "Conectado",+ "search": "Buscar…",+ "noResults": "Sin resultados",+ "share": "Compartir",+ "appUpToDate": "OpenPencil está actualizado",+ "updateAvailableTitle": "Actualizar OpenPencil",+ "updateAvailable": "Está disponible la versión {version} de OpenPencil.",+ "updateInstallPrompt": "¿Descargar e instalar ahora? La app se reiniciará después de instalar la actualización.",+ "downloadingUpdate": "Descargando OpenPencil {version}",+ "updateInstalledTitle": "Actualización instalada",+ "updateInstalled": "Se ha instalado la versión {version} de OpenPencil{size}. Reiniciando ahora...",+ "updateCheckFailed": "Error al encontrar actualizaciones: {error}",+ "updateUnavailable": "Las actualizaciones aún no están disponibles. Publica primero una versión firmada con latest.json.",+ "renameCollection": "Renombrar coleccion",+ "deleteCollection": "Eliminar coleccion",+ "modes": "Modos",+ "addMode": "Agregar modo",+ "renameMode": "Renombrar modo",+ "duplicateMode": "Duplicar modo",+ "deleteMode": "Eliminar modo",+ "setDefaultMode": "Establecer como predeterminado",+ "aiProvider": "Proveedor IA",+ "providerSettings": "Opciones del proveedor",+ "done": "Hecho",+ "apiKey": "Clave API",+ "apiType": "Tipo API",+ "baseURL": "URL base",+ "modelID": "ID Modelo",+ "maxOutputTokens": "Tokens de salida máx.",+ "clear": "Limpiar",+ "keySavedReplace": "Clave guardada - introduce una nueva para reemplazarla",+ "getAPIKeyGeneric": "Obtener clave API →",+ "pexelsAPIKey": "Clave API de Pexels (fotos stock)",+ "unsplashAccessKey": "Clave de acceso de Unsplash",+ "stockPhotoToolOptional": "Opcional — para herramienta stock_photo",+ "pexelsAlternativeOptional": "Opcional — alternativa a Pexels",+ "getPexelsAPIKey": "Obtener clave a la API gratis de Pexels →",+ "getUnsplashAccessKey": "Obtener clave a la API gratis de Unsplash →",+ "completions": "Completados",+ "responses": "Respuestas",+ "copiedExclamation": "¡Copiado!",+ "copyMessage": "Copiar mensaje",+ "copyJSXReference": "Copiar referencia de props JSX al portapapeles",+ "newTab": "Nueva pestaña",+ "closeTab": "Cerrar {name}",+ "showUI": "Mostrar interfaz ({shortcut})",+ "fontSettings": "Ajustes de fuentes",+ "fontSettingsDesktopDescription": "Accede a fuentes del sistema, proveedores en línea, paquetes de respaldo y descargas en caché.",+ "fontSettingsBrowserDescription": "Permite al navegador acceder a fuentes locales y gestiona proveedores de fuentes en línea.",+ "localFonts": "Fuentes locales",+ "onlineFonts": "Fuentes en línea",+ "downloadedCache": "Caché descargada",+ "lastUpdated": "Última actualización",+ "enabled": "Activado",+ "disabled": "Desactivado",+ "denied": "Denegado",+ "unavailable": "No disponible",+ "notRequested": "No solicitado",+ "never": "Nunca",+ "systemFontAccess": "Acceso a fuentes del sistema",+ "systemFontsAvailable": "Las fuentes del sistema están disponibles.",+ "allowBrowserFontAccess": "Permite el acceso a fuentes del navegador cuando falten fuentes del sistema.",+ "allow": "Permitir",+ "requesting": "Solicitando…",+ "onlineFontProviders": "Proveedores de fuentes en línea",+ "downloadMissingWebFonts": "Descarga fuentes web faltantes mediante los proveedores activados.",+ "webFontProvidersRequireDesktopApp": "Los catálogos de proveedores de fuentes en línea no están disponibles en la app web. Descarga la app de escritorio para explorar y cargar fuentes de proveedores.",+ "enable": "Activar",+ "disable": "Desactivar",+ "fallbackPacks": "Paquetes de respaldo",+ "downloadFallbackPacksDescription": "Descarga respaldos CJK y árabes antes de abrir archivos que los necesiten.",+ "download": "Descargar",+ "downloading": "Descargando…",+ "refresh": "Actualizar",+ "clearCache": "Borrar caché",+ "localFontAccessEnabled": "Acceso a fuentes locales activado.",+ "localFontAccessNotGranted": "No se concedió acceso a fuentes locales.",+ "onlineFontProvidersEnabled": "Proveedores de fuentes en línea activados.",+ "onlineFontProvidersDisabled": "Proveedores de fuentes en línea desactivados.",+ "fontProviderEnabled": "{provider} activado.",+ "fontProviderDisabled": "{provider} desactivado.",+ "fallbackFontsDownloaded": "Fuentes de respaldo descargadas.",+ "fallbackFontsDownloadFailed": "No se pudieron descargar las fuentes de respaldo.",+ "downloadedFontCacheCleared": "Caché de fuentes descargadas borrada.",+ "downloadedFontCacheClearFailed": "No se pudo borrar la caché de fuentes descargadas.",+ "you": "Tú",+ "youSuffix": "tú",+ "followingPeerStop": "Siguiendo a {name} (haz clic para detener)",+ "clickToFollowPeer": "Haz clic para seguir a {name}"+}diff --git a/packages/vue/src/i18n/locales/es/index.ts b/packages/vue/src/i18n/locales/es/index.tsnew file mode 100644index 000000000..8a630a7ba--- /dev/null+++ b/packages/vue/src/i18n/locales/es/index.ts@@ -0,0 +1,19 @@+import type { ComponentsJSON } from '@nanostores/i18n'++import commands from './commands.json'+import dialogs from './dialogs.json'+import menu from './menu.json'+import pages from './pages.json'+import panels from './panels.json'+import tools from './tools.json'+import variableTypes from './variable-types.json'++export default {+ menu: menu,+ commands: commands,+ tools: tools,+ panels: panels,+ variableTypes: variableTypes,+ pages: pages,+ dialogs: dialogs+} satisfies ComponentsJSONdiff --git a/packages/vue/src/i18n/locales/es/menu.json b/packages/vue/src/i18n/locales/es/menu.jsonnew file mode 100644index 000000000..338b84ac0--- /dev/null+++ b/packages/vue/src/i18n/locales/es/menu.json@@ -0,0 +1,56 @@+{+ "file": "Archivo",+ "edit": "Editar",+ "view": "Ver",+ "object": "Objeto",+ "arrange": "Organizar",+ "text": "Texto",+ "new": "Nuevo",+ "open": "Abrir…",+ "save": "Guardar",+ "saveAs": "Guardar como…",+ "exportSelection": "Exportar selección…",+ "autosave": "Guardado automático en archivo",+ "copy": "Copiar",+ "paste": "Pegar",+ "theme": "Tema",+ "themeLight": "Claro",+ "themeDark": "Oscuro",+ "themeAuto": "Automático",+ "profiler": "Perfil de rendimiento",+ "language": "Idioma",+ "toggleUI": "Alternar interfaz",+ "moveToPage": "Mover a página",+ "createInstance": "Crear instancia",+ "hide": "Ocultar",+ "show": "Mostrar",+ "lock": "Bloquear",+ "unlock": "Desbloquear",+ "cut": "Cortar",+ "front": "Al frente",+ "back": "Al fondo",+ "bold": "Negrita",+ "italic": "Cursiva",+ "underline": "Subrayado",+ "strikethrough": "Tachado",+ "pasteHere": "Pegar aquí",+ "pasteToReplace": "Pegar y reemplazar",+ "copyPasteAs": "Copiar/Pegar como",+ "copyAsText": "Copiar como texto",+ "copyAsSVG": "Copiar como SVG",+ "copyAsPNG": "Copiar como PNG",+ "copyAsJSX": "Copiar como JSX",+ "copyNodeId": "Copiar ID del nodo",+ "copyXPath": "Copiar XPath",+ "checkUpdates": "Buscar actualizaciones…",+ "booleanOperations": "Operaciones booleanas",+ "closeTab": "Cerrar pestaña",+ "zoomIn": "Ampliar",+ "zoomOut": "Reducir",+ "arrangeAlignLeft": "Alinear a la izquierda",+ "arrangeAlignCenter": "Alinear al centro",+ "arrangeAlignRight": "Alinear a la derecha",+ "arrangeAlignTop": "Alinear arriba",+ "arrangeAlignMiddle": "Alinear centro verticalmente",+ "arrangeAlignBottom": "Alinear abajo"+}diff --git a/packages/vue/src/i18n/locales/es/pages.json b/packages/vue/src/i18n/locales/es/pages.jsonnew file mode 100644index 000000000..deca85f0e--- /dev/null+++ b/packages/vue/src/i18n/locales/es/pages.json@@ -0,0 +1,6 @@+{+ "newPage": "Nueva página",+ "rename": "Renombrar",+ "delete": "Eliminar",+ "pageName": "Página {number}"+}diff --git a/packages/vue/src/i18n/locales/es/panels.json b/packages/vue/src/i18n/locales/es/panels.jsonnew file mode 100644index 000000000..02a0b65d4--- /dev/null+++ b/packages/vue/src/i18n/locales/es/panels.json@@ -0,0 +1,156 @@+{+ "untitled": "Sin título",+ "nodeCopyString": " copia",+ "layers": "Capas",+ "pages": "Páginas",+ "design": "Diseño",+ "code": "Código",+ "ai": "IA",+ "assets": "Recursos",+ "page": "Página",+ "position": "Posición",+ "layout": "Diseño",+ "autoLayout": "Auto-layout",+ "alignment": "Alineación",+ "appearance": "Apariencia",+ "xAxis": "Eje X",+ "yAxis": "Eje Y",+ "rotation": "Rotación",+ "width": "Anchura",+ "height": "Altura",+ "opacity": "Opacidad",+ "radius": "Redondeado",+ "spread": "Esparcimiento",+ "fill": "Relleno",+ "stroke": "Trazo",+ "effects": "Efectos",+ "export": "Exportar",+ "typography": "Tipografía",+ "variables": "Variables",+ "constraints": "Restricciones",+ "addFill": "Añadir relleno",+ "addStroke": "Añadir trazo",+ "addEffect": "Añadir efecto",+ "addExport": "Añadir exportación",+ "dropShadow": "Sombra exterior",+ "innerShadow": "Sombra interior",+ "layerBlur": "Desenfoque de capa",+ "backgroundBlur": "Desenfoque de fondo",+ "foregroundBlur": "Desenfoque",+ "strokeType": "Tipo de trazado",+ "strokeWeight": "Grosor del trazado",+ "noSelection": "Sin selección",+ "noLocalVariables": "Sin variables locales",+ "openVariables": "Abrir variables",+ "addPage": "Añadir página",+ "toggleVisibility": "Alternar visibilidad",+ "independentCornerRadii": "Redondeo de esquina independientes",+ "detachVariable": "Desvincular variable",+ "applyVariable": "Aplicar variable",+ "noVariablesFound": "No se encontraron variables",+ "addAutoLayout": "Añadir auto-layout",+ "removeAutoLayout": "Quitar auto-layout",+ "mixed": "Mixto",+ "layersCount": "{count} capas",+ "goToMainComponent": "Ir al componente principal",+ "detachInstance": "Separar instancia",+ "solid": "Sólido",+ "linearGradient": "Lineal",+ "radialGradient": "Radial",+ "image": "Imagen",+ "stops": "Paradas",+ "addStop": "Añadir parada",+ "alignLeft": "Alinear a la izquierda",+ "alignCenter": "Centrar",+ "alignRight": "Alinear a la derecha",+ "alignTop": "Alinear arriba",+ "alignMiddle": "Centrar verticalmente",+ "alignBottom": "Alinear abajo",+ "alignCenterHorizontally": "Centrar horizontalmente",+ "alignCenterVertically": "Centrar verticalmente",+ "flipHorizontal": "Voltear horizontalmente",+ "flipVertical": "Voltear verticalmente",+ "rotate90": "Girar 90°",+ "mixedFillsHelp": "Haz clic en + para reemplazar rellenos mixtos",+ "mixedStrokesHelp": "Haz clic en + para reemplazar trazos mixtos",+ "mixedEffectsHelp": "Haz clic en + para reemplazar efectos mixtos",+ "strokeSides": "Lados del trazo",+ "clipContent": "Recortar contenido",+ "colorFormatRgb": "RGB",+ "colorFormatHsl": "HSL",+ "colorFormatHsb": "HSB",+ "colorFormatOkhcl": "OkHCL",+ "colorHintHsl": "H tono · S saturación · L luminosidad",+ "colorHintHsb": "H tono · S saturación · B brillo",+ "colorHintOkhcl": "H tono · C croma · L luminosidad · A alfa",+ "colorPreviewClipped": "Recortado a gama de vista previa {space}",+ "rulers": "Reglas",+ "multiplayerCursors": "Cursores de otros participantes",+ "direction": "Dirección",+ "flow": "Flujo",+ "auto": "Auto",+ "columns": "Columnas",+ "rows": "Filas",+ "gap": "Espaciado",+ "sizingFixed": "Fijo",+ "sizingHug": "Ajustar al contenido",+ "sizingFill": "Rellenar",+ "sizingHugShort": "Ajust.",+ "sizingFillShort": "Llenar",+ "sizingFillFr": "Rellenar (fr)",+ "sizingFixedPx": "Fijo (px)",+ "strokeAlignInside": "Interior",+ "strokeAlignCenter": "Centro",+ "strokeAlignOutside": "Exterior",+ "exportScale": "Escala de exportación",+ "exportFormat": "Formato de exportación",+ "exportPreview": "Vista previa",+ "exportRenderingPreview": "Renderizando vista previa…",+ "createVariable": "Crear variable",+ "createColorVariable": "Crear variable de color desde {value}",+ "variableName": "Nombre de variable",+ "create": "Crear",+ "createNumberVariable": "Crear variable numérica desde {value}",+ "strokeDash": "Trazo discontinuo",+ "add": "Añadir",+ "variants": "Variantes",+ "gapAuto": "Espaciado auto",+ "horizontalGap": "Espaciado horizontal",+ "verticalGap": "Espaciado vertical",+ "addMinWidth": "Agregar ancho min",+ "removeMinWidth": "Eliminar ancho min",+ "addMaxWidth": "Agregar ancho max",+ "removeMaxWidth": "Eliminar ancho max",+ "addMinHeight": "Agregar alto min",+ "removeMinHeight": "Eliminar alto min",+ "addMaxHeight": "Agregar alto max",+ "removeMaxHeight": "Eliminar alto max",+ "minWidthShort": "Min A",+ "maxWidthShort": "Max A",+ "minHeightShort": "Min Al",+ "maxHeightShort": "Max Al",+ "setToCurrentWidth": "Establecer ancho actual",+ "setToCurrentHeight": "Establecer alto actual",+ "searchLocalComponents": "Buscar componentes locales",+ "assetLibraryBadge": "Biblioteca",+ "assetVariantSummary": "{count} variantes · {names}",+ "duplicateVariantValues": "Valores de variante duplicados",+ "openDocumentation": "Abrir documentación",+ "noLocalComponents": "No hay componentes locales",+ "componentSet": "Conjunto de componentes",+ "component": "Componente",+ "insertInstance": "Insertar instancia",+ "description": "Descripción",+ "documentation": "Documentación",+ "openDocs": "Abrir docs",+ "properties": "Propiedades",+ "removeFill": "Eliminar relleno",+ "removeStroke": "Eliminar trazo",+ "removeEffect": "Eliminar efecto",+ "removeExport": "Eliminar exportación",+ "effectSettings": "Ajustes del efecto",+ "expandEffectSettings": "Expandir ajustes del efecto",+ "collapseEffectSettings": "Contraer ajustes del efecto",+ "toggleExportPreview": "Alternar vista previa de exportación",+ "searchFonts": "Buscar fuentes..."+}diff --git a/packages/vue/src/i18n/locales/es/tools.json b/packages/vue/src/i18n/locales/es/tools.jsonnew file mode 100644index 000000000..cfa0a60b2--- /dev/null+++ b/packages/vue/src/i18n/locales/es/tools.json@@ -0,0 +1,13 @@+{+ "move": "Mover",+ "frame": "Marco",+ "section": "Sección",+ "rectangle": "Rectángulo",+ "ellipse": "Elipse",+ "line": "Línea",+ "polygon": "Polígono",+ "star": "Estrella",+ "pen": "Pluma",+ "text": "Texto",+ "hand": "Mano"+}diff --git a/packages/vue/src/i18n/locales/es/variable-types.json b/packages/vue/src/i18n/locales/es/variable-types.jsonnew file mode 100644index 000000000..580ea1985--- /dev/null+++ b/packages/vue/src/i18n/locales/es/variable-types.json@@ -0,0 +1,10 @@+{+ "color": "Color",+ "colorHint": "Valores de pintura",+ "number": "Número",+ "numberHint": "Tamaños, espaciado, opacidad",+ "text": "Texto",+ "textHint": "Texto y etiquetas",+ "boolean": "Booleano",+ "booleanHint": "Verdadero o falso"+}diff --git a/packages/vue/src/i18n/locales/fr/commands.json b/packages/vue/src/i18n/locales/fr/commands.jsonnew file mode 100644index 000000000..018799449--- /dev/null+++ b/packages/vue/src/i18n/locales/fr/commands.json@@ -0,0 +1,35 @@+{+ "undo": "Annuler",+ "redo": "Rétablir",+ "selectAll": "Tout sélectionner",+ "duplicate": "Dupliquer",+ "delete": "Supprimer",+ "group": "Grouper",+ "ungroup": "Dégrouper",+ "createComponent": "Créer un composant",+ "createComponentSet": "Créer un jeu de composants",+ "createInstance": "Créer une instance",+ "detachInstance": "Détacher l'instance",+ "goToMainComponent": "Aller au composant principal",+ "addAutoLayout": "Ajouter un auto-layout",+ "bringToFront": "Mettre au premier plan",+ "sendToBack": "Mettre en arrière-plan",+ "moveToPage": "Déplacer vers la page",+ "zoomTo100": "Zoom 100 %",+ "zoomToFit": "Ajuster à l'écran",+ "zoomToSelection": "Zoom sur la sélection",+ "groupSelection": "Grouper",+ "frameSelection": "Mettre la sélection dans un cadre",+ "showHide": "Afficher/Masquer",+ "lockUnlock": "Verrouiller/Déverrouiller",+ "unionSelection": "Union de la sélection",+ "subtractSelection": "Soustraire la sélection",+ "intersectSelection": "Intersection de la sélection",+ "excludeSelection": "Exclure la sélection",+ "booleanOperations": "Opérations booléennes",+ "flipHorizontal": "Retourner horizontalement",+ "flipVertical": "Retourner verticalement",+ "flattenSelection": "Aplatir",+ "outlineText": "Vectoriser le texte",+ "outlineStroke": "Vectoriser le contour"+}diff --git a/packages/vue/src/i18n/locales/fr/dialogs.json b/packages/vue/src/i18n/locales/fr/dialogs.jsonnew file mode 100644index 000000000..26365e895--- /dev/null+++ b/packages/vue/src/i18n/locales/fr/dialogs.json@@ -0,0 +1,133 @@+{+ "cancel": "Annuler",+ "apply": "Appliquer",+ "close": "Fermer",+ "ok": "OK",+ "copy": "Copier",+ "copied": "Copié",+ "createCollection": "Créer une collection",+ "localVariables": "Variables locales",+ "noVariableCollections": "Aucune collection de variables",+ "selectLayerForJSX": "Sélectionnez un calque pour voir son code JSX",+ "connectAIProvider": "Connectez un fournisseur d’IA pour commencer à discuter.",+ "connect": "Connecter",+ "testConnection": "Test connection",+ "testingConnection": "Testing…",+ "connectionTestSuccess": "Connected successfully. Model is reachable.",+ "connectionTestMissingAPIKey": "Enter an API key before testing.",+ "connectionTestMissingBaseURL": "Enter a base URL before testing.",+ "connectionTestMissingModel": "Enter a model ID before testing.",+ "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",+ "connectionTestAuthFailed": "Authentication failed. Check your API key.",+ "connectionTestModelNotFound": "Model not found. Check the model ID.",+ "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",+ "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",+ "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",+ "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",+ "getAPIKey": "Obtenir une clé API {provider} →",+ "oneKeyManyModels": "Une clé pour plus de 100 modèles de tous les fournisseurs.",+ "describeChange": "Décrivez un changement…",+ "describeCreateOrChange": "Décrivez ce que vous voulez créer ou modifier.",+ "stopGenerating": "Arrêter la génération",+ "sendMessage": "Envoyer le message",+ "baseURLPlaceholder": "Base URL (ex. http://localhost:11434/v1)",+ "modelIDPlaceholder": "Model ID (ex. llama-3.3-70b)",+ "yourName": "Votre nom",+ "enterYourName": "Entrez votre nom",+ "shareThisFile": "Partager ce fichier",+ "joinRoom": "Rejoindre la salle",+ "join": "Rejoindre",+ "roomLink": "Lien de la salle",+ "joinCollaboration": "Rejoindre la collaboration",+ "orJoinRoom": "ou rejoindre une salle",+ "pasteRoomLinkOrId": "Collez le lien ou l’ID de la salle",+ "connected": "Connecté",+ "search": "Rechercher…",+ "noResults": "Aucun résultat",+ "share": "Partager",+ "appUpToDate": "OpenPencil est à jour",+ "updateAvailableTitle": "Mettre à jour OpenPencil",+ "updateAvailable": "OpenPencil {version} est disponible.",+ "updateInstallPrompt": "Télécharger et installer maintenant ? L’app redémarrera après l’installation de la mise à jour.",+ "downloadingUpdate": "Téléchargement d’OpenPencil {version}",+ "updateInstalledTitle": "Mise à jour installée",+ "updateInstalled": "OpenPencil {version} a été installé{size}. Redémarrage maintenant.",+ "updateCheckFailed": "Impossible de rechercher des mises à jour : {error}",+ "updateUnavailable": "Les mises à jour ne sont pas encore disponibles. Publiez d’abord une version signée avec latest.json.",+ "renameCollection": "Renommer la collection",+ "deleteCollection": "Supprimer la collection",+ "modes": "Modes",+ "addMode": "Ajouter un mode",+ "renameMode": "Renommer le mode",+ "duplicateMode": "Dupliquer le mode",+ "deleteMode": "Supprimer le mode",+ "setDefaultMode": "Definir par defaut",+ "aiProvider": "AI Provider",+ "providerSettings": "Provider settings",+ "done": "Done",+ "apiKey": "API Key",+ "apiType": "API Type",+ "baseURL": "Base URL",+ "modelID": "Model ID",+ "maxOutputTokens": "Max output tokens",+ "clear": "Clear",+ "keySavedReplace": "Key saved — enter new to replace",+ "getAPIKeyGeneric": "Get API key →",+ "pexelsAPIKey": "Pexels API Key (stock photos)",+ "unsplashAccessKey": "Unsplash Access Key",+ "stockPhotoToolOptional": "Optional — for stock_photo tool",+ "pexelsAlternativeOptional": "Optional — alternative to Pexels",+ "getPexelsAPIKey": "Get free Pexels API key →",+ "getUnsplashAccessKey": "Get free Unsplash access key →",+ "completions": "Completions",+ "responses": "Responses",+ "copiedExclamation": "Copié !",+ "copyMessage": "Copier le message",+ "copyJSXReference": "Copier la référence des props JSX dans le presse-papiers",+ "newTab": "Nouvel onglet",+ "closeTab": "Fermer {name}",+ "showUI": "Afficher l’interface ({shortcut})",+ "fontSettings": "Réglages des polices",+ "fontSettingsDesktopDescription": "Accédez aux polices système, aux fournisseurs en ligne, aux packs de secours et aux téléchargements en cache.",+ "fontSettingsBrowserDescription": "Autorisez l’accès du navigateur aux polices locales et gérez les fournisseurs de polices en ligne.",+ "localFonts": "Polices locales",+ "onlineFonts": "Polices en ligne",+ "downloadedCache": "Cache téléchargé",+ "lastUpdated": "Dernière mise à jour",+ "enabled": "Activé",+ "disabled": "Désactivé",+ "denied": "Refusé",+ "unavailable": "Indisponible",+ "notRequested": "Non demandé",+ "never": "Jamais",+ "systemFontAccess": "Accès aux polices système",+ "systemFontsAvailable": "Les polices système sont disponibles.",+ "allowBrowserFontAccess": "Autorisez l’accès du navigateur aux polices lorsque des polices système manquent.",+ "allow": "Autoriser",+ "requesting": "Demande…",+ "onlineFontProviders": "Fournisseurs de polices en ligne",+ "downloadMissingWebFonts": "Télécharger les polices web manquantes via les fournisseurs activés.",+ "webFontProvidersRequireDesktopApp": "Les catalogues de fournisseurs de polices en ligne ne sont pas disponibles dans l’app web. Téléchargez l’app de bureau pour parcourir et charger les polices des fournisseurs.",+ "enable": "Activer",+ "disable": "Désactiver",+ "fallbackPacks": "Packs de secours",+ "downloadFallbackPacksDescription": "Téléchargez les polices de secours CJK et arabes avant d’ouvrir les fichiers qui en ont besoin.",+ "download": "Télécharger",+ "downloading": "Téléchargement…",+ "refresh": "Actualiser",+ "clearCache": "Vider le cache",+ "localFontAccessEnabled": "Accès aux polices locales activé.",+ "localFontAccessNotGranted": "L’accès aux polices locales n’a pas été accordé.",+ "onlineFontProvidersEnabled": "Fournisseurs de polices en ligne activés.",+ "onlineFontProvidersDisabled": "Fournisseurs de polices en ligne désactivés.",+ "fontProviderEnabled": "{provider} activé.",+ "fontProviderDisabled": "{provider} désactivé.",+ "fallbackFontsDownloaded": "Polices de secours téléchargées.",+ "fallbackFontsDownloadFailed": "Impossible de télécharger les polices de secours.",+ "downloadedFontCacheCleared": "Cache des polices téléchargées vidé.",+ "downloadedFontCacheClearFailed": "Impossible de vider le cache des polices téléchargées.",+ "you": "Vous",+ "youSuffix": "vous",+ "followingPeerStop": "Suit {name} (cliquer pour arrêter)",+ "clickToFollowPeer": "Cliquer pour suivre {name}"+}diff --git a/packages/vue/src/i18n/locales/fr/index.ts b/packages/vue/src/i18n/locales/fr/index.tsnew file mode 100644index 000000000..8a630a7ba--- /dev/null+++ b/packages/vue/src/i18n/locales/fr/index.ts@@ -0,0 +1,19 @@+import type { ComponentsJSON } from '@nanostores/i18n'++import commands from './commands.json'+import dialogs from './dialogs.json'+import menu from './menu.json'+import pages from './pages.json'+import panels from './panels.json'+import tools from './tools.json'+import variableTypes from './variable-types.json'++export default {+ menu: menu,+ commands: commands,+ tools: tools,+ panels: panels,+ variableTypes: variableTypes,+ pages: pages,+ dialogs: dialogs+} satisfies ComponentsJSONdiff --git a/packages/vue/src/i18n/locales/fr/menu.json b/packages/vue/src/i18n/locales/fr/menu.jsonnew file mode 100644index 000000000..6d2b31849--- /dev/null+++ b/packages/vue/src/i18n/locales/fr/menu.json@@ -0,0 +1,56 @@+{+ "file": "Fichier",+ "edit": "Édition",+ "view": "Affichage",+ "object": "Objet",+ "arrange": "Disposition",+ "text": "Texte",+ "new": "Nouveau",+ "open": "Ouvrir…",+ "save": "Enregistrer",+ "saveAs": "Enregistrer sous…",+ "exportSelection": "Exporter la sélection…",+ "autosave": "Enregistrement automatique",+ "copy": "Copier",+ "paste": "Coller",+ "zoomIn": "Zoom avant",+ "zoomOut": "Zoom arrière",+ "profiler": "Profileur de performance",+ "theme": "Thème",+ "themeLight": "Clair",+ "themeDark": "Sombre",+ "themeAuto": "Automatique",+ "language": "Langue",+ "moveToPage": "Déplacer vers la page",+ "createInstance": "Créer une instance",+ "hide": "Masquer",+ "show": "Afficher",+ "lock": "Verrouiller",+ "unlock": "Déverrouiller",+ "cut": "Couper",+ "front": "Premier plan",+ "back": "Arrière-plan",+ "toggleUI": "Basculer l’interface",+ "bold": "Gras",+ "italic": "Italique",+ "underline": "Souligné",+ "pasteHere": "Coller ici",+ "pasteToReplace": "Coller pour remplacer",+ "copyPasteAs": "Copier/Coller en tant que",+ "copyAsText": "Copier en texte",+ "copyAsSVG": "Copier en SVG",+ "copyAsPNG": "Copier en PNG",+ "copyAsJSX": "Copier en JSX",+ "copyNodeId": "Copier l'ID du nœud",+ "copyXPath": "Copier le XPath",+ "checkUpdates": "Rechercher des mises à jour…",+ "booleanOperations": "Opérations booléennes",+ "strikethrough": "Barré",+ "closeTab": "Fermer l’onglet",+ "arrangeAlignLeft": "Aligner à gauche",+ "arrangeAlignCenter": "Centrer",+ "arrangeAlignRight": "Aligner à droite",+ "arrangeAlignTop": "Aligner en haut",+ "arrangeAlignMiddle": "Centrer verticalement",+ "arrangeAlignBottom": "Aligner en bas"+}diff --git a/packages/vue/src/i18n/locales/fr/pages.json b/packages/vue/src/i18n/locales/fr/pages.jsonnew file mode 100644index 000000000..480500e4f--- /dev/null+++ b/packages/vue/src/i18n/locales/fr/pages.json@@ -0,0 +1,6 @@+{+ "newPage": "Nouvelle page",+ "rename": "Renommer",+ "delete": "Supprimer",+ "pageName": "Page {number}"+}diff --git a/packages/vue/src/i18n/locales/fr/panels.json b/packages/vue/src/i18n/locales/fr/panels.jsonnew file mode 100644index 000000000..163b2bd4a--- /dev/null+++ b/packages/vue/src/i18n/locales/fr/panels.json@@ -0,0 +1,156 @@+{+ "layers": "Calques",+ "pages": "Pages",+ "design": "Design",+ "code": "Code",+ "ai": "IA",+ "assets": "Ressources",+ "page": "Page",+ "position": "Position",+ "layout": "Disposition",+ "autoLayout": "Auto-layout",+ "alignment": "Alignement",+ "appearance": "Apparence",+ "fill": "Remplissage",+ "stroke": "Contour",+ "effects": "Effets",+ "export": "Export",+ "typography": "Typographie",+ "variables": "Variables",+ "constraints": "Contraintes",+ "addFill": "Ajouter un remplissage",+ "addStroke": "Ajouter un contour",+ "addEffect": "Ajouter un effet",+ "addExport": "Ajouter un export",+ "dropShadow": "Ombre portée",+ "innerShadow": "Ombre interne",+ "layerBlur": "Flou de calque",+ "backgroundBlur": "Flou d'arrière-plan",+ "noSelection": "Aucune sélection",+ "noLocalVariables": "Aucune variable locale",+ "openVariables": "Ouvrir les variables",+ "addPage": "Ajouter une page",+ "toggleVisibility": "Basculer la visibilité",+ "independentCornerRadii": "Rayons de coin indépendants",+ "detachVariable": "Détacher la variable",+ "applyVariable": "Appliquer la variable",+ "noVariablesFound": "Aucune variable trouvée",+ "addAutoLayout": "Ajouter un auto-layout",+ "removeAutoLayout": "Retirer l'auto-layout",+ "mixed": "Mixte",+ "layersCount": "{count} calques",+ "goToMainComponent": "Aller au composant principal",+ "detachInstance": "Détacher l'instance",+ "solid": "Uni",+ "linearGradient": "Linéaire",+ "radialGradient": "Radial",+ "image": "Image",+ "stops": "Arrêts",+ "addStop": "Ajouter un arrêt",+ "alignLeft": "Aligner à gauche",+ "alignCenter": "Centrer",+ "alignRight": "Aligner à droite",+ "alignTop": "Aligner en haut",+ "alignMiddle": "Centrer verticalement",+ "alignBottom": "Aligner en bas",+ "alignCenterHorizontally": "Centrer horizontalement",+ "alignCenterVertically": "Centrer verticalement",+ "flipHorizontal": "Retourner horizontalement",+ "flipVertical": "Retourner verticalement",+ "rotate90": "Pivoter de 90°",+ "mixedFillsHelp": "Cliquez sur + pour remplacer les remplissages mixtes",+ "mixedStrokesHelp": "Cliquez sur + pour remplacer les contours mixtes",+ "mixedEffectsHelp": "Cliquez sur + pour remplacer les effets mixtes",+ "strokeSides": "Côtés du contour",+ "clipContent": "Rogner le contenu",+ "colorFormatRgb": "RGB",+ "colorFormatHsl": "HSL",+ "colorFormatHsb": "HSB",+ "colorFormatOkhcl": "OkHCL",+ "colorHintHsl": "H teinte · S saturation · L luminosité",+ "colorHintHsb": "H teinte · S saturation · B luminosité",+ "colorHintOkhcl": "H teinte · C chroma · L luminosité · A alpha",+ "colorPreviewClipped": "Rogné à la gamme d’aperçu {space}",+ "rulers": "Règles",+ "multiplayerCursors": "Curseurs des participants",+ "direction": "Direction",+ "flow": "Flux",+ "auto": "Auto",+ "columns": "Colonnes",+ "rows": "Lignes",+ "sizingFixed": "Fixe",+ "sizingHug": "Ajuster au contenu",+ "sizingFill": "Remplir",+ "sizingHugShort": "Ajust.",+ "sizingFillShort": "Remp.",+ "sizingFillFr": "Remplir (fr)",+ "sizingFixedPx": "Fixe (px)",+ "strokeAlignInside": "Intérieur",+ "strokeAlignCenter": "Centré",+ "strokeAlignOutside": "Extérieur",+ "exportPreview": "Aperçu",+ "exportRenderingPreview": "Rendu de l’aperçu…",+ "createVariable": "Créer une variable",+ "createColorVariable": "Créer une variable de couleur depuis {value}",+ "variableName": "Nom de la variable",+ "create": "Créer",+ "createNumberVariable": "Créer une variable numérique depuis {value}",+ "strokeDash": "Trait en pointillés",+ "add": "Ajouter",+ "variants": "Variantes",+ "gapAuto": "Espacement auto",+ "horizontalGap": "Espacement horizontal",+ "verticalGap": "Espacement vertical",+ "addMinWidth": "Ajouter largeur min",+ "removeMinWidth": "Supprimer largeur min",+ "addMaxWidth": "Ajouter largeur max",+ "removeMaxWidth": "Supprimer largeur max",+ "addMinHeight": "Ajouter hauteur min",+ "removeMinHeight": "Supprimer hauteur min",+ "addMaxHeight": "Ajouter hauteur max",+ "removeMaxHeight": "Supprimer hauteur max",+ "minWidthShort": "Min L",+ "maxWidthShort": "Max L",+ "minHeightShort": "Min H",+ "maxHeightShort": "Max H",+ "setToCurrentWidth": "Largeur actuelle",+ "setToCurrentHeight": "Hauteur actuelle",+ "searchLocalComponents": "Rechercher des composants locaux",+ "assetLibraryBadge": "Bibliothèque",+ "assetVariantSummary": "{count} variantes · {names}",+ "duplicateVariantValues": "Valeurs de variante en double",+ "openDocumentation": "Ouvrir la documentation",+ "noLocalComponents": "Aucun composant local",+ "componentSet": "Jeu de composants",+ "component": "Composant",+ "insertInstance": "Insérer une instance",+ "description": "Description",+ "documentation": "Documentation",+ "openDocs": "Ouvrir la doc",+ "properties": "Propriétés",+ "removeFill": "Supprimer le remplissage",+ "removeStroke": "Supprimer le contour",+ "removeEffect": "Supprimer l’effet",+ "removeExport": "Supprimer l’export",+ "effectSettings": "Réglages de l’effet",+ "expandEffectSettings": "Développer les réglages de l’effet",+ "collapseEffectSettings": "Réduire les réglages de l’effet",+ "toggleExportPreview": "Afficher/masquer l’aperçu d’export",+ "untitled": "Sans titre",+ "nodeCopyString": " copie",+ "xAxis": "Axe X",+ "yAxis": "Axe Y",+ "rotation": "Rotation",+ "width": "Largeur",+ "height": "Hauteur",+ "opacity": "Opacité",+ "radius": "Rayon",+ "spread": "Diffusion",+ "foregroundBlur": "Flou de premier plan",+ "strokeType": "Type de contour",+ "strokeWeight": "Épaisseur du contour",+ "exportScale": "Échelle d’export",+ "exportFormat": "Format d’export",+ "gap": "Espacement",+ "searchFonts": "Rechercher des polices..."+}diff --git a/packages/vue/src/i18n/locales/fr/tools.json b/packages/vue/src/i18n/locales/fr/tools.jsonnew file mode 100644index 000000000..ea3489245--- /dev/null+++ b/packages/vue/src/i18n/locales/fr/tools.json@@ -0,0 +1,13 @@+{+ "move": "Déplacer",+ "frame": "Cadre",+ "section": "Section",+ "rectangle": "Rectangle",+ "ellipse": "Ellipse",+ "line": "Ligne",+ "polygon": "Polygone",+ "star": "Étoile",+ "pen": "Plume",+ "text": "Texte",+ "hand": "Main"+}diff --git a/packages/vue/src/i18n/locales/fr/variable-types.json b/packages/vue/src/i18n/locales/fr/variable-types.jsonnew file mode 100644index 000000000..6571c5dc0--- /dev/null+++ b/packages/vue/src/i18n/locales/fr/variable-types.json@@ -0,0 +1,10 @@+{+ "color": "Couleur",+ "colorHint": "Valeurs de peinture",+ "number": "Nombre",+ "numberHint": "Tailles, espacements, opacité",+ "text": "Texte",+ "textHint": "Texte et libellés",+ "boolean": "Booléen",+ "booleanHint": "Vrai ou faux"+}diff --git a/packages/vue/src/i18n/locales/it/commands.json b/packages/vue/src/i18n/locales/it/commands.jsonnew file mode 100644index 000000000..0f5b9c905--- /dev/null+++ b/packages/vue/src/i18n/locales/it/commands.json@@ -0,0 +1,35 @@+{+ "undo": "Annulla",+ "redo": "Ripeti",+ "selectAll": "Seleziona tutto",+ "duplicate": "Duplica",+ "delete": "Elimina",+ "group": "Raggruppa",+ "ungroup": "Separa",+ "createComponent": "Crea componente",+ "createComponentSet": "Crea set di componenti",+ "createInstance": "Crea istanza",+ "detachInstance": "Scollega istanza",+ "goToMainComponent": "Vai al componente principale",+ "addAutoLayout": "Aggiungi auto-layout",+ "bringToFront": "Porta in primo piano",+ "sendToBack": "Porta in secondo piano",+ "moveToPage": "Sposta nella pagina",+ "zoomTo100": "Zoom 100%",+ "zoomToFit": "Adatta allo schermo",+ "zoomToSelection": "Zoom sulla selezione",+ "groupSelection": "Raggruppa",+ "frameSelection": "Inserisci selezione in cornice",+ "showHide": "Mostra/Nascondi",+ "lockUnlock": "Blocca/Sblocca",+ "unionSelection": "Unisci selezione",+ "subtractSelection": "Sottrai selezione",+ "intersectSelection": "Interseca selezione",+ "excludeSelection": "Escludi selezione",+ "booleanOperations": "Operazioni booleane",+ "flipHorizontal": "Rifletti orizzontalmente",+ "flipVertical": "Rifletti verticalmente",+ "flattenSelection": "Appiattisci",+ "outlineText": "Converti testo in tracciato",+ "outlineStroke": "Converti traccia in contorno"+}diff --git a/packages/vue/src/i18n/locales/it/dialogs.json b/packages/vue/src/i18n/locales/it/dialogs.jsonnew file mode 100644index 000000000..26936b592--- /dev/null+++ b/packages/vue/src/i18n/locales/it/dialogs.json@@ -0,0 +1,133 @@+{+ "cancel": "Annulla",+ "apply": "Applica",+ "close": "Chiudi",+ "ok": "OK",+ "copy": "Copia",+ "copied": "Copiato",+ "createCollection": "Crea raccolta",+ "localVariables": "Variabili locali",+ "noVariableCollections": "Nessuna raccolta di variabili",+ "selectLayerForJSX": "Seleziona un livello per vedere il suo codice JSX",+ "connectAIProvider": "Collega un provider AI per iniziare a chattare.",+ "connect": "Connetti",+ "testConnection": "Test connection",+ "testingConnection": "Testing…",+ "connectionTestSuccess": "Connected successfully. Model is reachable.",+ "connectionTestMissingAPIKey": "Enter an API key before testing.",+ "connectionTestMissingBaseURL": "Enter a base URL before testing.",+ "connectionTestMissingModel": "Enter a model ID before testing.",+ "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",+ "connectionTestAuthFailed": "Authentication failed. Check your API key.",+ "connectionTestModelNotFound": "Model not found. Check the model ID.",+ "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",+ "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",+ "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",+ "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",+ "getAPIKey": "Ottieni una chiave API {provider} →",+ "oneKeyManyModels": "Una chiave per oltre 100 modelli di tutti i provider.",+ "describeChange": "Descrivi una modifica…",+ "describeCreateOrChange": "Descrivi cosa vuoi creare o cambiare.",+ "stopGenerating": "Interrompi generazione",+ "sendMessage": "Invia messaggio",+ "baseURLPlaceholder": "Base URL (es. http://localhost:11434/v1)",+ "modelIDPlaceholder": "Model ID (es. llama-3.3-70b)",+ "yourName": "Il tuo nome",+ "enterYourName": "Inserisci il tuo nome",+ "shareThisFile": "Condividi questo file",+ "joinRoom": "Entra nella stanza",+ "join": "Entra",+ "roomLink": "Link della stanza",+ "joinCollaboration": "Partecipa alla collaborazione",+ "orJoinRoom": "o entra in una stanza",+ "pasteRoomLinkOrId": "Incolla il link o l'ID della stanza",+ "connected": "Connesso",+ "search": "Cerca…",+ "noResults": "Nessun risultato",+ "share": "Condividi",+ "appUpToDate": "OpenPencil è aggiornato",+ "updateAvailableTitle": "Aggiorna OpenPencil",+ "updateAvailable": "OpenPencil {version} è disponibile.",+ "updateInstallPrompt": "Scaricare e installare ora? L’app verrà riavviata dopo l’installazione dell’aggiornamento.",+ "downloadingUpdate": "Download di OpenPencil {version}",+ "updateInstalledTitle": "Aggiornamento installato",+ "updateInstalled": "OpenPencil {version} è stato installato{size}. Riavvio in corso.",+ "updateCheckFailed": "Impossibile controllare gli aggiornamenti: {error}",+ "updateUnavailable": "Gli aggiornamenti non sono ancora disponibili. Pubblica prima una release firmata con latest.json.",+ "renameCollection": "Rinomina raccolta",+ "deleteCollection": "Elimina raccolta",+ "modes": "Modalita",+ "addMode": "Aggiungi modalita",+ "renameMode": "Rinomina modalita",+ "duplicateMode": "Duplica modalita",+ "deleteMode": "Elimina modalita",+ "setDefaultMode": "Imposta come predefinita",+ "aiProvider": "AI Provider",+ "providerSettings": "Provider settings",+ "done": "Done",+ "apiKey": "API Key",+ "apiType": "API Type",+ "baseURL": "Base URL",+ "modelID": "Model ID",+ "maxOutputTokens": "Max output tokens",+ "clear": "Clear",+ "keySavedReplace": "Key saved — enter new to replace",+ "getAPIKeyGeneric": "Get API key →",+ "pexelsAPIKey": "Pexels API Key (stock photos)",+ "unsplashAccessKey": "Unsplash Access Key",+ "stockPhotoToolOptional": "Optional — for stock_photo tool",+ "pexelsAlternativeOptional": "Optional — alternative to Pexels",+ "getPexelsAPIKey": "Get free Pexels API key →",+ "getUnsplashAccessKey": "Get free Unsplash access key →",+ "completions": "Completions",+ "responses": "Responses",+ "copiedExclamation": "Copiato!",+ "copyMessage": "Copia messaggio",+ "copyJSXReference": "Copia riferimento props JSX negli appunti",+ "newTab": "Nuova scheda",+ "closeTab": "Chiudi {name}",+ "showUI": "Mostra interfaccia ({shortcut})",+ "fontSettings": "Impostazioni font",+ "fontSettingsDesktopDescription": "Accedi ai font di sistema, ai provider online, ai pacchetti di fallback e ai download nella cache.",+ "fontSettingsBrowserDescription": "Consenti al browser di accedere ai font locali e gestisci i provider di font online.",+ "localFonts": "Font locali",+ "onlineFonts": "Font online",+ "downloadedCache": "Cache scaricata",+ "lastUpdated": "Ultimo aggiornamento",+ "enabled": "Abilitato",+ "disabled": "Disabilitato",+ "denied": "Negato",+ "unavailable": "Non disponibile",+ "notRequested": "Non richiesto",+ "never": "Mai",+ "systemFontAccess": "Accesso ai font di sistema",+ "systemFontsAvailable": "I font di sistema sono disponibili.",+ "allowBrowserFontAccess": "Consenti l’accesso ai font del browser quando mancano font di sistema.",+ "allow": "Consenti",+ "requesting": "Richiesta…",+ "onlineFontProviders": "Provider di font online",+ "downloadMissingWebFonts": "Scarica i font web mancanti tramite i provider abilitati.",+ "webFontProvidersRequireDesktopApp": "I cataloghi dei provider di font online non sono disponibili nell’app web. Scarica l’app desktop per sfogliare e caricare i font dei provider.",+ "enable": "Abilita",+ "disable": "Disabilita",+ "fallbackPacks": "Pacchetti di fallback",+ "downloadFallbackPacksDescription": "Scarica fallback CJK e arabi prima di aprire file che li richiedono.",+ "download": "Scarica",+ "downloading": "Download…",+ "refresh": "Aggiorna",+ "clearCache": "Svuota cache",+ "localFontAccessEnabled": "Accesso ai font locali abilitato.",+ "localFontAccessNotGranted": "Accesso ai font locali non concesso.",+ "onlineFontProvidersEnabled": "Provider di font online abilitati.",+ "onlineFontProvidersDisabled": "Provider di font online disabilitati.",+ "fontProviderEnabled": "{provider} abilitato.",+ "fontProviderDisabled": "{provider} disabilitato.",+ "fallbackFontsDownloaded": "Font di fallback scaricati.",+ "fallbackFontsDownloadFailed": "Impossibile scaricare i font di fallback.",+ "downloadedFontCacheCleared": "Cache dei font scaricati svuotata.",+ "downloadedFontCacheClearFailed": "Impossibile svuotare la cache dei font scaricati.",+ "you": "Tu",+ "youSuffix": "tu",+ "followingPeerStop": "Segui {name} (clic per interrompere)",+ "clickToFollowPeer": "Fai clic per seguire {name}"+}diff --git a/packages/vue/src/i18n/locales/it/index.ts b/packages/vue/src/i18n/locales/it/index.tsnew file mode 100644index 000000000..8a630a7ba--- /dev/null+++ b/packages/vue/src/i18n/locales/it/index.ts@@ -0,0 +1,19 @@+import type { ComponentsJSON } from '@nanostores/i18n'++import commands from './commands.json'+import dialogs from './dialogs.json'+import menu from './menu.json'+import pages from './pages.json'+import panels from './panels.json'+import tools from './tools.json'+import variableTypes from './variable-types.json'++export default {+ menu: menu,+ commands: commands,+ tools: tools,+ panels: panels,+ variableTypes: variableTypes,+ pages: pages,+ dialogs: dialogs+} satisfies ComponentsJSONdiff --git a/packages/vue/src/i18n/locales/it/menu.json b/packages/vue/src/i18n/locales/it/menu.jsonnew file mode 100644index 000000000..72d292047--- /dev/null+++ b/packages/vue/src/i18n/locales/it/menu.json@@ -0,0 +1,56 @@+{+ "file": "File",+ "edit": "Modifica",+ "view": "Visualizza",+ "object": "Oggetto",+ "arrange": "Disponi",+ "text": "Testo",+ "new": "Nuovo",+ "open": "Apri…",+ "save": "Salva",+ "saveAs": "Salva con nome…",+ "exportSelection": "Esporta selezione…",+ "autosave": "Salvataggio automatico su file",+ "copy": "Copia",+ "paste": "Incolla",+ "zoomIn": "Ingrandisci",+ "zoomOut": "Riduci",+ "profiler": "Profilo prestazioni",+ "language": "Lingua",+ "theme": "Tema",+ "themeLight": "Chiaro",+ "themeDark": "Scuro",+ "themeAuto": "Automatico",+ "moveToPage": "Sposta nella pagina",+ "createInstance": "Crea istanza",+ "hide": "Nascondi",+ "show": "Mostra",+ "lock": "Blocca",+ "unlock": "Sblocca",+ "cut": "Taglia",+ "front": "Davanti",+ "back": "Dietro",+ "toggleUI": "Mostra/nascondi interfaccia",+ "bold": "Grassetto",+ "italic": "Corsivo",+ "underline": "Sottolineato",+ "pasteHere": "Incolla qui",+ "pasteToReplace": "Incolla per sostituire",+ "copyPasteAs": "Copia/Incolla come",+ "copyAsText": "Copia come testo",+ "copyAsSVG": "Copia come SVG",+ "copyAsPNG": "Copia come PNG",+ "copyAsJSX": "Copia come JSX",+ "copyNodeId": "Copia ID nodo",+ "copyXPath": "Copia XPath",+ "checkUpdates": "Controlla aggiornamenti…",+ "booleanOperations": "Operazioni booleane",+ "strikethrough": "Barrato",+ "closeTab": "Chiudi scheda",+ "arrangeAlignLeft": "Allinea a sinistra",+ "arrangeAlignCenter": "Centra",+ "arrangeAlignRight": "Allinea a destra",+ "arrangeAlignTop": "Allinea in alto",+ "arrangeAlignMiddle": "Centra verticalmente",+ "arrangeAlignBottom": "Allinea in basso"+}diff --git a/packages/vue/src/i18n/locales/it/pages.json b/packages/vue/src/i18n/locales/it/pages.jsonnew file mode 100644index 000000000..2eb424a3a--- /dev/null+++ b/packages/vue/src/i18n/locales/it/pages.json@@ -0,0 +1,6 @@+{+ "newPage": "Nuova pagina",+ "rename": "Rinomina",+ "delete": "Elimina",+ "pageName": "Pagina {number}"+}diff --git a/packages/vue/src/i18n/locales/it/panels.json b/packages/vue/src/i18n/locales/it/panels.jsonnew file mode 100644index 000000000..3ed1b5d8d--- /dev/null+++ b/packages/vue/src/i18n/locales/it/panels.json@@ -0,0 +1,156 @@+{+ "layers": "Livelli",+ "pages": "Pagine",+ "design": "Design",+ "code": "Codice",+ "ai": "AI",+ "assets": "Risorse",+ "page": "Pagina",+ "position": "Posizione",+ "layout": "Layout",+ "autoLayout": "Auto-layout",+ "alignment": "Allineamento",+ "appearance": "Aspetto",+ "fill": "Riempimento",+ "stroke": "Contorno",+ "effects": "Effetti",+ "export": "Esporta",+ "typography": "Tipografia",+ "variables": "Variabili",+ "constraints": "Vincoli",+ "addFill": "Aggiungi riempimento",+ "addStroke": "Aggiungi contorno",+ "addEffect": "Aggiungi effetto",+ "addExport": "Aggiungi esportazione",+ "dropShadow": "Ombra esterna",+ "innerShadow": "Ombra interna",+ "layerBlur": "Sfocatura livello",+ "backgroundBlur": "Sfocatura sfondo",+ "noSelection": "Nessuna selezione",+ "noLocalVariables": "Nessuna variabile locale",+ "openVariables": "Apri variabili",+ "addPage": "Aggiungi pagina",+ "toggleVisibility": "Attiva/disattiva visibilità",+ "independentCornerRadii": "Raggi angolo indipendenti",+ "detachVariable": "Scollega variabile",+ "applyVariable": "Applica variabile",+ "noVariablesFound": "Nessuna variabile trovata",+ "addAutoLayout": "Aggiungi auto-layout",+ "removeAutoLayout": "Rimuovi auto-layout",+ "mixed": "Misto",+ "layersCount": "{count} livelli",+ "goToMainComponent": "Vai al componente principale",+ "detachInstance": "Scollega istanza",+ "solid": "Pieno",+ "linearGradient": "Lineare",+ "radialGradient": "Radiale",+ "image": "Immagine",+ "stops": "Punti",+ "addStop": "Aggiungi punto",+ "alignLeft": "Allinea a sinistra",+ "alignCenter": "Centra",+ "alignRight": "Allinea a destra",+ "alignTop": "Allinea in alto",+ "alignMiddle": "Centra verticalmente",+ "alignBottom": "Allinea in basso",+ "alignCenterHorizontally": "Centra orizzontalmente",+ "alignCenterVertically": "Centra verticalmente",+ "flipHorizontal": "Rifletti orizzontalmente",+ "flipVertical": "Rifletti verticalmente",+ "rotate90": "Ruota di 90°",+ "mixedFillsHelp": "Fai clic su + per sostituire i riempimenti misti",+ "mixedStrokesHelp": "Fai clic su + per sostituire i contorni misti",+ "mixedEffectsHelp": "Fai clic su + per sostituire gli effetti misti",+ "strokeSides": "Lati del contorno",+ "clipContent": "Ritaglia contenuto",+ "colorFormatRgb": "RGB",+ "colorFormatHsl": "HSL",+ "colorFormatHsb": "HSB",+ "colorFormatOkhcl": "OkHCL",+ "colorHintHsl": "H tonalità · S saturazione · L luminosità",+ "colorHintHsb": "H tonalità · S saturazione · B luminosità",+ "colorHintOkhcl": "H tonalità · C croma · L luminosità · A alfa",+ "colorPreviewClipped": "Ritagliato alla gamma anteprima {space}",+ "rulers": "Righelli",+ "multiplayerCursors": "Cursori degli altri partecipanti",+ "direction": "Direzione",+ "flow": "Flusso",+ "auto": "Auto",+ "columns": "Colonne",+ "rows": "Righe",+ "sizingFixed": "Fisso",+ "sizingHug": "Adatta al contenuto",+ "sizingFill": "Riempi",+ "sizingHugShort": "Adatt.",+ "sizingFillShort": "Riemp.",+ "sizingFillFr": "Riempi (fr)",+ "sizingFixedPx": "Fisso (px)",+ "strokeAlignInside": "Interno",+ "strokeAlignCenter": "Centro",+ "strokeAlignOutside": "Esterno",+ "exportPreview": "Anteprima",+ "exportRenderingPreview": "Rendering anteprima…",+ "createVariable": "Crea variabile",+ "createColorVariable": "Crea variabile colore da {value}",+ "variableName": "Nome variabile",+ "create": "Crea",+ "createNumberVariable": "Crea variabile numerica da {value}",+ "strokeDash": "Tratto tratteggiato",+ "add": "Aggiungi",+ "variants": "Varianti",+ "gapAuto": "Spaziatura auto",+ "horizontalGap": "Spaziatura orizzontale",+ "verticalGap": "Spaziatura verticale",+ "addMinWidth": "Aggiungi larghezza min",+ "removeMinWidth": "Rimuovi larghezza min",+ "addMaxWidth": "Aggiungi larghezza max",+ "removeMaxWidth": "Rimuovi larghezza max",+ "addMinHeight": "Aggiungi altezza min",+ "removeMinHeight": "Rimuovi altezza min",+ "addMaxHeight": "Aggiungi altezza max",+ "removeMaxHeight": "Rimuovi altezza max",+ "minWidthShort": "Min L",+ "maxWidthShort": "Max L",+ "minHeightShort": "Min A",+ "maxHeightShort": "Max A",+ "setToCurrentWidth": "Imposta larghezza attuale",+ "setToCurrentHeight": "Imposta altezza attuale",+ "searchLocalComponents": "Cerca componenti locali",+ "assetLibraryBadge": "Libreria",+ "assetVariantSummary": "{count} varianti · {names}",+ "duplicateVariantValues": "Valori variante duplicati",+ "openDocumentation": "Apri documentazione",+ "noLocalComponents": "Nessun componente locale",+ "componentSet": "Set di componenti",+ "component": "Componente",+ "insertInstance": "Inserisci istanza",+ "description": "Descrizione",+ "documentation": "Documentazione",+ "openDocs": "Apri documentazione",+ "properties": "Proprietà",+ "removeFill": "Rimuovi riempimento",+ "removeStroke": "Rimuovi traccia",+ "removeEffect": "Rimuovi effetto",+ "removeExport": "Rimuovi esportazione",+ "effectSettings": "Impostazioni effetto",+ "expandEffectSettings": "Espandi impostazioni effetto",+ "collapseEffectSettings": "Comprimi impostazioni effetto",+ "toggleExportPreview": "Mostra/nascondi anteprima esportazione",+ "untitled": "Senza titolo",+ "nodeCopyString": " copia",+ "xAxis": "Asse X",+ "yAxis": "Asse Y",+ "rotation": "Rotazione",+ "width": "Larghezza",+ "height": "Altezza",+ "opacity": "Opacità",+ "radius": "Raggio",+ "spread": "Diffusione",+ "foregroundBlur": "Sfocatura primo piano",+ "strokeType": "Tipo tratto",+ "strokeWeight": "Spessore tratto",+ "exportScale": "Scala esportazione",+ "exportFormat": "Formato esportazione",+ "gap": "Spazio",+ "searchFonts": "Cerca font..."+}diff --git a/packages/vue/src/i18n/locales/it/tools.json b/packages/vue/src/i18n/locales/it/tools.jsonnew file mode 100644index 000000000..d77543c43--- /dev/null+++ b/packages/vue/src/i18n/locales/it/tools.json@@ -0,0 +1,13 @@+{+ "move": "Sposta",+ "frame": "Cornice",+ "section": "Sezione",+ "rectangle": "Rettangolo",+ "ellipse": "Ellisse",+ "line": "Linea",+ "polygon": "Poligono",+ "star": "Stella",+ "pen": "Penna",+ "text": "Testo",+ "hand": "Mano"+}diff --git a/packages/vue/src/i18n/locales/it/variable-types.json b/packages/vue/src/i18n/locales/it/variable-types.jsonnew file mode 100644index 000000000..1bb413649--- /dev/null+++ b/packages/vue/src/i18n/locales/it/variable-types.json@@ -0,0 +1,10 @@+{+ "color": "Colore",+ "colorHint": "Valori colore",+ "number": "Numero",+ "numberHint": "Dimensioni, spaziatura, opacità",+ "text": "Testo",+ "textHint": "Testi ed etichette",+ "boolean": "Booleano",+ "booleanHint": "Vero o falso"+}diff --git a/packages/vue/src/i18n/locales/ja/commands.json b/packages/vue/src/i18n/locales/ja/commands.jsonnew file mode 100644index 000000000..ed79a2cb4--- /dev/null+++ b/packages/vue/src/i18n/locales/ja/commands.json@@ -0,0 +1,35 @@+{+ "undo": "元に戻す",+ "redo": "やり直し",+ "selectAll": "すべて選択",+ "duplicate": "複製",+ "delete": "削除",+ "group": "グループ化",+ "ungroup": "グループ解除",+ "createComponent": "コンポーネントを作成",+ "createComponentSet": "コンポーネントセットを作成",+ "createInstance": "インスタンスを作成",+ "detachInstance": "インスタンスの切り離し",+ "goToMainComponent": "メインコンポーネントに移動",+ "addAutoLayout": "オートレイアウトを追加",+ "bringToFront": "最前面へ移動",+ "sendToBack": "最背面へ移動",+ "moveToPage": "ページへ移動",+ "zoomTo100": "100%にズーム",+ "zoomToFit": "画面に合わせる",+ "zoomToSelection": "選択範囲にズーム",+ "groupSelection": "グループ化",+ "frameSelection": "選択範囲をフレーム化",+ "showHide": "表示/非表示",+ "lockUnlock": "ロック/ロック解除",+ "unionSelection": "選択範囲を結合 (合体)",+ "subtractSelection": "選択範囲を型抜き (型抜き)",+ "intersectSelection": "選択範囲を交差 (交差)",+ "excludeSelection": "選択範囲を中抜き (除外)",+ "booleanOperations": "ブーリアン演算",+ "flipHorizontal": "水平方向に反転",+ "flipVertical": "垂直方向に反転",+ "flattenSelection": "フラット化",+ "outlineText": "テキストのアウトライン化",+ "outlineStroke": "線の境界線をプレビュー (パスのアウトライン化)"+}diff --git a/packages/vue/src/i18n/locales/ja/dialogs.json b/packages/vue/src/i18n/locales/ja/dialogs.jsonnew file mode 100644index 000000000..c550a3ea9--- /dev/null+++ b/packages/vue/src/i18n/locales/ja/dialogs.json@@ -0,0 +1,133 @@+{+ "cancel": "キャンセル",+ "apply": "適用",+ "close": "閉じる",+ "ok": "確定",+ "copy": "コピー",+ "copied": "コピーしました",+ "createCollection": "コレクションを作成",+ "localVariables": "ローカル変数",+ "noVariableCollections": "変数コレクションがありません",+ "selectLayerForJSX": "JSXコードを表示するレイヤーを選択してください",+ "connectAIProvider": "チャットを始めるには、AIプロバイダーを接続してください。",+ "connect": "接続",+ "testConnection": "Test connection",+ "testingConnection": "Testing…",+ "connectionTestSuccess": "Connected successfully. Model is reachable.",+ "connectionTestMissingAPIKey": "Enter an API key before testing.",+ "connectionTestMissingBaseURL": "Enter a base URL before testing.",+ "connectionTestMissingModel": "Enter a model ID before testing.",+ "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",+ "connectionTestAuthFailed": "Authentication failed. Check your API key.",+ "connectionTestModelNotFound": "Model not found. Check the model ID.",+ "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",+ "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",+ "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",+ "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",+ "getAPIKey": "{provider} からAPIキーを取得 →",+ "oneKeyManyModels": "1つのキーで、すべてのプロバイダーの100以上のモデルに対応。",+ "describeChange": "変更内容を入力…",+ "describeCreateOrChange": "作成または変更したい内容を入力してください。",+ "stopGenerating": "生成を停止",+ "sendMessage": "メッセージを送信",+ "baseURLPlaceholder": "ベースURL (例: http://localhost:11434/v1)",+ "modelIDPlaceholder": "モデルID (例: llama-3.3-70b)",+ "yourName": "お名前",+ "enterYourName": "名前を入力してください",+ "shareThisFile": "このファイルを共有",+ "joinRoom": "ルームに参加",+ "join": "参加",+ "roomLink": "ルームのリンク",+ "joinCollaboration": "共同編集に参加",+ "orJoinRoom": "またはルームに参加",+ "pasteRoomLinkOrId": "ルームのリンクまたはIDを貼り付け",+ "connected": "接続済み",+ "search": "検索…",+ "noResults": "結果がありません",+ "share": "共有",+ "appUpToDate": "OpenPencilは最新の状態です",+ "updateAvailableTitle": "OpenPencilのアップデート",+ "updateAvailable": "OpenPencil のバージョン {version} が利用可能です。",+ "updateInstallPrompt": "今すぐダウンロードしてインストールしますか?インストール後、アプリが再起動します。",+ "downloadingUpdate": "OpenPencil {version} をダウンロード中",+ "updateInstalledTitle": "アップデート完了",+ "updateInstalled": "OpenPencil のバージョン {version} がインストールされました{size}。再起動しています...",+ "updateCheckFailed": "アップデートの確認中にエラーが発生しました: {error}",+ "updateUnavailable": "アップデートはまだ利用できません。まず、latest.json を含む署名付きバージョンを公開してください。",+ "renameCollection": "コレクションの名前を変更",+ "deleteCollection": "コレクションを削除",+ "modes": "モード",+ "addMode": "モードを追加",+ "renameMode": "モードの名前を変更",+ "duplicateMode": "モードを複製",+ "deleteMode": "モードを削除",+ "setDefaultMode": "デフォルトに設定",+ "aiProvider": "AIプロバイダー",+ "providerSettings": "プロバイダー設定",+ "done": "完了",+ "apiKey": "APIキー",+ "apiType": "APIタイプ",+ "baseURL": "ベースURL",+ "modelID": "モデルID",+ "maxOutputTokens": "最大出力トークン数",+ "clear": "クリア",+ "keySavedReplace": "キーが保存されました - 上書きするには新しいキーを入力してください",+ "getAPIKeyGeneric": "APIキーを取得 →",+ "pexelsAPIKey": "PexelsのAPIキー (ストックフォト)",+ "unsplashAccessKey": "Unsplashのアクセスキー",+ "stockPhotoToolOptional": "任意 — stock_photoツール用",+ "pexelsAlternativeOptional": "任意 — Pexelsの代替案",+ "getPexelsAPIKey": "Pexelsの無料APIキーを取得 →",+ "getUnsplashAccessKey": "Unsplashの無料アクセスキーを取得 →",+ "completions": "入力補完",+ "responses": "応答",+ "copiedExclamation": "コピーしました!",+ "copyMessage": "メッセージをコピー",+ "copyJSXReference": "JSXのprops参照をクリップボードにコピー",+ "newTab": "新しいタブ",+ "closeTab": "{name} を閉じる",+ "showUI": "UIを表示 ({shortcut})",+ "fontSettings": "フォント設定",+ "fontSettingsDesktopDescription": "システムフォント、オンラインプロバイダー、フォールバックパック、キャッシュ済みダウンロードにアクセスします。",+ "fontSettingsBrowserDescription": "ローカルフォントへのブラウザーアクセスを許可し、オンラインフォントプロバイダーを管理します。",+ "localFonts": "ローカルフォント",+ "onlineFonts": "オンラインフォント",+ "downloadedCache": "ダウンロード済みキャッシュ",+ "lastUpdated": "最終更新",+ "enabled": "有効",+ "disabled": "無効",+ "denied": "拒否",+ "unavailable": "利用不可",+ "notRequested": "未要求",+ "never": "なし",+ "systemFontAccess": "システムフォントアクセス",+ "systemFontsAvailable": "システムフォントを利用できます。",+ "allowBrowserFontAccess": "システムフォントが見つからない場合にブラウザーのフォントアクセスを許可します。",+ "allow": "許可",+ "requesting": "要求中…",+ "onlineFontProviders": "オンラインフォントプロバイダー",+ "downloadMissingWebFonts": "有効なプロバイダーから不足しているWebフォントをダウンロードします。",+ "webFontProvidersRequireDesktopApp": "オンラインフォントプロバイダーのカタログはWebアプリでは利用できません。プロバイダーのフォントを参照して読み込むにはデスクトップアプリをダウンロードしてください。",+ "enable": "有効にする",+ "disable": "無効にする",+ "fallbackPacks": "フォールバックパック",+ "downloadFallbackPacksDescription": "必要なファイルを開く前に、CJKとアラビア語のフォールバックをダウンロードします。",+ "download": "ダウンロード",+ "downloading": "ダウンロード中…",+ "refresh": "更新",+ "clearCache": "キャッシュをクリア",+ "localFontAccessEnabled": "ローカルフォントアクセスを有効にしました。",+ "localFontAccessNotGranted": "ローカルフォントアクセスは許可されませんでした。",+ "onlineFontProvidersEnabled": "オンラインフォントプロバイダーを有効にしました。",+ "onlineFontProvidersDisabled": "オンラインフォントプロバイダーを無効にしました。",+ "fontProviderEnabled": "{provider} を有効にしました。",+ "fontProviderDisabled": "{provider} を無効にしました。",+ "fallbackFontsDownloaded": "フォールバックフォントをダウンロードしました。",+ "fallbackFontsDownloadFailed": "フォールバックフォントをダウンロードできませんでした。",+ "downloadedFontCacheCleared": "ダウンロード済みフォントキャッシュをクリアしました。",+ "downloadedFontCacheClearFailed": "ダウンロード済みフォントキャッシュをクリアできませんでした。",+ "you": "あなた",+ "youSuffix": "あなた",+ "followingPeerStop": "{name} をフォロー中 (クリックして停止)",+ "clickToFollowPeer": "クリックして {name} をフォロー"+}diff --git a/packages/vue/src/i18n/locales/ja/index.ts b/packages/vue/src/i18n/locales/ja/index.tsnew file mode 100644index 000000000..8a630a7ba--- /dev/null+++ b/packages/vue/src/i18n/locales/ja/index.ts@@ -0,0 +1,19 @@+import type { ComponentsJSON } from '@nanostores/i18n'++import commands from './commands.json'+import dialogs from './dialogs.json'+import menu from './menu.json'+import pages from './pages.json'+import panels from './panels.json'+import tools from './tools.json'+import variableTypes from './variable-types.json'++export default {+ menu: menu,+ commands: commands,+ tools: tools,+ panels: panels,+ variableTypes: variableTypes,+ pages: pages,+ dialogs: dialogs+} satisfies ComponentsJSONdiff --git a/packages/vue/src/i18n/locales/ja/menu.json b/packages/vue/src/i18n/locales/ja/menu.jsonnew file mode 100644index 000000000..167ca4cbe--- /dev/null+++ b/packages/vue/src/i18n/locales/ja/menu.json@@ -0,0 +1,56 @@+{+ "file": "ファイル",+ "edit": "編集",+ "view": "表示",+ "object": "オブジェクト",+ "arrange": "配置",+ "text": "テキスト",+ "new": "新規作成",+ "open": "開く…",+ "save": "保存",+ "saveAs": "名前を付けて保存…",+ "exportSelection": "選択範囲をエクスポート…",+ "autosave": "ファイルに自動保存",+ "copy": "コピー",+ "paste": "貼り付け",+ "theme": "テーマ",+ "themeLight": "ライト",+ "themeDark": "ダーク",+ "themeAuto": "自動",+ "profiler": "パフォーマンスプロファイラー",+ "language": "言語",+ "toggleUI": "UIの切り替え",+ "moveToPage": "ページへ移動",+ "createInstance": "インスタンスを作成",+ "hide": "非表示",+ "show": "表示",+ "lock": "ロック",+ "unlock": "ロック解除",+ "cut": "切り取り",+ "front": "最前面へ",+ "back": "最背面へ",+ "bold": "太字",+ "italic": "斜体",+ "underline": "下線",+ "strikethrough": "打ち消し線",+ "pasteHere": "ここに貼り付け",+ "pasteToReplace": "貼り付けて置換",+ "copyPasteAs": "形式を選択してコピー/貼り付け",+ "copyAsText": "テキストとしてコピー",+ "copyAsSVG": "SVGとしてコピー",+ "copyAsPNG": "PNGとしてコピー",+ "copyAsJSX": "JSXとしてコピー",+ "copyNodeId": "ノードIDをコピー",+ "copyXPath": "XPathをコピー",+ "checkUpdates": "アップデートを確認…",+ "booleanOperations": "パスの型抜き (ブーリアン演算)",+ "closeTab": "タブを閉じる",+ "zoomIn": "拡大",+ "zoomOut": "縮小",+ "arrangeAlignLeft": "左揃え",+ "arrangeAlignCenter": "中央揃え",+ "arrangeAlignRight": "右揃え",+ "arrangeAlignTop": "上揃え",+ "arrangeAlignMiddle": "上下中央揃え",+ "arrangeAlignBottom": "下揃え"+}diff --git a/packages/vue/src/i18n/locales/ja/pages.json b/packages/vue/src/i18n/locales/ja/pages.jsonnew file mode 100644index 000000000..4e184eef9--- /dev/null+++ b/packages/vue/src/i18n/locales/ja/pages.json@@ -0,0 +1,6 @@+{+ "newPage": "新しいページ",+ "rename": "名前を変更",+ "delete": "削除",+ "pageName": "ページ {number}"+}diff --git a/packages/vue/src/i18n/locales/ja/panels.json b/packages/vue/src/i18n/locales/ja/panels.jsonnew file mode 100644index 000000000..8de509931--- /dev/null+++ b/packages/vue/src/i18n/locales/ja/panels.json@@ -0,0 +1,156 @@+{+ "untitled": "無題",+ "nodeCopyString": " コピー",+ "layers": "レイヤー",+ "pages": "ページ",+ "design": "デザイン",+ "code": "コード",+ "ai": "AI",+ "assets": "アセット",+ "page": "ページ",+ "position": "位置",+ "layout": "レイアウト",+ "autoLayout": "オートレイアウト",+ "alignment": "整列",+ "appearance": "外観",+ "xAxis": "X軸",+ "yAxis": "Y軸",+ "rotation": "回転",+ "width": "幅",+ "height": "高さ",+ "opacity": "不透明度",+ "radius": "角丸",+ "spread": "スプレッド",+ "fill": "塗り",+ "stroke": "線",+ "effects": "エフェクト",+ "export": "エクスポート",+ "typography": "タイポグラフィ",+ "variables": "変数",+ "constraints": "制約",+ "addFill": "塗りを追加",+ "addStroke": "線を追加",+ "addEffect": "エフェクトを追加",+ "addExport": "エクスポートを追加",+ "dropShadow": "ドロップシャドウ",+ "innerShadow": "インナーシャドウ",+ "layerBlur": "レイヤーぼかし",+ "backgroundBlur": "背景ぼかし",+ "foregroundBlur": "ぼかし",+ "strokeType": "線のタイプ",+ "strokeWeight": "線の太さ",+ "noSelection": "選択なし",+ "noLocalVariables": "ローカル変数なし",+ "openVariables": "変数を開く",+ "addPage": "ページを追加",+ "toggleVisibility": "表示/非表示の切り替え",+ "independentCornerRadii": "個別の角丸",+ "detachVariable": "変数のリンクを解除",+ "applyVariable": "変数を適用",+ "noVariablesFound": "変数が見つかりません",+ "addAutoLayout": "オートレイアウトを追加",+ "removeAutoLayout": "オートレイアウトを削除",+ "mixed": "複数選択",+ "layersCount": "{count} 個のレイヤー",+ "goToMainComponent": "メインコンポーネントに移動",+ "detachInstance": "インスタンスの切り離し",+ "solid": "ソリッド (単色)",+ "linearGradient": "線形グラデーション",+ "radialGradient": "放射状グラデーション",+ "image": "画像",+ "stops": "カラーピッカーの分岐点",+ "addStop": "分岐点を追加",+ "alignLeft": "左揃え",+ "alignCenter": "中央揃え",+ "alignRight": "右揃え",+ "alignTop": "上揃え",+ "alignMiddle": "上下中央揃え",+ "alignBottom": "下揃え",+ "alignCenterHorizontally": "水平方向の中央揃え",+ "alignCenterVertically": "垂直方向の中央揃え",+ "flipHorizontal": "水平方向に反転",+ "flipVertical": "垂直方向に反転",+ "rotate90": "90°回転",+ "mixedFillsHelp": "+ をクリックして混合塗りを置換",+ "mixedStrokesHelp": "+ をクリックして混合線を置換",+ "mixedEffectsHelp": "+ をクリックして混合エフェクトを置換",+ "strokeSides": "線の位置",+ "clipContent": "コンテンツをクリップ",+ "colorFormatRgb": "RGB",+ "colorFormatHsl": "HSL",+ "colorFormatHsb": "HSB",+ "colorFormatOkhcl": "OkHCL",+ "colorHintHsl": "H 色相 · S 彩度 · L 輝度",+ "colorHintHsb": "H 色相 · S 彩度 · B 明度",+ "colorHintOkhcl": "H 色相 · C クロマ · L 輝度 · A アルファ",+ "colorPreviewClipped": "プレビュー色域にクリップされました {space}",+ "rulers": "定規",+ "multiplayerCursors": "他の参加者のカーソル",+ "direction": "方向",+ "flow": "フロー",+ "auto": "自動",+ "columns": "列",+ "rows": "行",+ "gap": "間隔",+ "sizingFixed": "固定",+ "sizingHug": "コンテンツに合わせる",+ "sizingFill": "コンテナを満たす",+ "sizingHugShort": "合わせる",+ "sizingFillShort": "満たす",+ "sizingFillFr": "満たす (fr)",+ "sizingFixedPx": "固定 (px)",+ "strokeAlignInside": "内側",+ "strokeAlignCenter": "中央",+ "strokeAlignOutside": "外側",+ "exportScale": "エクスポート倍率",+ "exportFormat": "エクスポート形式",+ "exportPreview": "プレビュー",+ "exportRenderingPreview": "プレビューをレンダリング中…",+ "createVariable": "変数を作成",+ "createColorVariable": "{value} からカラー変数を作成",+ "variableName": "変数名",+ "create": "作成",+ "createNumberVariable": "{value} から数値変数を作成",+ "strokeDash": "破線",+ "add": "追加",+ "variants": "バリアント",+ "gapAuto": "間隔自動",+ "horizontalGap": "水平方向の間隔",+ "verticalGap": "垂直方向の間隔",+ "addMinWidth": "最小幅を追加",+ "removeMinWidth": "最小幅を削除",+ "addMaxWidth": "最大幅を追加",+ "removeMaxWidth": "最大幅を削除",+ "addMinHeight": "最小高さを追加",+ "removeMinHeight": "最小高さを削除",+ "addMaxHeight": "最大高さを追加",+ "removeMaxHeight": "最大高さを削除",+ "minWidthShort": "最小幅",+ "maxWidthShort": "最大幅",+ "minHeightShort": "最小高",+ "maxHeightShort": "最大高",+ "setToCurrentWidth": "現在の幅に設定",+ "setToCurrentHeight": "現在の高さに設定",+ "searchLocalComponents": "ローカルコンポーネントを検索",+ "assetLibraryBadge": "ライブラリ",+ "assetVariantSummary": "{count} 個のバリアント · {names}",+ "duplicateVariantValues": "重複したバリアント値",+ "openDocumentation": "ドキュメントを開く",+ "noLocalComponents": "ローカルコンポーネントはありません",+ "componentSet": "コンポーネントセット",+ "component": "コンポーネント",+ "insertInstance": "インスタンスを挿入",+ "description": "説明",+ "documentation": "ドキュメント",+ "openDocs": "ドキュメントを開く",+ "properties": "プロパティ",+ "removeFill": "塗りを削除",+ "removeStroke": "線を削除",+ "removeEffect": "エフェクトを削除",+ "removeExport": "エクスポートを削除",+ "effectSettings": "エフェクト設定",+ "expandEffectSettings": "エフェクト設定を展開",+ "collapseEffectSettings": "エフェクト設定を折りたたむ",+ "toggleExportPreview": "エクスポートプレビューの切り替え",+ "searchFonts": "フォントを検索..."+}diff --git a/packages/vue/src/i18n/locales/ja/tools.json b/packages/vue/src/i18n/locales/ja/tools.jsonnew file mode 100644index 000000000..99fbd7cbf--- /dev/null+++ b/packages/vue/src/i18n/locales/ja/tools.json@@ -0,0 +1,13 @@+{+ "move": "移動",+ "frame": "フレーム",+ "section": "セクション",+ "rectangle": "長方形",+ "ellipse": "楕円",+ "line": "直線",+ "polygon": "多角形",+ "star": "スター",+ "pen": "ペンツール",+ "text": "テキスト",+ "hand": "手のひらツール"+}diff --git a/packages/vue/src/i18n/locales/ja/variable-types.json b/packages/vue/src/i18n/locales/ja/variable-types.jsonnew file mode 100644index 000000000..9fe6a9ad2--- /dev/null+++ b/packages/vue/src/i18n/locales/ja/variable-types.json@@ -0,0 +1,10 @@+{+ "color": "カラー",+ "colorHint": "塗りの値",+ "number": "数値",+ "numberHint": "サイズ、間隔、不透明度",+ "text": "テキスト",+ "textHint": "テキストとラベル",+ "boolean": "ブーリアン (真偽値)",+ "booleanHint": "真 (True) または 偽 (False)"+}diff --git a/packages/vue/src/i18n/locales/pl/commands.json b/packages/vue/src/i18n/locales/pl/commands.jsonnew file mode 100644index 000000000..6fbafaa2d--- /dev/null+++ b/packages/vue/src/i18n/locales/pl/commands.json@@ -0,0 +1,35 @@+{+ "undo": "Cofnij",+ "redo": "Ponów",+ "selectAll": "Zaznacz wszystko",+ "duplicate": "Duplikuj",+ "delete": "Usuń",+ "group": "Grupuj",+ "ungroup": "Rozgrupuj",+ "createComponent": "Utwórz komponent",+ "createComponentSet": "Utwórz zestaw komponentów",+ "createInstance": "Utwórz instancję",+ "detachInstance": "Odłącz instancję",+ "goToMainComponent": "Przejdź do komponentu",+ "addAutoLayout": "Dodaj auto-layout",+ "bringToFront": "Przenieś na wierzch",+ "sendToBack": "Przenieś na spód",+ "moveToPage": "Przenieś na stronę",+ "zoomTo100": "Zoom 100%",+ "zoomToFit": "Dopasuj do ekranu",+ "zoomToSelection": "Zoom do zaznaczenia",+ "groupSelection": "Grupuj",+ "frameSelection": "Umieść zaznaczenie w ramce",+ "showHide": "Pokaż/Ukryj",+ "lockUnlock": "Zablokuj/Odblokuj",+ "unionSelection": "Połącz zaznaczenie",+ "subtractSelection": "Odejmij zaznaczenie",+ "intersectSelection": "Przetnij zaznaczenie",+ "excludeSelection": "Wyklucz zaznaczenie",+ "booleanOperations": "Operacje logiczne",+ "flipHorizontal": "Odbij poziomo",+ "flipVertical": "Odbij pionowo",+ "flattenSelection": "Spłaszcz",+ "outlineText": "Kontur tekstu",+ "outlineStroke": "Kontur obrysu"+}diff --git a/packages/vue/src/i18n/locales/pl/dialogs.json b/packages/vue/src/i18n/locales/pl/dialogs.jsonnew file mode 100644index 000000000..c75d82f40--- /dev/null+++ b/packages/vue/src/i18n/locales/pl/dialogs.json@@ -0,0 +1,133 @@+{+ "cancel": "Anuluj",+ "apply": "Zastosuj",+ "close": "Zamknij",+ "ok": "OK",+ "copy": "Kopiuj",+ "copied": "Skopiowano",+ "createCollection": "Utwórz kolekcję",+ "localVariables": "Zmienne lokalne",+ "noVariableCollections": "Brak kolekcji zmiennych",+ "selectLayerForJSX": "Wybierz warstwę, aby zobaczyć jej kod JSX",+ "connectAIProvider": "Połącz dostawcę AI, aby rozpocząć czat.",+ "connect": "Połącz",+ "testConnection": "Test connection",+ "testingConnection": "Testing…",+ "connectionTestSuccess": "Connected successfully. Model is reachable.",+ "connectionTestMissingAPIKey": "Enter an API key before testing.",+ "connectionTestMissingBaseURL": "Enter a base URL before testing.",+ "connectionTestMissingModel": "Enter a model ID before testing.",+ "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",+ "connectionTestAuthFailed": "Authentication failed. Check your API key.",+ "connectionTestModelNotFound": "Model not found. Check the model ID.",+ "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",+ "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",+ "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",+ "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",+ "getAPIKey": "Pobierz klucz API {provider} →",+ "oneKeyManyModels": "Jeden klucz do ponad 100 modeli od wszystkich dostawców.",+ "describeChange": "Opisz zmianę…",+ "describeCreateOrChange": "Opisz, co chcesz utworzyć lub zmienić.",+ "stopGenerating": "Zatrzymaj generowanie",+ "sendMessage": "Wyślij wiadomość",+ "baseURLPlaceholder": "Base URL (np. http://localhost:11434/v1)",+ "modelIDPlaceholder": "Model ID (np. llama-3.3-70b)",+ "yourName": "Twoje imię",+ "enterYourName": "Wpisz swoje imię",+ "shareThisFile": "Udostępnij ten plik",+ "joinRoom": "Dołącz do pokoju",+ "join": "Dołącz",+ "roomLink": "Link do pokoju",+ "joinCollaboration": "Dołącz do współpracy",+ "orJoinRoom": "lub dołącz do pokoju",+ "pasteRoomLinkOrId": "Wklej link lub ID pokoju",+ "connected": "Połączono",+ "search": "Szukaj…",+ "noResults": "Brak wyników",+ "share": "Udostępnij",+ "appUpToDate": "OpenPencil jest aktualny",+ "updateAvailableTitle": "Zaktualizuj OpenPencil",+ "updateAvailable": "OpenPencil {version} jest dostępny.",+ "updateInstallPrompt": "Pobrać i zainstalować teraz? Aplikacja uruchomi się ponownie po zainstalowaniu aktualizacji.",+ "downloadingUpdate": "Pobieranie OpenPencil {version}",+ "updateInstalledTitle": "Aktualizacja zainstalowana",+ "updateInstalled": "OpenPencil {version} został zainstalowany{size}. Ponowne uruchamianie.",+ "updateCheckFailed": "Nie udało się sprawdzić aktualizacji: {error}",+ "updateUnavailable": "Aktualizacje nie są jeszcze dostępne. Najpierw opublikuj podpisane wydanie z latest.json.",+ "renameCollection": "Zmien nazwe kolekcji",+ "deleteCollection": "Usun kolekcje",+ "modes": "Tryby",+ "addMode": "Dodaj tryb",+ "renameMode": "Zmien nazwe trybu",+ "duplicateMode": "Duplikuj tryb",+ "deleteMode": "Usun tryb",+ "setDefaultMode": "Ustaw jako domyslny",+ "aiProvider": "AI Provider",+ "providerSettings": "Provider settings",+ "done": "Done",+ "apiKey": "API Key",+ "apiType": "API Type",+ "baseURL": "Base URL",+ "modelID": "Model ID",+ "maxOutputTokens": "Max output tokens",+ "clear": "Clear",+ "keySavedReplace": "Key saved — enter new to replace",+ "getAPIKeyGeneric": "Get API key →",+ "pexelsAPIKey": "Pexels API Key (stock photos)",+ "unsplashAccessKey": "Unsplash Access Key",+ "stockPhotoToolOptional": "Optional — for stock_photo tool",+ "pexelsAlternativeOptional": "Optional — alternative to Pexels",+ "getPexelsAPIKey": "Get free Pexels API key →",+ "getUnsplashAccessKey": "Get free Unsplash access key →",+ "completions": "Completions",+ "responses": "Responses",+ "copiedExclamation": "Skopiowano!",+ "copyMessage": "Kopiuj wiadomość",+ "copyJSXReference": "Skopiuj referencję propsów JSX do schowka",+ "newTab": "Nowa karta",+ "closeTab": "Zamknij {name}",+ "showUI": "Pokaż interfejs ({shortcut})",+ "fontSettings": "Ustawienia czcionek",+ "fontSettingsDesktopDescription": "Uzyskaj dostęp do czcionek systemowych, dostawców online, pakietów zapasowych i pobranych plików w pamięci podręcznej.",+ "fontSettingsBrowserDescription": "Zezwól przeglądarce na dostęp do lokalnych czcionek i zarządzaj dostawcami czcionek online.",+ "localFonts": "Czcionki lokalne",+ "onlineFonts": "Czcionki online",+ "downloadedCache": "Pobrana pamięć podręczna",+ "lastUpdated": "Ostatnia aktualizacja",+ "enabled": "Włączone",+ "disabled": "Wyłączone",+ "denied": "Odmówiono",+ "unavailable": "Niedostępne",+ "notRequested": "Nie zażądano",+ "never": "Nigdy",+ "systemFontAccess": "Dostęp do czcionek systemowych",+ "systemFontsAvailable": "Czcionki systemowe są dostępne.",+ "allowBrowserFontAccess": "Zezwól przeglądarce na dostęp do czcionek, gdy brakuje czcionek systemowych.",+ "allow": "Zezwól",+ "requesting": "Żądanie…",+ "onlineFontProviders": "Dostawcy czcionek online",+ "downloadMissingWebFonts": "Pobieraj brakujące czcionki webowe przez włączonych dostawców.",+ "webFontProvidersRequireDesktopApp": "Katalogi dostawców czcionek online nie są dostępne w aplikacji webowej. Pobierz aplikację desktopową, aby przeglądać i ładować czcionki dostawców.",+ "enable": "Włącz",+ "disable": "Wyłącz",+ "fallbackPacks": "Pakiety zapasowe",+ "downloadFallbackPacksDescription": "Pobierz zapasowe czcionki CJK i arabskie przed otwarciem plików, które ich wymagają.",+ "download": "Pobierz",+ "downloading": "Pobieranie…",+ "refresh": "Odśwież",+ "clearCache": "Wyczyść pamięć podręczną",+ "localFontAccessEnabled": "Dostęp do lokalnych czcionek włączony.",+ "localFontAccessNotGranted": "Nie przyznano dostępu do lokalnych czcionek.",+ "onlineFontProvidersEnabled": "Dostawcy czcionek online włączeni.",+ "onlineFontProvidersDisabled": "Dostawcy czcionek online wyłączeni.",+ "fontProviderEnabled": "Włączono {provider}.",+ "fontProviderDisabled": "Wyłączono {provider}.",+ "fallbackFontsDownloaded": "Pobrano czcionki zapasowe.",+ "fallbackFontsDownloadFailed": "Nie udało się pobrać czcionek zapasowych.",+ "downloadedFontCacheCleared": "Wyczyszczono pamięć podręczną pobranych czcionek.",+ "downloadedFontCacheClearFailed": "Nie udało się wyczyścić pamięci podręcznej pobranych czcionek.",+ "you": "Ty",+ "youSuffix": "ty",+ "followingPeerStop": "Obserwujesz {name} (kliknij, aby zatrzymać)",+ "clickToFollowPeer": "Kliknij, aby obserwować {name}"+}diff --git a/packages/vue/src/i18n/locales/pl/index.ts b/packages/vue/src/i18n/locales/pl/index.tsnew file mode 100644index 000000000..8a630a7ba--- /dev/null+++ b/packages/vue/src/i18n/locales/pl/index.ts@@ -0,0 +1,19 @@+import type { ComponentsJSON } from '@nanostores/i18n'++import commands from './commands.json'+import dialogs from './dialogs.json'+import menu from './menu.json'+import pages from './pages.json'+import panels from './panels.json'+import tools from './tools.json'+import variableTypes from './variable-types.json'++export default {+ menu: menu,+ commands: commands,+ tools: tools,+ panels: panels,+ variableTypes: variableTypes,+ pages: pages,+ dialogs: dialogs+} satisfies ComponentsJSONdiff --git a/packages/vue/src/i18n/locales/pl/menu.json b/packages/vue/src/i18n/locales/pl/menu.jsonnew file mode 100644index 000000000..1b123a4aa--- /dev/null+++ b/packages/vue/src/i18n/locales/pl/menu.json@@ -0,0 +1,56 @@+{+ "file": "Plik",+ "edit": "Edycja",+ "view": "Widok",+ "object": "Obiekt",+ "arrange": "Rozmieszczenie",+ "text": "Tekst",+ "new": "Nowy",+ "open": "Otwórz…",+ "save": "Zapisz",+ "saveAs": "Zapisz jako…",+ "exportSelection": "Eksportuj zaznaczenie…",+ "autosave": "Automatyczny zapis do pliku",+ "copy": "Kopiuj",+ "paste": "Wklej",+ "zoomIn": "Powiększ",+ "zoomOut": "Pomniejsz",+ "profiler": "Profiler wydajności",+ "theme": "Motyw",+ "themeLight": "Jasny",+ "themeDark": "Ciemny",+ "themeAuto": "Automatycznie",+ "language": "Język",+ "moveToPage": "Przenieś na stronę",+ "createInstance": "Utwórz instancję",+ "hide": "Ukryj",+ "show": "Pokaż",+ "lock": "Zablokuj",+ "unlock": "Odblokuj",+ "cut": "Wytnij",+ "front": "Do przodu",+ "back": "Do tyłu",+ "toggleUI": "Przełącz interfejs",+ "bold": "Pogrubienie",+ "italic": "Kursywa",+ "underline": "Podkreślenie",+ "pasteHere": "Wklej tutaj",+ "pasteToReplace": "Wklej, aby zastąpić",+ "copyPasteAs": "Kopiuj/Wklej jako",+ "copyAsText": "Kopiuj jako tekst",+ "copyAsSVG": "Kopiuj jako SVG",+ "copyAsPNG": "Kopiuj jako PNG",+ "copyAsJSX": "Kopiuj jako JSX",+ "copyNodeId": "Kopiuj ID węzła",+ "copyXPath": "Kopiuj XPath",+ "checkUpdates": "Sprawdź aktualizacje…",+ "booleanOperations": "Operacje logiczne",+ "strikethrough": "Przekreślenie",+ "closeTab": "Zamknij kartę",+ "arrangeAlignLeft": "Wyrównaj do lewej",+ "arrangeAlignCenter": "Wyśrodkuj",+ "arrangeAlignRight": "Wyrównaj do prawej",+ "arrangeAlignTop": "Wyrównaj do góry",+ "arrangeAlignMiddle": "Wyśrodkuj w pionie",+ "arrangeAlignBottom": "Wyrównaj do dołu"+}diff --git a/packages/vue/src/i18n/locales/pl/pages.json b/packages/vue/src/i18n/locales/pl/pages.jsonnew file mode 100644index 000000000..64783642c--- /dev/null+++ b/packages/vue/src/i18n/locales/pl/pages.json@@ -0,0 +1,6 @@+{+ "newPage": "Nowa strona",+ "rename": "Zmień nazwę",+ "delete": "Usuń",+ "pageName": "Strona {number}"+}diff --git a/packages/vue/src/i18n/locales/pl/panels.json b/packages/vue/src/i18n/locales/pl/panels.jsonnew file mode 100644index 000000000..6727f0dde--- /dev/null+++ b/packages/vue/src/i18n/locales/pl/panels.json@@ -0,0 +1,156 @@+{+ "layers": "Warstwy",+ "pages": "Strony",+ "design": "Design",+ "code": "Kod",+ "ai": "AI",+ "assets": "Zasoby",+ "page": "Strona",+ "position": "Pozycja",+ "layout": "Układ",+ "autoLayout": "Auto-layout",+ "alignment": "Wyrównanie",+ "appearance": "Wygląd",+ "fill": "Wypełnienie",+ "stroke": "Obrys",+ "effects": "Efekty",+ "export": "Eksport",+ "typography": "Typografia",+ "variables": "Zmienne",+ "constraints": "Ograniczenia",+ "addFill": "Dodaj wypełnienie",+ "addStroke": "Dodaj obrys",+ "addEffect": "Dodaj efekt",+ "addExport": "Dodaj eksport",+ "dropShadow": "Cień",+ "innerShadow": "Cień wewnętrzny",+ "layerBlur": "Rozmycie warstwy",+ "backgroundBlur": "Rozmycie tła",+ "noSelection": "Brak zaznaczenia",+ "noLocalVariables": "Brak lokalnych zmiennych",+ "openVariables": "Otwórz zmienne",+ "addPage": "Dodaj stronę",+ "toggleVisibility": "Przełącz widoczność",+ "independentCornerRadii": "Niezależne promienie rogów",+ "detachVariable": "Odłącz zmienną",+ "applyVariable": "Zastosuj zmienną",+ "noVariablesFound": "Nie znaleziono zmiennych",+ "addAutoLayout": "Dodaj auto-layout",+ "removeAutoLayout": "Usuń auto-layout",+ "mixed": "Mieszane",+ "layersCount": "{count} warstw",+ "goToMainComponent": "Przejdź do głównego komponentu",+ "detachInstance": "Odłącz instancję",+ "solid": "Jednolity",+ "linearGradient": "Liniowy",+ "radialGradient": "Promieniowy",+ "image": "Obraz",+ "stops": "Punkty",+ "addStop": "Dodaj punkt",+ "alignLeft": "Wyrównaj do lewej",+ "alignCenter": "Wyśrodkuj",+ "alignRight": "Wyrównaj do prawej",+ "alignTop": "Wyrównaj do góry",+ "alignMiddle": "Wyśrodkuj w pionie",+ "alignBottom": "Wyrównaj do dołu",+ "alignCenterHorizontally": "Wyśrodkuj poziomo",+ "alignCenterVertically": "Wyśrodkuj pionowo",+ "flipHorizontal": "Odbij poziomo",+ "flipVertical": "Odbij pionowo",+ "rotate90": "Obróć o 90°",+ "mixedFillsHelp": "Kliknij +, aby zastąpić mieszane wypełnienia",+ "mixedStrokesHelp": "Kliknij +, aby zastąpić mieszane obrysy",+ "mixedEffectsHelp": "Kliknij +, aby zastąpić mieszane efekty",+ "strokeSides": "Boki obrysu",+ "clipContent": "Przytnij zawartość",+ "colorFormatRgb": "RGB",+ "colorFormatHsl": "HSL",+ "colorFormatHsb": "HSB",+ "colorFormatOkhcl": "OkHCL",+ "colorHintHsl": "H odcień · S nasycenie · L jasność",+ "colorHintHsb": "H odcień · S nasycenie · B jasność",+ "colorHintOkhcl": "H odcień · C chroma · L jasność · A alfa",+ "colorPreviewClipped": "Przycięto do gammy podglądu {space}",+ "rulers": "Linijki",+ "multiplayerCursors": "Kursory innych uczestników",+ "direction": "Kierunek",+ "flow": "Przepływ",+ "auto": "Auto",+ "columns": "Kolumny",+ "rows": "Wiersze",+ "sizingFixed": "Stały",+ "sizingHug": "Dopasuj do zawartości",+ "sizingFill": "Wypełnij",+ "sizingHugShort": "Dopas.",+ "sizingFillShort": "Wypełn.",+ "sizingFillFr": "Wypełnij (fr)",+ "sizingFixedPx": "Stały (px)",+ "strokeAlignInside": "Wewnętrzny",+ "strokeAlignCenter": "Wyśrodkowany",+ "strokeAlignOutside": "Zewnętrzny",+ "exportPreview": "Podgląd",+ "exportRenderingPreview": "Renderowanie podglądu…",+ "createVariable": "Utwórz zmienną",+ "createColorVariable": "Utwórz zmienną koloru z {value}",+ "variableName": "Nazwa zmiennej",+ "create": "Utwórz",+ "createNumberVariable": "Utwórz zmienną liczbową z {value}",+ "strokeDash": "Obrys przerywany",+ "add": "Dodaj",+ "variants": "Warianty",+ "gapAuto": "Automatyczny odstep",+ "horizontalGap": "Odstep poziomy",+ "verticalGap": "Odstep pionowy",+ "addMinWidth": "Dodaj min. szerokosc",+ "removeMinWidth": "Usun min. szerokosc",+ "addMaxWidth": "Dodaj maks. szerokosc",+ "removeMaxWidth": "Usun maks. szerokosc",+ "addMinHeight": "Dodaj min. wysokosc",+ "removeMinHeight": "Usun min. wysokosc",+ "addMaxHeight": "Dodaj maks. wysokosc",+ "removeMaxHeight": "Usun maks. wysokosc",+ "minWidthShort": "Min Sz",+ "maxWidthShort": "Maks Sz",+ "minHeightShort": "Min W",+ "maxHeightShort": "Maks W",+ "setToCurrentWidth": "Ustaw biezaca szerokosc",+ "setToCurrentHeight": "Ustaw biezaca wysokosc",+ "searchLocalComponents": "Szukaj lokalnych komponentów",+ "assetLibraryBadge": "Biblioteka",+ "assetVariantSummary": "{count} wariantów · {names}",+ "duplicateVariantValues": "Zduplikowane wartości wariantu",+ "openDocumentation": "Otwórz dokumentację",+ "noLocalComponents": "Brak lokalnych komponentów",+ "componentSet": "Zestaw komponentów",+ "component": "Komponent",+ "insertInstance": "Wstaw instancję",+ "description": "Opis",+ "documentation": "Dokumentacja",+ "openDocs": "Otwórz dokumentację",+ "properties": "Właściwości",+ "removeFill": "Usuń wypełnienie",+ "removeStroke": "Usuń obrys",+ "removeEffect": "Usuń efekt",+ "removeExport": "Usuń eksport",+ "effectSettings": "Ustawienia efektu",+ "expandEffectSettings": "Rozwiń ustawienia efektu",+ "collapseEffectSettings": "Zwiń ustawienia efektu",+ "toggleExportPreview": "Przełącz podgląd eksportu",+ "untitled": "Bez tytułu",+ "nodeCopyString": " kopia",+ "xAxis": "Oś X",+ "yAxis": "Oś Y",+ "rotation": "Obrót",+ "width": "Szerokość",+ "height": "Wysokość",+ "opacity": "Krycie",+ "radius": "Promień",+ "spread": "Rozproszenie",+ "foregroundBlur": "Rozmycie pierwszego planu",+ "strokeType": "Typ obrysu",+ "strokeWeight": "Grubość obrysu",+ "exportScale": "Skala eksportu",+ "exportFormat": "Format eksportu",+ "gap": "Odstęp",+ "searchFonts": "Szukaj fontów..."+}diff --git a/packages/vue/src/i18n/locales/pl/tools.json b/packages/vue/src/i18n/locales/pl/tools.jsonnew file mode 100644index 000000000..1043d2657--- /dev/null+++ b/packages/vue/src/i18n/locales/pl/tools.json@@ -0,0 +1,13 @@+{+ "move": "Przesuń",+ "frame": "Ramka",+ "section": "Sekcja",+ "rectangle": "Prostokąt",+ "ellipse": "Elipsa",+ "line": "Linia",+ "polygon": "Wielokąt",+ "star": "Gwiazda",+ "pen": "Pióro",+ "text": "Tekst",+ "hand": "Dłoń"+}diff --git a/packages/vue/src/i18n/locales/pl/variable-types.json b/packages/vue/src/i18n/locales/pl/variable-types.jsonnew file mode 100644index 000000000..c75eaa890--- /dev/null+++ b/packages/vue/src/i18n/locales/pl/variable-types.json@@ -0,0 +1,10 @@+{+ "color": "Kolor",+ "colorHint": "Wartości wypełnień",+ "number": "Liczba",+ "numberHint": "Rozmiary, odstępy, krycie",+ "text": "Tekst",+ "textHint": "Tekst i etykiety",+ "boolean": "Boolowski",+ "booleanHint": "Prawda lub fałsz"+}diff --git a/packages/vue/src/i18n/locales/ru/commands.json b/packages/vue/src/i18n/locales/ru/commands.jsonnew file mode 100644index 000000000..455cbab9d--- /dev/null+++ b/packages/vue/src/i18n/locales/ru/commands.json@@ -0,0 +1,35 @@+{+ "undo": "Отменить",+ "redo": "Повторить",+ "selectAll": "Выделить всё",+ "duplicate": "Дублировать",+ "delete": "Удалить",+ "group": "Сгруппировать",+ "ungroup": "Разгруппировать",+ "createComponent": "Создать компонент",+ "createComponentSet": "Создать набор компонентов",+ "createInstance": "Создать экземпляр",+ "detachInstance": "Отвязать экземпляр",+ "goToMainComponent": "Перейти к компоненту",+ "addAutoLayout": "Добавить авто-раскладку",+ "bringToFront": "На передний план",+ "sendToBack": "На задний план",+ "moveToPage": "Переместить на страницу",+ "zoomTo100": "Масштаб 100%",+ "zoomToFit": "Вписать в экран",+ "zoomToSelection": "Масштаб по выделению",+ "groupSelection": "Сгруппировать",+ "frameSelection": "Поместить выделение во фрейм",+ "showHide": "Показать/Скрыть",+ "lockUnlock": "Заблокировать/Разблокировать",+ "unionSelection": "Объединить выделение",+ "subtractSelection": "Вычесть выделение",+ "intersectSelection": "Пересечь выделение",+ "excludeSelection": "Исключить выделение",+ "booleanOperations": "Логические операции",+ "flipHorizontal": "Отразить по горизонтали",+ "flipVertical": "Отразить по вертикали",+ "flattenSelection": "Сгладить",+ "outlineText": "Преобразовать текст в контуры",+ "outlineStroke": "Преобразовать обводку в контур"+}diff --git a/packages/vue/src/i18n/locales/ru/dialogs.json b/packages/vue/src/i18n/locales/ru/dialogs.jsonnew file mode 100644index 000000000..5634cbbed--- /dev/null+++ b/packages/vue/src/i18n/locales/ru/dialogs.json@@ -0,0 +1,133 @@+{+ "cancel": "Отмена",+ "apply": "Применить",+ "close": "Закрыть",+ "ok": "ОК",+ "copy": "Копировать",+ "copied": "Скопировано",+ "createCollection": "Создать коллекцию",+ "localVariables": "Локальные переменные",+ "noVariableCollections": "Нет коллекций переменных",+ "selectLayerForJSX": "Выберите слой, чтобы увидеть его JSX-код",+ "connectAIProvider": "Подключите AI-провайдера, чтобы начать чат.",+ "connect": "Подключить",+ "testConnection": "Test connection",+ "testingConnection": "Testing…",+ "connectionTestSuccess": "Connected successfully. Model is reachable.",+ "connectionTestMissingAPIKey": "Enter an API key before testing.",+ "connectionTestMissingBaseURL": "Enter a base URL before testing.",+ "connectionTestMissingModel": "Enter a model ID before testing.",+ "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",+ "connectionTestAuthFailed": "Authentication failed. Check your API key.",+ "connectionTestModelNotFound": "Model not found. Check the model ID.",+ "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",+ "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",+ "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",+ "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",+ "getAPIKey": "Получить API-ключ {provider} →",+ "oneKeyManyModels": "Один ключ для 100+ моделей от разных провайдеров.",+ "describeChange": "Опишите изменение…",+ "describeCreateOrChange": "Опишите, что вы хотите создать или изменить.",+ "stopGenerating": "Остановить генерацию",+ "sendMessage": "Отправить сообщение",+ "baseURLPlaceholder": "Base URL (например, http://localhost:11434/v1)",+ "modelIDPlaceholder": "Model ID (например, llama-3.3-70b)",+ "yourName": "Ваше имя",+ "enterYourName": "Введите ваше имя",+ "shareThisFile": "Поделиться файлом",+ "joinRoom": "Войти в комнату",+ "join": "Войти",+ "roomLink": "Ссылка на комнату",+ "joinCollaboration": "Присоединиться к совместной работе",+ "orJoinRoom": "или войти в комнату",+ "pasteRoomLinkOrId": "Вставьте ссылку на комнату или ID",+ "connected": "Подключено",+ "search": "Поиск…",+ "noResults": "Ничего не найдено",+ "share": "Поделиться",+ "appUpToDate": "OpenPencil обновлён до последней версии",+ "updateAvailableTitle": "Обновить OpenPencil",+ "updateAvailable": "Доступен OpenPencil {version}.",+ "updateInstallPrompt": "Скачать и установить сейчас? После установки обновления приложение перезапустится.",+ "downloadingUpdate": "Загрузка OpenPencil {version}",+ "updateInstalledTitle": "Обновление установлено",+ "updateInstalled": "OpenPencil {version} установлен{size}. Перезапуск.",+ "updateCheckFailed": "Не удалось проверить обновления: {error}",+ "updateUnavailable": "Обновления пока недоступны. Сначала опубликуйте подписанный релиз с latest.json.",+ "renameCollection": "Переименовать коллекцию",+ "deleteCollection": "Удалить коллекцию",+ "modes": "Режимы",+ "addMode": "Добавить режим",+ "renameMode": "Переименовать режим",+ "duplicateMode": "Дублировать режим",+ "deleteMode": "Удалить режим",+ "setDefaultMode": "Установить по умолчанию",+ "aiProvider": "AI Provider",+ "providerSettings": "Provider settings",+ "done": "Done",+ "apiKey": "API Key",+ "apiType": "API Type",+ "baseURL": "Base URL",+ "modelID": "Model ID",+ "maxOutputTokens": "Max output tokens",+ "clear": "Clear",+ "keySavedReplace": "Key saved — enter new to replace",+ "getAPIKeyGeneric": "Get API key →",+ "pexelsAPIKey": "Pexels API Key (stock photos)",+ "unsplashAccessKey": "Unsplash Access Key",+ "stockPhotoToolOptional": "Optional — for stock_photo tool",+ "pexelsAlternativeOptional": "Optional — alternative to Pexels",+ "getPexelsAPIKey": "Get free Pexels API key →",+ "getUnsplashAccessKey": "Get free Unsplash access key →",+ "completions": "Completions",+ "responses": "Responses",+ "copiedExclamation": "Скопировано!",+ "copyMessage": "Скопировать сообщение",+ "copyJSXReference": "Скопировать справку по JSX-свойствам в буфер",+ "newTab": "Новая вкладка",+ "closeTab": "Закрыть {name}",+ "showUI": "Показать интерфейс ({shortcut})",+ "fontSettings": "Настройки шрифтов",+ "fontSettingsDesktopDescription": "Доступ к системным шрифтам, онлайн-провайдерам, резервным наборам и кэшу загрузок.",+ "fontSettingsBrowserDescription": "Разрешите браузеру доступ к локальным шрифтам и управляйте онлайн-провайдерами шрифтов.",+ "localFonts": "Локальные шрифты",+ "onlineFonts": "Онлайн-шрифты",+ "downloadedCache": "Кэш загрузок",+ "lastUpdated": "Последнее обновление",+ "enabled": "Включено",+ "disabled": "Отключено",+ "denied": "Запрещено",+ "unavailable": "Недоступно",+ "notRequested": "Не запрошено",+ "never": "Никогда",+ "systemFontAccess": "Доступ к системным шрифтам",+ "systemFontsAvailable": "Системные шрифты доступны.",+ "allowBrowserFontAccess": "Разрешите доступ браузера к шрифтам, если системные шрифты отсутствуют.",+ "allow": "Разрешить",+ "requesting": "Запрос…",+ "onlineFontProviders": "Онлайн-провайдеры шрифтов",+ "downloadMissingWebFonts": "Загружайте отсутствующие веб-шрифты через включённых провайдеров.",+ "webFontProvidersRequireDesktopApp": "Каталоги провайдеров онлайн-шрифтов недоступны в веб-приложении. Скачайте настольное приложение, чтобы просматривать и загружать шрифты провайдеров.",+ "enable": "Включить",+ "disable": "Отключить",+ "fallbackPacks": "Резервные наборы",+ "downloadFallbackPacksDescription": "Загрузите резервные CJK- и арабские шрифты перед открытием файлов, которым они нужны.",+ "download": "Загрузить",+ "downloading": "Загрузка…",+ "refresh": "Обновить",+ "clearCache": "Очистить кэш",+ "localFontAccessEnabled": "Доступ к локальным шрифтам включён.",+ "localFontAccessNotGranted": "Доступ к локальным шрифтам не предоставлен.",+ "onlineFontProvidersEnabled": "Онлайн-провайдеры шрифтов включены.",+ "onlineFontProvidersDisabled": "Онлайн-провайдеры шрифтов отключены.",+ "fontProviderEnabled": "{provider} включён.",+ "fontProviderDisabled": "{provider} отключён.",+ "fallbackFontsDownloaded": "Резервные шрифты загружены.",+ "fallbackFontsDownloadFailed": "Не удалось загрузить резервные шрифты.",+ "downloadedFontCacheCleared": "Кэш загруженных шрифтов очищен.",+ "downloadedFontCacheClearFailed": "Не удалось очистить кэш загруженных шрифтов.",+ "you": "Вы",+ "youSuffix": "вы",+ "followingPeerStop": "Следите за {name} (нажмите, чтобы остановить)",+ "clickToFollowPeer": "Нажмите, чтобы следить за {name}"+}diff --git a/packages/vue/src/i18n/locales/ru/index.ts b/packages/vue/src/i18n/locales/ru/index.tsnew file mode 100644index 000000000..8a630a7ba--- /dev/null+++ b/packages/vue/src/i18n/locales/ru/index.ts@@ -0,0 +1,19 @@+import type { ComponentsJSON } from '@nanostores/i18n'++import commands from './commands.json'+import dialogs from './dialogs.json'+import menu from './menu.json'+import pages from './pages.json'+import panels from './panels.json'+import tools from './tools.json'+import variableTypes from './variable-types.json'++export default {+ menu: menu,+ commands: commands,+ tools: tools,+ panels: panels,+ variableTypes: variableTypes,+ pages: pages,+ dialogs: dialogs+} satisfies ComponentsJSONdiff --git a/packages/vue/src/i18n/locales/ru/menu.json b/packages/vue/src/i18n/locales/ru/menu.jsonnew file mode 100644index 000000000..124a73f0f--- /dev/null+++ b/packages/vue/src/i18n/locales/ru/menu.json@@ -0,0 +1,56 @@+{+ "file": "Файл",+ "edit": "Правка",+ "view": "Вид",+ "object": "Объект",+ "arrange": "Порядок",+ "text": "Текст",+ "new": "Создать",+ "open": "Открыть…",+ "save": "Сохранить",+ "saveAs": "Сохранить как…",+ "exportSelection": "Экспорт выделения…",+ "autosave": "Автосохранение в файл",+ "copy": "Копировать",+ "paste": "Вставить",+ "zoomIn": "Увеличить",+ "zoomOut": "Уменьшить",+ "profiler": "Профилирование",+ "language": "Язык",+ "theme": "Тема",+ "themeLight": "Светлая",+ "themeDark": "Тёмная",+ "themeAuto": "Автоматически",+ "moveToPage": "Переместить на страницу",+ "createInstance": "Создать экземпляр",+ "hide": "Скрыть",+ "show": "Показать",+ "lock": "Заблокировать",+ "unlock": "Разблокировать",+ "cut": "Вырезать",+ "front": "Вперёд",+ "back": "Назад",+ "toggleUI": "Переключить интерфейс",+ "bold": "Жирный",+ "italic": "Курсив",+ "underline": "Подчёркнутый",+ "pasteHere": "Вставить сюда",+ "pasteToReplace": "Вставить для замены",+ "copyPasteAs": "Копировать/Вставить как",+ "copyAsText": "Копировать как текст",+ "copyAsSVG": "Копировать как SVG",+ "copyAsPNG": "Копировать как PNG",+ "copyAsJSX": "Копировать как JSX",+ "copyNodeId": "Копировать ID узла",+ "copyXPath": "Копировать XPath",+ "checkUpdates": "Проверить обновления…",+ "booleanOperations": "Логические операции",+ "strikethrough": "Зачёркивание",+ "closeTab": "Закрыть вкладку",+ "arrangeAlignLeft": "Выровнять по левому краю",+ "arrangeAlignCenter": "Выровнять по центру по горизонтали",+ "arrangeAlignRight": "Выровнять по правому краю",+ "arrangeAlignTop": "Выровнять по верхнему краю",+ "arrangeAlignMiddle": "Выровнять по центру по вертикали",+ "arrangeAlignBottom": "Выровнять по нижнему краю"+}diff --git a/packages/vue/src/i18n/locales/ru/pages.json b/packages/vue/src/i18n/locales/ru/pages.jsonnew file mode 100644index 000000000..8805500d7--- /dev/null+++ b/packages/vue/src/i18n/locales/ru/pages.json@@ -0,0 +1,6 @@+{+ "newPage": "Новая страница",+ "rename": "Переименовать",+ "delete": "Удалить",+ "pageName": "Страница {number}"+}diff --git a/packages/vue/src/i18n/locales/ru/panels.json b/packages/vue/src/i18n/locales/ru/panels.jsonnew file mode 100644index 000000000..0b1adb702--- /dev/null+++ b/packages/vue/src/i18n/locales/ru/panels.json@@ -0,0 +1,156 @@+{+ "layers": "Слои",+ "pages": "Страницы",+ "design": "Дизайн",+ "code": "Код",+ "ai": "AI",+ "assets": "Ассеты",+ "page": "Страница",+ "position": "Позиция",+ "layout": "Раскладка",+ "autoLayout": "Автораскладка",+ "alignment": "Выравнивание",+ "appearance": "Внешний вид",+ "fill": "Заливка",+ "stroke": "Обводка",+ "effects": "Эффекты",+ "export": "Экспорт",+ "typography": "Типографика",+ "variables": "Переменные",+ "constraints": "Ограничения",+ "addFill": "Добавить заливку",+ "addStroke": "Добавить обводку",+ "addEffect": "Добавить эффект",+ "addExport": "Добавить экспорт",+ "dropShadow": "Тень",+ "innerShadow": "Внутренняя тень",+ "layerBlur": "Размытие слоя",+ "backgroundBlur": "Размытие фона",+ "noSelection": "Ничего не выделено",+ "noLocalVariables": "Нет локальных переменных",+ "openVariables": "Открыть переменные",+ "addPage": "Добавить страницу",+ "toggleVisibility": "Переключить видимость",+ "independentCornerRadii": "Независимые радиусы углов",+ "detachVariable": "Отвязать переменную",+ "applyVariable": "Применить переменную",+ "noVariablesFound": "Переменные не найдены",+ "addAutoLayout": "Добавить автораскладку",+ "removeAutoLayout": "Убрать автораскладку",+ "alignLeft": "Выровнять по левому краю",+ "alignCenterHorizontally": "Выровнять по центру по горизонтали",+ "alignRight": "Выровнять по правому краю",+ "alignTop": "Выровнять по верхнему краю",+ "alignCenterVertically": "Выровнять по центру по вертикали",+ "alignBottom": "Выровнять по нижнему краю",+ "flipHorizontal": "Отразить по горизонтали",+ "flipVertical": "Отразить по вертикали",+ "rotate90": "Повернуть на 90°",+ "mixedFillsHelp": "Нажмите +, чтобы заменить смешанные заливки",+ "mixedStrokesHelp": "Нажмите +, чтобы заменить смешанные обводки",+ "mixedEffectsHelp": "Нажмите +, чтобы заменить смешанные эффекты",+ "strokeSides": "Стороны обводки",+ "mixed": "Смешанное",+ "layersCount": "{count} слоёв",+ "goToMainComponent": "Перейти к главному компоненту",+ "detachInstance": "Отвязать экземпляр",+ "solid": "Сплошной",+ "linearGradient": "Линейный",+ "radialGradient": "Радиальный",+ "image": "Изображение",+ "stops": "Точки",+ "addStop": "Добавить точку",+ "alignCenter": "По центру",+ "alignMiddle": "По середине",+ "clipContent": "Обрезать содержимое",+ "colorFormatRgb": "RGB",+ "colorFormatHsl": "HSL",+ "colorFormatHsb": "HSB",+ "colorFormatOkhcl": "OkHCL",+ "colorHintHsl": "H тон · S насыщенность · L светлота",+ "colorHintHsb": "H тон · S насыщенность · B яркость",+ "colorHintOkhcl": "H тон · C хрома · L светлота · A альфа",+ "colorPreviewClipped": "Обрезано до гаммы предпросмотра {space}",+ "rulers": "Линейки",+ "multiplayerCursors": "Курсоры участников",+ "direction": "Направление",+ "flow": "Поток",+ "auto": "Авто",+ "columns": "Столбцы",+ "rows": "Строки",+ "sizingFixed": "Фиксированный",+ "sizingHug": "По содержимому",+ "sizingFill": "Заполнить",+ "sizingHugShort": "Содерж.",+ "sizingFillShort": "Запол.",+ "sizingFillFr": "Заполнить (fr)",+ "sizingFixedPx": "Фиксированный (px)",+ "strokeAlignInside": "Внутри",+ "strokeAlignCenter": "По центру",+ "strokeAlignOutside": "Снаружи",+ "exportPreview": "Предпросмотр",+ "exportRenderingPreview": "Рендеринг предпросмотра…",+ "createVariable": "Создать переменную",+ "createColorVariable": "Создать переменную цвета из {value}",+ "variableName": "Имя переменной",+ "create": "Создать",+ "createNumberVariable": "Создать числовую переменную из {value}",+ "strokeDash": "Пунктирная обводка",+ "add": "Добавить",+ "variants": "Варианты",+ "gapAuto": "Авто отступ",+ "horizontalGap": "Горизонтальный отступ",+ "verticalGap": "Вертикальный отступ",+ "addMinWidth": "Добавить мин. ширину",+ "removeMinWidth": "Убрать мин. ширину",+ "addMaxWidth": "Добавить макс. ширину",+ "removeMaxWidth": "Убрать макс. ширину",+ "addMinHeight": "Добавить мин. высоту",+ "removeMinHeight": "Убрать мин. высоту",+ "addMaxHeight": "Добавить макс. высоту",+ "removeMaxHeight": "Убрать макс. высоту",+ "minWidthShort": "Мин Ш",+ "maxWidthShort": "Макс Ш",+ "minHeightShort": "Мин В",+ "maxHeightShort": "Макс В",+ "setToCurrentWidth": "Установить текущую ширину",+ "setToCurrentHeight": "Установить текущую высоту",+ "searchLocalComponents": "Поиск локальных компонентов",+ "assetLibraryBadge": "Библиотека",+ "assetVariantSummary": "{count} вариантов · {names}",+ "duplicateVariantValues": "Повторяющиеся значения вариантов",+ "openDocumentation": "Открыть документацию",+ "noLocalComponents": "Нет локальных компонентов",+ "componentSet": "Набор компонентов",+ "component": "Компонент",+ "insertInstance": "Вставить экземпляр",+ "description": "Описание",+ "documentation": "Документация",+ "openDocs": "Открыть документацию",+ "properties": "Свойства",+ "removeFill": "Удалить заливку",+ "removeStroke": "Удалить обводку",+ "removeEffect": "Удалить эффект",+ "removeExport": "Удалить экспорт",+ "effectSettings": "Настройки эффекта",+ "expandEffectSettings": "Развернуть настройки эффекта",+ "collapseEffectSettings": "Свернуть настройки эффекта",+ "toggleExportPreview": "Показать/скрыть предпросмотр экспорта",+ "untitled": "Без названия",+ "nodeCopyString": " копия",+ "xAxis": "Ось X",+ "yAxis": "Ось Y",+ "rotation": "Поворот",+ "width": "Ширина",+ "height": "Высота",+ "opacity": "Непрозрачность",+ "radius": "Радиус",+ "spread": "Размах",+ "foregroundBlur": "Размытие переднего плана",+ "strokeType": "Тип обводки",+ "strokeWeight": "Толщина обводки",+ "exportScale": "Масштаб экспорта",+ "exportFormat": "Формат экспорта",+ "gap": "Интервал",+ "searchFonts": "Поиск шрифтов..."+}diff --git a/packages/vue/src/i18n/locales/ru/tools.json b/packages/vue/src/i18n/locales/ru/tools.jsonnew file mode 100644index 000000000..37bbd2b09--- /dev/null+++ b/packages/vue/src/i18n/locales/ru/tools.json@@ -0,0 +1,13 @@+{+ "move": "Перемещение",+ "frame": "Фрейм",+ "section": "Секция",+ "rectangle": "Прямоугольник",+ "ellipse": "Эллипс",+ "line": "Линия",+ "polygon": "Многоугольник",+ "star": "Звезда",+ "pen": "Перо",+ "text": "Текст",+ "hand": "Рука"+}diff --git a/packages/vue/src/i18n/locales/ru/variable-types.json b/packages/vue/src/i18n/locales/ru/variable-types.jsonnew file mode 100644index 000000000..bbb19e8fa--- /dev/null+++ b/packages/vue/src/i18n/locales/ru/variable-types.json@@ -0,0 +1,10 @@+{+ "color": "Цвет",+ "colorHint": "Значения заливок",+ "number": "Число",+ "numberHint": "Размеры, отступы, прозрачность",+ "text": "Текст",+ "textHint": "Текст и подписи",+ "boolean": "Логический",+ "booleanHint": "Истина или ложь"+}diff --git a/packages/vue/src/i18n/locales/zh-cn/commands.json b/packages/vue/src/i18n/locales/zh-cn/commands.jsonnew file mode 100644index 000000000..9ac5a0a42--- /dev/null+++ b/packages/vue/src/i18n/locales/zh-cn/commands.json@@ -0,0 +1,35 @@+{+ "undo": "撤销",+ "redo": "重做",+ "selectAll": "全选",+ "duplicate": "克隆",+ "delete": "删除",+ "group": "编组",+ "ungroup": "取消编组",+ "createComponent": "创建组件",+ "createComponentSet": "创建组件集",+ "createInstance": "创建实例",+ "detachInstance": "分离实例",+ "goToMainComponent": "转到主组件",+ "addAutoLayout": "添加自动布局",+ "bringToFront": "置于顶层",+ "sendToBack": "置于底层",+ "moveToPage": "移动到页面",+ "zoomTo100": "缩放到 100%",+ "zoomToFit": "适应屏幕",+ "zoomToSelection": "适应所选内容",+ "groupSelection": "编组所选内容",+ "frameSelection": "为所选内容添加画框",+ "showHide": "显示/隐藏",+ "lockUnlock": "锁定/解锁",+ "unionSelection": "合并所选内容",+ "subtractSelection": "减去所选内容",+ "intersectSelection": "相交所选内容",+ "excludeSelection": "排除所选内容",+ "booleanOperations": "布尔运算",+ "flipHorizontal": "水平翻转",+ "flipVertical": "垂直翻转",+ "flattenSelection": "扁平化",+ "outlineText": "文本转轮廓",+ "outlineStroke": "描边转轮廓"+}diff --git a/packages/vue/src/i18n/locales/zh-cn/dialogs.json b/packages/vue/src/i18n/locales/zh-cn/dialogs.jsonnew file mode 100644index 000000000..a0e26c42f--- /dev/null+++ b/packages/vue/src/i18n/locales/zh-cn/dialogs.json@@ -0,0 +1,133 @@+{+ "cancel": "取消",+ "apply": "应用",+ "close": "关闭",+ "ok": "确定",+ "copy": "复制",+ "copied": "已复制",+ "createCollection": "创建集合",+ "localVariables": "本地变量",+ "noVariableCollections": "没有变量集合",+ "selectLayerForJSX": "选择一个图层以查看其 JSX 代码",+ "connectAIProvider": "连接 AI 提供商以开始聊天。",+ "connect": "连接",+ "testConnection": "Test connection",+ "testingConnection": "Testing…",+ "connectionTestSuccess": "Connected successfully. Model is reachable.",+ "connectionTestMissingAPIKey": "Enter an API key before testing.",+ "connectionTestMissingBaseURL": "Enter a base URL before testing.",+ "connectionTestMissingModel": "Enter a model ID before testing.",+ "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",+ "connectionTestAuthFailed": "Authentication failed. Check your API key.",+ "connectionTestModelNotFound": "Model not found. Check the model ID.",+ "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",+ "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",+ "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",+ "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",+ "getAPIKey": "获取 {provider} API 密钥 →",+ "oneKeyManyModels": "一个密钥即可使用来自所有提供商的 100+ 模型。",+ "describeChange": "描述一个更改…",+ "describeCreateOrChange": "描述你想创建或更改的内容。",+ "stopGenerating": "停止生成",+ "sendMessage": "发送消息",+ "baseURLPlaceholder": "Base URL(例如 http://localhost:11434/v1)",+ "modelIDPlaceholder": "模型 ID(例如 llama-3.3-70b)",+ "yourName": "你的名字",+ "enterYourName": "请输入你的名字",+ "shareThisFile": "分享此文件",+ "joinRoom": "加入房间",+ "join": "加入",+ "roomLink": "房间链接",+ "joinCollaboration": "加入协作",+ "orJoinRoom": "或加入一个房间",+ "pasteRoomLinkOrId": "粘贴房间链接或 ID",+ "connected": "已连接",+ "search": "搜索…",+ "noResults": "无结果",+ "share": "分享",+ "appUpToDate": "OpenPencil 已是最新版本",+ "updateAvailableTitle": "更新 OpenPencil",+ "updateAvailable": "OpenPencil {version} 可用。",+ "updateInstallPrompt": "现在下载并安装吗?安装更新后应用将重新启动。",+ "downloadingUpdate": "正在下载 OpenPencil {version}",+ "updateInstalledTitle": "更新已安装",+ "updateInstalled": "OpenPencil {version} 已安装{size}。正在重新启动。",+ "updateCheckFailed": "无法检查更新:{error}",+ "updateUnavailable": "更新暂不可用。请先发布包含 latest.json 的已签名版本。",+ "renameCollection": "重命名集合",+ "deleteCollection": "删除集合",+ "modes": "模式",+ "addMode": "添加模式",+ "renameMode": "重命名模式",+ "duplicateMode": "复制模式",+ "deleteMode": "删除模式",+ "setDefaultMode": "设为默认",+ "aiProvider": "AI 提供商",+ "providerSettings": "提供商设置",+ "done": "完成",+ "apiKey": "API 密钥",+ "apiType": "API 类型",+ "baseURL": "Base URL",+ "modelID": "模型 ID",+ "maxOutputTokens": "最大输出 token 数",+ "clear": "清除",+ "keySavedReplace": "密钥已保存,输入新密钥以替换",+ "getAPIKeyGeneric": "获取 API 密钥 →",+ "pexelsAPIKey": "Pexels API 密钥(图库照片)",+ "unsplashAccessKey": "Unsplash Access Key",+ "stockPhotoToolOptional": "可选,用于 stock_photo 工具",+ "pexelsAlternativeOptional": "可选,作为 Pexels 的替代",+ "getPexelsAPIKey": "获取免费 Pexels API 密钥 →",+ "getUnsplashAccessKey": "获取免费 Unsplash Access Key →",+ "completions": "Completions",+ "responses": "Responses",+ "copiedExclamation": "已复制!",+ "copyMessage": "复制消息",+ "copyJSXReference": "复制 JSX 属性参考到剪贴板",+ "newTab": "新标签页",+ "closeTab": "关闭 {name}",+ "showUI": "显示界面({shortcut})",+ "fontSettings": "字体设置",+ "fontSettingsDesktopDescription": "访问系统字体、在线提供商、后备字体包和缓存下载。",+ "fontSettingsBrowserDescription": "允许浏览器访问本地字体,并管理在线字体提供商。",+ "localFonts": "本地字体",+ "onlineFonts": "在线字体",+ "downloadedCache": "下载缓存",+ "lastUpdated": "上次更新",+ "enabled": "已启用",+ "disabled": "已停用",+ "denied": "已拒绝",+ "unavailable": "不可用",+ "notRequested": "未请求",+ "never": "从不",+ "systemFontAccess": "系统字体访问",+ "systemFontsAvailable": "系统字体可用。",+ "allowBrowserFontAccess": "缺少系统字体时,允许浏览器访问字体。",+ "allow": "允许",+ "requesting": "正在请求…",+ "onlineFontProviders": "在线字体提供商",+ "downloadMissingWebFonts": "通过已启用的提供商下载缺失的网页字体。",+ "webFontProvidersRequireDesktopApp": "网页版暂不支持在线字体提供商目录。请下载桌面应用来浏览和加载提供商字体。",+ "enable": "启用",+ "disable": "停用",+ "fallbackPacks": "后备字体包",+ "downloadFallbackPacksDescription": "在打开需要这些字体的文件前,下载 CJK 和阿拉伯语后备字体。",+ "download": "下载",+ "downloading": "正在下载…",+ "refresh": "刷新",+ "clearCache": "清除缓存",+ "localFontAccessEnabled": "本地字体访问已启用。",+ "localFontAccessNotGranted": "未授予本地字体访问权限。",+ "onlineFontProvidersEnabled": "在线字体提供商已启用。",+ "onlineFontProvidersDisabled": "在线字体提供商已停用。",+ "fontProviderEnabled": "已启用 {provider}。",+ "fontProviderDisabled": "已停用 {provider}。",+ "fallbackFontsDownloaded": "后备字体已下载。",+ "fallbackFontsDownloadFailed": "无法下载后备字体。",+ "downloadedFontCacheCleared": "已清除下载的字体缓存。",+ "downloadedFontCacheClearFailed": "无法清除下载的字体缓存。",+ "you": "你",+ "youSuffix": "你",+ "followingPeerStop": "正在跟随 {name}(点击停止)",+ "clickToFollowPeer": "点击跟随 {name}"+}diff --git a/packages/vue/src/i18n/locales/zh-cn/index.ts b/packages/vue/src/i18n/locales/zh-cn/index.tsnew file mode 100644index 000000000..8a630a7ba--- /dev/null+++ b/packages/vue/src/i18n/locales/zh-cn/index.ts@@ -0,0 +1,19 @@+import type { ComponentsJSON } from '@nanostores/i18n'++import commands from './commands.json'+import dialogs from './dialogs.json'+import menu from './menu.json'+import pages from './pages.json'+import panels from './panels.json'+import tools from './tools.json'+import variableTypes from './variable-types.json'++export default {+ menu: menu,+ commands: commands,+ tools: tools,+ panels: panels,+ variableTypes: variableTypes,+ pages: pages,+ dialogs: dialogs+} satisfies ComponentsJSONdiff --git a/packages/vue/src/i18n/locales/zh-cn/menu.json b/packages/vue/src/i18n/locales/zh-cn/menu.jsonnew file mode 100644index 000000000..6e049e5f9--- /dev/null+++ b/packages/vue/src/i18n/locales/zh-cn/menu.json@@ -0,0 +1,56 @@+{+ "file": "文件",+ "edit": "编辑",+ "view": "视图",+ "object": "对象",+ "arrange": "排列",+ "text": "文本",+ "new": "新建",+ "open": "打开…",+ "save": "保存",+ "saveAs": "另存为…",+ "exportSelection": "导出所选内容…",+ "autosave": "自动保存到本地文件",+ "copy": "复制",+ "paste": "粘贴",+ "zoomIn": "放大",+ "zoomOut": "缩小",+ "profiler": "性能分析器",+ "theme": "主题",+ "themeLight": "浅色",+ "themeDark": "深色",+ "themeAuto": "跟随系统",+ "language": "语言",+ "moveToPage": "移动到页面",+ "createInstance": "创建实例",+ "hide": "隐藏",+ "show": "显示",+ "lock": "锁定",+ "unlock": "解锁",+ "cut": "剪切",+ "front": "置于顶层",+ "back": "置于底层",+ "toggleUI": "切换界面",+ "bold": "加粗",+ "italic": "斜体",+ "underline": "下划线",+ "pasteHere": "粘贴到这里",+ "pasteToReplace": "粘贴并替换",+ "copyPasteAs": "复制/粘贴为",+ "copyAsText": "复制为文本",+ "copyAsSVG": "复制为 SVG",+ "copyAsPNG": "复制为 PNG",+ "copyAsJSX": "复制为 JSX",+ "copyNodeId": "复制节点 ID",+ "copyXPath": "复制 XPath",+ "checkUpdates": "检查更新…",+ "booleanOperations": "布尔运算",+ "strikethrough": "删除线",+ "closeTab": "关闭标签页",+ "arrangeAlignLeft": "左对齐",+ "arrangeAlignCenter": "水平居中",+ "arrangeAlignRight": "右对齐",+ "arrangeAlignTop": "顶部对齐",+ "arrangeAlignMiddle": "垂直居中",+ "arrangeAlignBottom": "底部对齐"+}diff --git a/packages/vue/src/i18n/locales/zh-cn/pages.json b/packages/vue/src/i18n/locales/zh-cn/pages.jsonnew file mode 100644index 000000000..442519cfd--- /dev/null+++ b/packages/vue/src/i18n/locales/zh-cn/pages.json@@ -0,0 +1,6 @@+{+ "newPage": "新建页面",+ "rename": "重命名",+ "delete": "删除",+ "pageName": "页面 {number}"+}diff --git a/packages/vue/src/i18n/locales/zh-cn/panels.json b/packages/vue/src/i18n/locales/zh-cn/panels.jsonnew file mode 100644index 000000000..ec87c7154--- /dev/null+++ b/packages/vue/src/i18n/locales/zh-cn/panels.json@@ -0,0 +1,156 @@+{+ "layers": "图层",+ "pages": "页面",+ "design": "设计",+ "code": "代码",+ "ai": "AI",+ "assets": "资源",+ "page": "页面",+ "position": "位置",+ "layout": "布局",+ "autoLayout": "自动布局",+ "alignment": "对齐",+ "appearance": "外观",+ "fill": "填充",+ "stroke": "描边",+ "effects": "效果",+ "export": "导出",+ "typography": "排版",+ "variables": "变量",+ "constraints": "约束",+ "addFill": "添加填充",+ "addStroke": "添加描边",+ "addEffect": "添加效果",+ "addExport": "添加导出",+ "dropShadow": "投影",+ "innerShadow": "内阴影",+ "layerBlur": "图层模糊",+ "backgroundBlur": "背景模糊",+ "noSelection": "未选择任何内容",+ "noLocalVariables": "没有本地变量",+ "openVariables": "打开变量",+ "addPage": "添加页面",+ "toggleVisibility": "切换可见性",+ "independentCornerRadii": "独立圆角半径",+ "detachVariable": "解除变量绑定",+ "applyVariable": "应用变量",+ "noVariablesFound": "未找到变量",+ "addAutoLayout": "添加自动布局",+ "removeAutoLayout": "移除自动布局",+ "alignLeft": "左对齐",+ "alignCenterHorizontally": "水平居中",+ "alignRight": "右对齐",+ "alignTop": "顶部对齐",+ "alignCenterVertically": "垂直居中",+ "alignBottom": "底部对齐",+ "flipHorizontal": "水平翻转",+ "flipVertical": "垂直翻转",+ "rotate90": "旋转 90°",+ "mixedFillsHelp": "点击 + 替换混合填充",+ "mixedStrokesHelp": "点击 + 替换混合描边",+ "mixedEffectsHelp": "点击 + 替换混合效果",+ "strokeSides": "描边边",+ "mixed": "混合",+ "layersCount": "{count} 个图层",+ "goToMainComponent": "转到主组件",+ "detachInstance": "分离实例",+ "solid": "纯色",+ "linearGradient": "线性",+ "radialGradient": "径向",+ "image": "图片",+ "stops": "色标",+ "addStop": "添加色标",+ "alignCenter": "居中对齐",+ "alignMiddle": "垂直居中",+ "clipContent": "裁剪内容",+ "colorFormatRgb": "RGB",+ "colorFormatHsl": "HSL",+ "colorFormatHsb": "HSB",+ "colorFormatOkhcl": "OkHCL",+ "colorHintHsl": "H 色相 · S 饱和度 · L 亮度",+ "colorHintHsb": "H 色相 · S 饱和度 · B 明度",+ "colorHintOkhcl": "H 色相 · C 色度 · L 亮度 · A 透明度",+ "colorPreviewClipped": "已裁剪到 {space} 预览色域",+ "rulers": "标尺",+ "multiplayerCursors": "协作光标",+ "direction": "方向",+ "flow": "流向",+ "auto": "自动",+ "columns": "列",+ "rows": "行",+ "sizingFixed": "固定",+ "sizingHug": "适应内容",+ "sizingFill": "填充",+ "sizingHugShort": "适应",+ "sizingFillShort": "填充",+ "sizingFillFr": "填充 (fr)",+ "sizingFixedPx": "固定 (px)",+ "strokeAlignInside": "内部",+ "strokeAlignCenter": "居中",+ "strokeAlignOutside": "外部",+ "exportPreview": "预览",+ "exportRenderingPreview": "正在渲染预览…",+ "createVariable": "创建变量",+ "createColorVariable": "从 {value} 创建颜色变量",+ "variableName": "变量名称",+ "create": "创建",+ "createNumberVariable": "从 {value} 创建数字变量",+ "strokeDash": "虚线描边",+ "add": "添加",+ "variants": "变体",+ "gapAuto": "自动间距",+ "horizontalGap": "水平间距",+ "verticalGap": "垂直间距",+ "addMinWidth": "添加最小宽度",+ "removeMinWidth": "移除最小宽度",+ "addMaxWidth": "添加最大宽度",+ "removeMaxWidth": "移除最大宽度",+ "addMinHeight": "添加最小高度",+ "removeMinHeight": "移除最小高度",+ "addMaxHeight": "添加最大高度",+ "removeMaxHeight": "移除最大高度",+ "minWidthShort": "最小宽",+ "maxWidthShort": "最大宽",+ "minHeightShort": "最小高",+ "maxHeightShort": "最大高",+ "setToCurrentWidth": "设为当前宽度",+ "setToCurrentHeight": "设为当前高度",+ "searchLocalComponents": "搜索本地组件",+ "assetLibraryBadge": "库",+ "assetVariantSummary": "{count} 个变体 · {names}",+ "duplicateVariantValues": "重复的变体值",+ "openDocumentation": "打开文档",+ "noLocalComponents": "没有本地组件",+ "componentSet": "组件集",+ "component": "组件",+ "insertInstance": "插入实例",+ "description": "描述",+ "documentation": "文档",+ "openDocs": "打开文档",+ "properties": "属性",+ "removeFill": "移除填充",+ "removeStroke": "移除描边",+ "removeEffect": "移除效果",+ "removeExport": "移除导出",+ "effectSettings": "效果设置",+ "expandEffectSettings": "展开效果设置",+ "collapseEffectSettings": "收起效果设置",+ "toggleExportPreview": "切换导出预览",+ "untitled": "未命名",+ "nodeCopyString": " 副本",+ "xAxis": "X 轴",+ "yAxis": "Y 轴",+ "rotation": "旋转",+ "width": "宽度",+ "height": "高度",+ "opacity": "不透明度",+ "radius": "圆角",+ "spread": "扩展",+ "foregroundBlur": "前景模糊",+ "strokeType": "描边类型",+ "strokeWeight": "描边粗细",+ "exportScale": "导出缩放",+ "exportFormat": "导出格式",+ "gap": "间距",+ "searchFonts": "搜索字体..."+}diff --git a/packages/vue/src/i18n/locales/zh-cn/tools.json b/packages/vue/src/i18n/locales/zh-cn/tools.jsonnew file mode 100644index 000000000..87598e459--- /dev/null+++ b/packages/vue/src/i18n/locales/zh-cn/tools.json@@ -0,0 +1,13 @@+{+ "move": "移动",+ "frame": "画框",+ "section": "分区",+ "rectangle": "矩形",+ "ellipse": "椭圆",+ "line": "直线",+ "polygon": "多边形",+ "star": "星形",+ "pen": "钢笔",+ "text": "文本",+ "hand": "抓手"+}diff --git a/packages/vue/src/i18n/locales/zh-cn/variable-types.json b/packages/vue/src/i18n/locales/zh-cn/variable-types.jsonnew file mode 100644index 000000000..b572099d0--- /dev/null+++ b/packages/vue/src/i18n/locales/zh-cn/variable-types.json@@ -0,0 +1,10 @@+{+ "color": "颜色",+ "colorHint": "绘制值",+ "number": "数字",+ "numberHint": "尺寸、间距、不透明度",+ "text": "文本",+ "textHint": "文案和标签",+ "boolean": "布尔值",+ "booleanHint": "真或假"+}diff --git a/packages/vue/src/i18n/messages.ts b/packages/vue/src/i18n/messages.tsindex 98252163c..af2c2f325 100644--- a/packages/vue/src/i18n/messages.ts+++ b/packages/vue/src/i18n/messages.ts@@ -1,466 +1,28 @@-import { createI18n, params } from '@nanostores/i18n'-import type { ComponentsJSON } from '@nanostores/i18n'--import { locale } from '#vue/i18n/locale'-import type { Locale } from '#vue/i18n/locale'--const localeLoaders: Record<Exclude<Locale, 'en'>, () => Promise<{ default: ComponentsJSON }>> = {- de: () => import('#vue/locales/de.json'),- es: () => import('#vue/locales/es.json'),- fr: () => import('#vue/locales/fr.json'),- it: () => import('#vue/locales/it.json'),- ja: () => import('#vue/locales/ja.json'),- pl: () => import('#vue/locales/pl.json'),- ru: () => import('#vue/locales/ru.json'),- 'zh-CN': () => import('#vue/locales/zh-CN.json')-}--const i18n = createI18n<Locale, 'en'>(locale, {- baseLocale: 'en',- async get(code) {- if (code === 'en') return {}- const mod = await localeLoaders[code]()- return mod.default- }-})--export const menuMessages = i18n('menu', {- file: 'File',- edit: 'Edit',- view: 'View',- object: 'Object',- arrange: 'Arrange',- text: 'Text',-- new: 'New',- open: 'Open…',- save: 'Save',- saveAs: 'Save as…',- exportSelection: 'Export selection…',- autosave: 'Auto-save to local file',- closeTab: 'Close tab',-- copy: 'Copy',- paste: 'Paste',-- theme: 'Theme',- themeLight: 'Light',- themeDark: 'Dark',- themeAuto: 'Auto',- profiler: 'Performance profiler',- language: 'Language',- checkUpdates: 'Check for updates…',-- moveToPage: 'Move to page',- createInstance: 'Create instance',- hide: 'Hide',- show: 'Show',- lock: 'Lock',- unlock: 'Unlock',- cut: 'Cut',- front: 'Front',- back: 'Back',- toggleUI: 'Toggle UI',-- bold: 'Bold',- italic: 'Italic',- underline: 'Underline',- strikethrough: 'Strikethrough',-- pasteHere: 'Paste here',- pasteToReplace: 'Paste to replace',- 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',- 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'-})--export const commandMessages = i18n('commands', {- undo: 'Undo',- redo: 'Redo',- selectAll: 'Select all',- duplicate: 'Duplicate',- delete: 'Delete',- group: 'Group',- groupSelection: 'Group selection',- frameSelection: 'Frame selection',- ungroup: 'Ungroup',- createComponent: 'Create component',- createComponentSet: 'Create component set',- createInstance: 'Create instance',- detachInstance: 'Detach instance',- goToMainComponent: 'Go to main component',- addAutoLayout: 'Add auto layout',- bringToFront: 'Bring to front',- 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',- moveToPage: 'Move to page',- zoomTo100: 'Zoom to 100%',- zoomToFit: 'Zoom to fit',- zoomToSelection: 'Zoom to selection'-})--export const toolMessages = i18n('tools', {- move: 'Move',- frame: 'Frame',- section: 'Section',- rectangle: 'Rectangle',- ellipse: 'Ellipse',- line: 'Line',- polygon: 'Polygon',- star: 'Star',- pen: 'Pen',- text: 'Text',- hand: 'Hand'-})--export const panelMessages = i18n('panels', {- untitled: 'Untitled',- nodeCopyString: ' copy',- layers: 'Layers',- pages: 'Pages',- design: 'Design',- code: 'Code',- ai: 'AI',- assets: 'Assets',- searchLocalComponents: 'Search local components',- assetLibraryBadge: 'Library',- assetVariantSummary: params('{count} variants · {names}'),- duplicateVariantValues: 'Duplicate variant values',- openDocumentation: 'Open documentation',- noLocalComponents: 'No local components',- componentSet: 'Component set',- component: 'Component',- insertInstance: 'Insert instance',- description: 'Description',- documentation: 'Documentation',- openDocs: 'Open docs',- properties: 'Properties',-- xAxis: 'X Axis',- yAxis: 'Y Axis',- rotation: 'Rotation',- width: 'Width',- height: 'Height',- opacity: 'Opacity',- radius: 'Radius',- spread: 'Spread',-- page: 'Page',- position: 'Position',- layout: 'Layout',- autoLayout: 'Auto layout',- alignment: 'Alignment',- appearance: 'Appearance',- fill: 'Fill',- stroke: 'Stroke',- effects: 'Effects',- export: 'Export',- typography: 'Typography',- variables: 'Variables',- variants: 'Variants',- constraints: 'Constraints',-- addFill: 'Add fill',- addStroke: 'Add stroke',- addEffect: 'Add effect',- addExport: 'Add export',- removeFill: 'Remove fill',- removeStroke: 'Remove stroke',- removeEffect: 'Remove effect',- removeExport: 'Remove export',- effectSettings: 'Effect settings',- expandEffectSettings: 'Expand effect settings',- collapseEffectSettings: 'Collapse effect settings',- toggleExportPreview: 'Toggle export preview',-- dropShadow: 'Drop shadow',- innerShadow: 'Inner shadow',- layerBlur: 'Layer blur',- backgroundBlur: 'Background blur',- foregroundBlur: 'Foreground blur',-- strokeType: 'Stroke type',- strokeWeight: 'Stroke weight',-- noSelection: 'No selection',- noLocalVariables: 'No local variables',- openVariables: 'Open variables',- addPage: 'Add page',- toggleVisibility: 'Toggle visibility',- independentCornerRadii: 'Independent corner radii',- detachVariable: 'Detach variable',- applyVariable: 'Apply variable',- noVariablesFound: 'No variables found',- addAutoLayout: 'Add auto layout',- removeAutoLayout: 'Remove auto layout',- alignLeft: 'Align left',- alignCenterHorizontally: 'Align center horizontally',- alignRight: 'Align right',- alignTop: 'Align top',- alignCenterVertically: 'Align center vertically',- alignBottom: 'Align bottom',- flipHorizontal: 'Flip horizontal',- flipVertical: 'Flip vertical',- rotate90: 'Rotate 90°',- mixedFillsHelp: 'Click + to replace mixed fills',- mixedStrokesHelp: 'Click + to replace mixed strokes',- mixedEffectsHelp: 'Click + to replace mixed effects',- strokeSides: 'Stroke sides',- strokeDash: 'Dashed stroke',- strokeAlignInside: 'Inside',- strokeAlignCenter: 'Center',- strokeAlignOutside: 'Outside',- exportScale: 'Export scale',- exportFormat: 'Export format',- exportPreview: 'Preview',- exportRenderingPreview: 'Rendering preview…',- create: 'Create',- add: 'Add',- createVariable: 'Create variable',- createColorVariable: params('Create color variable from {value}'),- createNumberVariable: params('Create number variable from {value}'),- variableName: 'Variable name',- mixed: 'Mixed',- layersCount: params('{count} layers'),- goToMainComponent: 'Go to Main Component',- detachInstance: 'Detach Instance',-- gap: 'Gap',-- solid: 'Solid',- linearGradient: 'Linear',- radialGradient: 'Radial',- image: 'Image',- stops: 'Stops',- addStop: 'Add stop',-- alignCenter: 'Align center',- alignMiddle: 'Align middle',- clipContent: 'Clip content',- colorFormatRgb: 'RGB',- colorFormatHsl: 'HSL',- colorFormatHsb: 'HSB',- colorFormatOkhcl: 'OkHCL',- colorHintHsl: 'H hue · S saturation · L lightness',- colorHintHsb: 'H hue · S saturation · B brightness',- colorHintOkhcl: 'H hue · C chroma · L lightness · A alpha',- colorPreviewClipped: params('Clipped to {space} preview gamut'),- rulers: 'Rulers',- multiplayerCursors: 'Multiplayer cursors',- direction: 'Direction',- flow: 'Flow',- gapAuto: 'Auto gap',- horizontalGap: 'Horizontal gap',- verticalGap: 'Vertical gap',- auto: 'Auto',- columns: 'Columns',- rows: 'Rows',- sizingFixed: 'Fixed',- sizingHug: 'Hug',- sizingFill: 'Fill',- sizingHugShort: 'Hug',- sizingFillShort: 'Fill',- addMinWidth: 'Add min width',- removeMinWidth: 'Remove min width',- addMaxWidth: 'Add max width',- removeMaxWidth: 'Remove max width',- addMinHeight: 'Add min height',- removeMinHeight: 'Remove min height',- addMaxHeight: 'Add max height',- removeMaxHeight: 'Remove max height',- minWidthShort: 'Min W',- maxWidthShort: 'Max W',- minHeightShort: 'Min H',- maxHeightShort: 'Max H',- setToCurrentWidth: 'Set to current width',- setToCurrentHeight: 'Set to current height',- sizingFillFr: 'Fill (fr)',- sizingFixedPx: 'Fixed (px)',- searchFonts: 'Search fonts...'-})--export const variableTypeMessages = i18n('variableTypes', {- color: 'Color',- colorHint: 'Paint values',- number: 'Number',- numberHint: 'Sizes, spacing, opacity',- text: 'Text',- textHint: 'Copy and labels',- boolean: 'Boolean',- booleanHint: 'True or false'-})--export const pageMessages = i18n('pages', {- newPage: 'New page',- rename: 'Rename',- delete: 'Delete',- pageName: params('Page {number}')-})--export const dialogMessages = i18n('dialogs', {- cancel: 'Cancel',- apply: 'Apply',- close: 'Close',- ok: 'OK',- copy: 'Copy',- copied: 'Copied',- copiedExclamation: 'Copied!',- copyMessage: 'Copy message',- createCollection: 'Create collection',- renameCollection: 'Rename collection',- deleteCollection: 'Delete collection',- localVariables: 'Local variables',- noVariableCollections: 'No variable collections',- modes: 'Modes',- addMode: 'Add mode',- renameMode: 'Rename mode',- duplicateMode: 'Duplicate mode',- deleteMode: 'Delete mode',- setDefaultMode: 'Set as default',- selectLayerForJSX: 'Select a layer to see its JSX code',- copyJSXReference: 'Copy JSX prop reference to clipboard',- newTab: 'New tab',- closeTab: params('Close {name}'),- showUI: params('Show UI ({shortcut})'),- fontSettings: 'Font settings',- fontSettingsDesktopDescription:- 'Access system fonts, online providers, fallback packs, and cached downloads.',- fontSettingsBrowserDescription:- 'Allow browser access to local fonts and manage online font providers.',- localFonts: 'Local fonts',- onlineFonts: 'Online fonts',- downloadedCache: 'Downloaded cache',- lastUpdated: 'Last updated',- enabled: 'Enabled',- disabled: 'Disabled',- denied: 'Denied',- unavailable: 'Unavailable',- notRequested: 'Not requested',- never: 'Never',- systemFontAccess: 'System font access',- systemFontsAvailable: 'System fonts are available.',- allowBrowserFontAccess: 'Allow browser font access when system fonts are missing.',- allow: 'Allow',- requesting: 'Requesting…',- onlineFontProviders: 'Online font providers',- downloadMissingWebFonts: 'Download missing web fonts through enabled providers.',- webFontProvidersRequireDesktopApp:- 'Online font provider catalogs are unavailable in the web app. Download the desktop app to browse and load provider fonts.',- enable: 'Enable',- disable: 'Disable',- fallbackPacks: 'Fallback packs',- downloadFallbackPacksDescription:- 'Download CJK and Arabic fallbacks before opening files that need them.',- download: 'Download',- downloading: 'Downloading…',- refresh: 'Refresh',- clearCache: 'Clear cache',- localFontAccessEnabled: 'Local font access enabled.',- localFontAccessNotGranted: 'Local font access was not granted.',- onlineFontProvidersEnabled: 'Online font providers enabled.',- onlineFontProvidersDisabled: 'Online font providers disabled.',- fontProviderEnabled: params('Enabled {provider}.'),- fontProviderDisabled: params('Disabled {provider}.'),- fallbackFontsDownloaded: 'Fallback fonts downloaded.',- fallbackFontsDownloadFailed: 'Could not download fallback fonts.',- downloadedFontCacheCleared: 'Downloaded font cache cleared.',- downloadedFontCacheClearFailed: 'Could not clear downloaded font cache.',- you: 'You',- youSuffix: 'you',- followingPeerStop: params('Following {name} (click to stop)'),- clickToFollowPeer: params('Click to follow {name}'),- connectAIProvider: 'Connect an AI provider to start chatting.',- connect: 'Connect',- testConnection: 'Test connection',- testingConnection: 'Testing…',- connectionTestSuccess: 'Connected successfully. Model is reachable.',- connectionTestMissingAPIKey: 'Enter an API key before testing.',- connectionTestMissingBaseURL: 'Enter a base URL before testing.',- connectionTestMissingModel: 'Enter a model ID before testing.',- connectionTestInvalidBaseURL:- 'Base URL is invalid. Use a full URL like https://api.example.com/v1.',- connectionTestAuthFailed: 'Authentication failed. Check your API key.',- connectionTestModelNotFound: 'Model not found. Check the model ID.',- connectionTestAPITypeMismatch:- 'This endpoint does not appear to support the selected API type. Try Completions or Responses.',- connectionTestBrowserNetworkFailed:- 'Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.',- connectionTestNetworkFailed:- 'Could not reach the endpoint. Check the URL and your network connection.',- connectionTestUnknownFailed: 'Connection test failed. Check the provider settings and try again.',- getAPIKey: params('Get an {provider} API key →'),- oneKeyManyModels: 'One key for 100+ models from all providers.',- describeChange: 'Describe a change…',- describeCreateOrChange: 'Describe what you want to create or change.',- stopGenerating: 'Stop generating',- sendMessage: 'Send message',- baseURLPlaceholder: 'Base URL (e.g. http://localhost:11434/v1)',- modelIDPlaceholder: 'Model ID (e.g. llama-3.3-70b)',- aiProvider: 'AI Provider',- providerSettings: 'Provider settings',- done: 'Done',- apiKey: 'API Key',- apiType: 'API Type',- baseURL: 'Base URL',- modelID: 'Model ID',- maxOutputTokens: 'Max output tokens',- clear: 'Clear',- keySavedReplace: 'Key saved — enter new to replace',- getAPIKeyGeneric: 'Get API key →',- pexelsAPIKey: 'Pexels API Key (stock photos)',- unsplashAccessKey: 'Unsplash Access Key',- stockPhotoToolOptional: 'Optional — for stock_photo tool',- pexelsAlternativeOptional: 'Optional — alternative to Pexels',- getPexelsAPIKey: 'Get free Pexels API key →',- getUnsplashAccessKey: 'Get free Unsplash access key →',- completions: 'Completions',- responses: 'Responses',- yourName: 'Your name',- enterYourName: 'Enter your name',- shareThisFile: 'Share this file',- joinRoom: 'Join room',- join: 'Join',- roomLink: 'Room link',- joinCollaboration: 'Join collaboration',- orJoinRoom: 'or join a room',- pasteRoomLinkOrId: 'Paste room link or ID',- connected: 'Connected',- search: 'Search…',- noResults: 'No results',- share: 'Share',- appUpToDate: 'OpenPencil is up to date',- updateAvailableTitle: 'Update OpenPencil',- updateAvailable: params('OpenPencil {version} is available.'),- updateInstallPrompt:- 'Download and install it now? The app will restart after the update is installed.',- downloadingUpdate: params('Downloading OpenPencil {version}'),- updateInstalledTitle: 'Update installed',- updateInstalled: params('OpenPencil {version} was installed{size}. Restarting now.'),- updateUnavailable:- 'Updates are not available yet. Publish a signed release with latest.json first.',- updateCheckFailed: params('Could not check for updates: {error}')-})+import { commandMessageDefaults } from '#vue/i18n/messages/commands'+import { dialogMessageDefaults } from '#vue/i18n/messages/dialogs'+import { menuMessageDefaults } from '#vue/i18n/messages/menu'+import { pageMessageDefaults } from '#vue/i18n/messages/pages'+import { panelMessageDefaults } from '#vue/i18n/messages/panels'+import { toolMessageDefaults } from '#vue/i18n/messages/tools'+import { variableTypeMessageDefaults } from '#vue/i18n/messages/variable-types'++export { menuMessages, menuMessageDefaults } from '#vue/i18n/messages/menu'+export { commandMessages, commandMessageDefaults } from '#vue/i18n/messages/commands'+export { toolMessages, toolMessageDefaults } from '#vue/i18n/messages/tools'+export { panelMessages, panelMessageDefaults } from '#vue/i18n/messages/panels'+export {+ variableTypeMessages,+ variableTypeMessageDefaults+} from '#vue/i18n/messages/variable-types'+export { pageMessages, pageMessageDefaults } from '#vue/i18n/messages/pages'+export { dialogMessages, dialogMessageDefaults } from '#vue/i18n/messages/dialogs'++export const messageDefaults = {+ menu: menuMessageDefaults,+ commands: commandMessageDefaults,+ tools: toolMessageDefaults,+ panels: panelMessageDefaults,+ variableTypes: variableTypeMessageDefaults,+ pages: pageMessageDefaults,+ dialogs: dialogMessageDefaults+} as constdiff --git a/packages/vue/src/i18n/messages/commands.ts b/packages/vue/src/i18n/messages/commands.tsnew file mode 100644index 000000000..00721be53--- /dev/null+++ b/packages/vue/src/i18n/messages/commands.ts@@ -0,0 +1,39 @@+import { i18n } from '#vue/i18n/create'++export const commandMessageDefaults = {+ undo: 'Undo',+ redo: 'Redo',+ selectAll: 'Select all',+ duplicate: 'Duplicate',+ delete: 'Delete',+ group: 'Group',+ groupSelection: 'Group selection',+ frameSelection: 'Frame selection',+ ungroup: 'Ungroup',+ createComponent: 'Create component',+ createComponentSet: 'Create component set',+ createInstance: 'Create instance',+ detachInstance: 'Detach instance',+ goToMainComponent: 'Go to main component',+ addAutoLayout: 'Add auto layout',+ bringToFront: 'Bring to front',+ 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',+ moveToPage: 'Move to page',+ zoomTo100: 'Zoom to 100%',+ zoomToFit: 'Zoom to fit',+ zoomToSelection: 'Zoom to selection'+} as const++export const commandMessages = i18n('commands', commandMessageDefaults)diff --git a/packages/vue/src/i18n/messages/dialogs.ts b/packages/vue/src/i18n/messages/dialogs.tsnew file mode 100644index 000000000..70be5d902--- /dev/null+++ b/packages/vue/src/i18n/messages/dialogs.ts@@ -0,0 +1,149 @@+import { params } from '@nanostores/i18n'++import { i18n } from '#vue/i18n/create'++export const dialogMessageDefaults = {+ cancel: 'Cancel',+ apply: 'Apply',+ close: 'Close',+ ok: 'OK',+ copy: 'Copy',+ copied: 'Copied',+ copiedExclamation: 'Copied!',+ copyMessage: 'Copy message',+ createCollection: 'Create collection',+ renameCollection: 'Rename collection',+ deleteCollection: 'Delete collection',+ localVariables: 'Local variables',+ noVariableCollections: 'No variable collections',+ modes: 'Modes',+ addMode: 'Add mode',+ renameMode: 'Rename mode',+ duplicateMode: 'Duplicate mode',+ deleteMode: 'Delete mode',+ setDefaultMode: 'Set as default',+ selectLayerForJSX: 'Select a layer to see its JSX code',+ copyJSXReference: 'Copy JSX prop reference to clipboard',+ newTab: 'New tab',+ closeTab: params('Close {name}'),+ showUI: params('Show UI ({shortcut})'),+ fontSettings: 'Font settings',+ fontSettingsDesktopDescription:+ 'Access system fonts, online providers, fallback packs, and cached downloads.',+ fontSettingsBrowserDescription:+ 'Allow browser access to local fonts and manage online font providers.',+ localFonts: 'Local fonts',+ onlineFonts: 'Online fonts',+ downloadedCache: 'Downloaded cache',+ lastUpdated: 'Last updated',+ enabled: 'Enabled',+ disabled: 'Disabled',+ denied: 'Denied',+ unavailable: 'Unavailable',+ notRequested: 'Not requested',+ never: 'Never',+ systemFontAccess: 'System font access',+ systemFontsAvailable: 'System fonts are available.',+ allowBrowserFontAccess: 'Allow browser font access when system fonts are missing.',+ allow: 'Allow',+ requesting: 'Requesting…',+ onlineFontProviders: 'Online font providers',+ downloadMissingWebFonts: 'Download missing web fonts through enabled providers.',+ webFontProvidersRequireDesktopApp:+ 'Online font provider catalogs are unavailable in the web app. Download the desktop app to browse and load provider fonts.',+ enable: 'Enable',+ disable: 'Disable',+ fallbackPacks: 'Fallback packs',+ downloadFallbackPacksDescription:+ 'Download CJK and Arabic fallbacks before opening files that need them.',+ download: 'Download',+ downloading: 'Downloading…',+ refresh: 'Refresh',+ clearCache: 'Clear cache',+ localFontAccessEnabled: 'Local font access enabled.',+ localFontAccessNotGranted: 'Local font access was not granted.',+ onlineFontProvidersEnabled: 'Online font providers enabled.',+ onlineFontProvidersDisabled: 'Online font providers disabled.',+ fontProviderEnabled: params('Enabled {provider}.'),+ fontProviderDisabled: params('Disabled {provider}.'),+ fallbackFontsDownloaded: 'Fallback fonts downloaded.',+ fallbackFontsDownloadFailed: 'Could not download fallback fonts.',+ downloadedFontCacheCleared: 'Downloaded font cache cleared.',+ downloadedFontCacheClearFailed: 'Could not clear downloaded font cache.',+ you: 'You',+ youSuffix: 'you',+ followingPeerStop: params('Following {name} (click to stop)'),+ clickToFollowPeer: params('Click to follow {name}'),+ connectAIProvider: 'Connect an AI provider to start chatting.',+ connect: 'Connect',+ testConnection: 'Test connection',+ testingConnection: 'Testing…',+ connectionTestSuccess: 'Connected successfully. Model is reachable.',+ connectionTestMissingAPIKey: 'Enter an API key before testing.',+ connectionTestMissingBaseURL: 'Enter a base URL before testing.',+ connectionTestMissingModel: 'Enter a model ID before testing.',+ connectionTestInvalidBaseURL:+ 'Base URL is invalid. Use a full URL like https://api.example.com/v1.',+ connectionTestAuthFailed: 'Authentication failed. Check your API key.',+ connectionTestModelNotFound: 'Model not found. Check the model ID.',+ connectionTestAPITypeMismatch:+ 'This endpoint does not appear to support the selected API type. Try Completions or Responses.',+ connectionTestBrowserNetworkFailed:+ 'Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.',+ connectionTestNetworkFailed:+ 'Could not reach the endpoint. Check the URL and your network connection.',+ connectionTestUnknownFailed: 'Connection test failed. Check the provider settings and try again.',+ getAPIKey: params('Get an {provider} API key →'),+ oneKeyManyModels: 'One key for 100+ models from all providers.',+ describeChange: 'Describe a change…',+ describeCreateOrChange: 'Describe what you want to create or change.',+ stopGenerating: 'Stop generating',+ sendMessage: 'Send message',+ baseURLPlaceholder: 'Base URL (e.g. http://localhost:11434/v1)',+ modelIDPlaceholder: 'Model ID (e.g. llama-3.3-70b)',+ aiProvider: 'AI Provider',+ providerSettings: 'Provider settings',+ done: 'Done',+ apiKey: 'API Key',+ apiType: 'API Type',+ baseURL: 'Base URL',+ modelID: 'Model ID',+ maxOutputTokens: 'Max output tokens',+ clear: 'Clear',+ keySavedReplace: 'Key saved — enter new to replace',+ getAPIKeyGeneric: 'Get API key →',+ pexelsAPIKey: 'Pexels API Key (stock photos)',+ unsplashAccessKey: 'Unsplash Access Key',+ stockPhotoToolOptional: 'Optional — for stock_photo tool',+ pexelsAlternativeOptional: 'Optional — alternative to Pexels',+ getPexelsAPIKey: 'Get free Pexels API key →',+ getUnsplashAccessKey: 'Get free Unsplash access key →',+ completions: 'Completions',+ responses: 'Responses',+ yourName: 'Your name',+ enterYourName: 'Enter your name',+ shareThisFile: 'Share this file',+ joinRoom: 'Join room',+ join: 'Join',+ roomLink: 'Room link',+ joinCollaboration: 'Join collaboration',+ orJoinRoom: 'or join a room',+ pasteRoomLinkOrId: 'Paste room link or ID',+ connected: 'Connected',+ search: 'Search…',+ noResults: 'No results',+ share: 'Share',+ appUpToDate: 'OpenPencil is up to date',+ updateAvailableTitle: 'Update OpenPencil',+ updateAvailable: params('OpenPencil {version} is available.'),+ updateInstallPrompt:+ 'Download and install it now? The app will restart after the update is installed.',+ downloadingUpdate: params('Downloading OpenPencil {version}'),+ updateInstalledTitle: 'Update installed',+ updateInstalled: params('OpenPencil {version} was installed{size}. Restarting now.'),+ updateUnavailable:+ 'Updates are not available yet. Publish a signed release with latest.json first.',+ updateCheckFailed: params('Could not check for updates: {error}')+} as const++export const dialogMessages = i18n('dialogs', dialogMessageDefaults)diff --git a/packages/vue/src/i18n/messages/menu.ts b/packages/vue/src/i18n/messages/menu.tsnew file mode 100644index 000000000..63913b8a3--- /dev/null+++ b/packages/vue/src/i18n/messages/menu.ts@@ -0,0 +1,66 @@+import { i18n } from '#vue/i18n/create'++export const menuMessageDefaults = {+ file: 'File',+ edit: 'Edit',+ view: 'View',+ object: 'Object',+ arrange: 'Arrange',+ text: 'Text',++ new: 'New',+ open: 'Open…',+ save: 'Save',+ saveAs: 'Save as…',+ exportSelection: 'Export selection…',+ autosave: 'Auto-save to local file',+ closeTab: 'Close tab',++ copy: 'Copy',+ paste: 'Paste',++ theme: 'Theme',+ themeLight: 'Light',+ themeDark: 'Dark',+ themeAuto: 'Auto',+ profiler: 'Performance profiler',+ language: 'Language',+ checkUpdates: 'Check for updates…',++ moveToPage: 'Move to page',+ createInstance: 'Create instance',+ hide: 'Hide',+ show: 'Show',+ lock: 'Lock',+ unlock: 'Unlock',+ cut: 'Cut',+ front: 'Front',+ back: 'Back',+ toggleUI: 'Toggle UI',++ bold: 'Bold',+ italic: 'Italic',+ underline: 'Underline',+ strikethrough: 'Strikethrough',++ pasteHere: 'Paste here',+ pasteToReplace: 'Paste to replace',+ 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',+ 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'+} as const++export const menuMessages = i18n('menu', menuMessageDefaults)diff --git a/packages/vue/src/i18n/messages/pages.ts b/packages/vue/src/i18n/messages/pages.tsnew file mode 100644index 000000000..052cd2ffc--- /dev/null+++ b/packages/vue/src/i18n/messages/pages.ts@@ -0,0 +1,12 @@+import { params } from '@nanostores/i18n'++import { i18n } from '#vue/i18n/create'++export const pageMessageDefaults = {+ newPage: 'New page',+ rename: 'Rename',+ delete: 'Delete',+ pageName: params('Page {number}')+} as const++export const pageMessages = i18n('pages', pageMessageDefaults)diff --git a/packages/vue/src/i18n/messages/panels.ts b/packages/vue/src/i18n/messages/panels.tsnew file mode 100644index 000000000..a950edfe3--- /dev/null+++ b/packages/vue/src/i18n/messages/panels.ts@@ -0,0 +1,171 @@+import { params } from '@nanostores/i18n'++import { i18n } from '#vue/i18n/create'++export const panelMessageDefaults = {+ untitled: 'Untitled',+ nodeCopyString: ' copy',+ layers: 'Layers',+ pages: 'Pages',+ design: 'Design',+ code: 'Code',+ ai: 'AI',+ assets: 'Assets',+ searchLocalComponents: 'Search local components',+ assetLibraryBadge: 'Library',+ assetVariantSummary: params('{count} variants · {names}'),+ duplicateVariantValues: 'Duplicate variant values',+ openDocumentation: 'Open documentation',+ noLocalComponents: 'No local components',+ componentSet: 'Component set',+ component: 'Component',+ insertInstance: 'Insert instance',+ description: 'Description',+ documentation: 'Documentation',+ openDocs: 'Open docs',+ properties: 'Properties',++ xAxis: 'X Axis',+ yAxis: 'Y Axis',+ rotation: 'Rotation',+ width: 'Width',+ height: 'Height',+ opacity: 'Opacity',+ radius: 'Radius',+ spread: 'Spread',++ page: 'Page',+ position: 'Position',+ layout: 'Layout',+ autoLayout: 'Auto layout',+ alignment: 'Alignment',+ appearance: 'Appearance',+ fill: 'Fill',+ stroke: 'Stroke',+ effects: 'Effects',+ export: 'Export',+ typography: 'Typography',+ variables: 'Variables',+ variants: 'Variants',+ constraints: 'Constraints',++ addFill: 'Add fill',+ addStroke: 'Add stroke',+ addEffect: 'Add effect',+ addExport: 'Add export',+ removeFill: 'Remove fill',+ removeStroke: 'Remove stroke',+ removeEffect: 'Remove effect',+ removeExport: 'Remove export',+ effectSettings: 'Effect settings',+ expandEffectSettings: 'Expand effect settings',+ collapseEffectSettings: 'Collapse effect settings',+ toggleExportPreview: 'Toggle export preview',++ dropShadow: 'Drop shadow',+ innerShadow: 'Inner shadow',+ layerBlur: 'Layer blur',+ backgroundBlur: 'Background blur',+ foregroundBlur: 'Foreground blur',++ strokeType: 'Stroke type',+ strokeWeight: 'Stroke weight',++ noSelection: 'No selection',+ noLocalVariables: 'No local variables',+ openVariables: 'Open variables',+ addPage: 'Add page',+ toggleVisibility: 'Toggle visibility',+ independentCornerRadii: 'Independent corner radii',+ detachVariable: 'Detach variable',+ applyVariable: 'Apply variable',+ noVariablesFound: 'No variables found',+ addAutoLayout: 'Add auto layout',+ removeAutoLayout: 'Remove auto layout',+ alignLeft: 'Align left',+ alignCenterHorizontally: 'Align center horizontally',+ alignRight: 'Align right',+ alignTop: 'Align top',+ alignCenterVertically: 'Align center vertically',+ alignBottom: 'Align bottom',+ flipHorizontal: 'Flip horizontal',+ flipVertical: 'Flip vertical',+ rotate90: 'Rotate 90°',+ mixedFillsHelp: 'Click + to replace mixed fills',+ mixedStrokesHelp: 'Click + to replace mixed strokes',+ mixedEffectsHelp: 'Click + to replace mixed effects',+ strokeSides: 'Stroke sides',+ strokeDash: 'Dashed stroke',+ strokeAlignInside: 'Inside',+ strokeAlignCenter: 'Center',+ strokeAlignOutside: 'Outside',+ exportScale: 'Export scale',+ exportFormat: 'Export format',+ exportPreview: 'Preview',+ exportRenderingPreview: 'Rendering preview…',+ create: 'Create',+ add: 'Add',+ createVariable: 'Create variable',+ createColorVariable: params('Create color variable from {value}'),+ createNumberVariable: params('Create number variable from {value}'),+ variableName: 'Variable name',+ mixed: 'Mixed',+ layersCount: params('{count} layers'),+ goToMainComponent: 'Go to Main Component',+ detachInstance: 'Detach Instance',++ gap: 'Gap',++ solid: 'Solid',+ linearGradient: 'Linear',+ radialGradient: 'Radial',+ image: 'Image',+ stops: 'Stops',+ addStop: 'Add stop',++ alignCenter: 'Align center',+ alignMiddle: 'Align middle',+ clipContent: 'Clip content',+ colorFormatRgb: 'RGB',+ colorFormatHsl: 'HSL',+ colorFormatHsb: 'HSB',+ colorFormatOkhcl: 'OkHCL',+ colorHintHsl: 'H hue · S saturation · L lightness',+ colorHintHsb: 'H hue · S saturation · B brightness',+ colorHintOkhcl: 'H hue · C chroma · L lightness · A alpha',+ colorPreviewClipped: params('Clipped to {space} preview gamut'),+ rulers: 'Rulers',+ multiplayerCursors: 'Multiplayer cursors',+ direction: 'Direction',+ flow: 'Flow',+ gapAuto: 'Auto gap',+ horizontalGap: 'Horizontal gap',+ verticalGap: 'Vertical gap',+ auto: 'Auto',+ columns: 'Columns',+ rows: 'Rows',+ sizingFixed: 'Fixed',+ sizingHug: 'Hug',+ sizingFill: 'Fill',+ sizingHugShort: 'Hug',+ sizingFillShort: 'Fill',+ addMinWidth: 'Add min width',+ removeMinWidth: 'Remove min width',+ addMaxWidth: 'Add max width',+ removeMaxWidth: 'Remove max width',+ addMinHeight: 'Add min height',+ removeMinHeight: 'Remove min height',+ addMaxHeight: 'Add max height',+ removeMaxHeight: 'Remove max height',+ minWidthShort: 'Min W',+ maxWidthShort: 'Max W',+ minHeightShort: 'Min H',+ maxHeightShort: 'Max H',+ setToCurrentWidth: 'Set to current width',+ setToCurrentHeight: 'Set to current height',+ sizingFillFr: 'Fill (fr)',+ sizingFixedPx: 'Fixed (px)',+ searchFonts: 'Search fonts...'+} as const++export const panelMessages = i18n('panels', panelMessageDefaults)diff --git a/packages/vue/src/i18n/messages/tools.ts b/packages/vue/src/i18n/messages/tools.tsnew file mode 100644index 000000000..cf5a011cd--- /dev/null+++ b/packages/vue/src/i18n/messages/tools.ts@@ -0,0 +1,17 @@+import { i18n } from '#vue/i18n/create'++export const toolMessageDefaults = {+ move: 'Move',+ frame: 'Frame',+ section: 'Section',+ rectangle: 'Rectangle',+ ellipse: 'Ellipse',+ line: 'Line',+ polygon: 'Polygon',+ star: 'Star',+ pen: 'Pen',+ text: 'Text',+ hand: 'Hand'+} as const++export const toolMessages = i18n('tools', toolMessageDefaults)diff --git a/packages/vue/src/i18n/messages/variable-types.ts b/packages/vue/src/i18n/messages/variable-types.tsnew file mode 100644index 000000000..5aca2bd2c--- /dev/null+++ b/packages/vue/src/i18n/messages/variable-types.ts@@ -0,0 +1,14 @@+import { i18n } from '#vue/i18n/create'++export const variableTypeMessageDefaults = {+ color: 'Color',+ colorHint: 'Paint values',+ number: 'Number',+ numberHint: 'Sizes, spacing, opacity',+ text: 'Text',+ textHint: 'Copy and labels',+ boolean: 'Boolean',+ booleanHint: 'True or false'+} as const++export const variableTypeMessages = i18n('variableTypes', variableTypeMessageDefaults)diff --git a/packages/vue/src/i18n/useI18n.ts b/packages/vue/src/i18n/useI18n.tsindex 62f843822..ccff6afff 100644--- a/packages/vue/src/i18n/useI18n.ts+++ b/packages/vue/src/i18n/useI18n.ts@@ -1,4 +1,5 @@import { useStore } from '@nanostores/vue'+import type { Store, StoreValue } from 'nanostores'import type { Ref } from 'vue'import { locale, setLocale, AVAILABLE_LOCALES, LOCALE_LABELS } from '#vue/i18n/locale'@@ -31,15 +32,47 @@ import {* </template>* ```*/+export function useI18nNamespace<MessagesStore extends Store>(messages: MessagesStore) {+ return useStore(messages) as Ref<StoreValue<MessagesStore>>+}++export function useMenuMessages() {+ return useI18nNamespace(menuMessages)+}++export function useCommandMessages() {+ return useI18nNamespace(commandMessages)+}++export function useToolMessages() {+ return useI18nNamespace(toolMessages)+}++export function usePanelMessages() {+ return useI18nNamespace(panelMessages)+}++export function useVariableTypeMessages() {+ return useI18nNamespace(variableTypeMessages)+}++export function usePageMessages() {+ return useI18nNamespace(pageMessages)+}++export function useDialogMessages() {+ return useI18nNamespace(dialogMessages)+}+export function useI18n() {return {- menu: useStore(menuMessages),- commands: useStore(commandMessages),- tools: useStore(toolMessages),- panels: useStore(panelMessages),- variableTypes: useStore(variableTypeMessages),- pages: useStore(pageMessages),- dialogs: useStore(dialogMessages),+ menu: useMenuMessages(),+ commands: useCommandMessages(),+ tools: useToolMessages(),+ panels: usePanelMessages(),+ variableTypes: useVariableTypeMessages(),+ pages: usePageMessages(),+ dialogs: useDialogMessages(),locale: useStore(locale) as Ref<Locale>,availableLocales: AVAILABLE_LOCALES,localeLabels: LOCALE_LABELS,diff --git a/packages/vue/src/index.ts b/packages/vue/src/index.tsindex a73190412..7179f961c 100644--- a/packages/vue/src/index.ts+++ b/packages/vue/src/index.ts@@ -150,14 +150,35 @@ export type { ToolbarContext } from '#vue/primitives/Toolbar'export { blurTarget, inputNumberValue, inputValue, selectTarget } from '#vue/shared/dom-events'/** Internationalization. */-export { useI18n } from '#vue/i18n'-export { locale, localeSetting, setLocale, AVAILABLE_LOCALES, LOCALE_LABELS } from '#vue/i18n'-export type { Locale } from '#vue/i18n'+export {+ useI18n,+ useI18nNamespace,+ useMenuMessages,+ useCommandMessages,+ useToolMessages,+ usePanelMessages,+ useVariableTypeMessages,+ usePageMessages,+ useDialogMessages,+ i18n+} from '#vue/i18n'+export {+ locale,+ localeSetting,+ setLocale,+ AVAILABLE_LOCALES,+ TRANSLATED_LOCALES,+ LOCALE_DIR_NAMES,+ LOCALE_LABELS+} from '#vue/i18n'+export type { Locale, TranslatedLocale } from '#vue/i18n'export {menuMessages,commandMessages,toolMessages,panelMessages,+ variableTypeMessages,pageMessages,- dialogMessages+ dialogMessages,+ messageDefaults} from '#vue/i18n'diff --git a/packages/vue/src/locales/de.json b/packages/vue/src/locales/de.jsondeleted file mode 100644index 5f980634c..000000000--- a/packages/vue/src/locales/de.json+++ /dev/null@@ -1,411 +0,0 @@-{- "menu": {- "file": "Datei",- "edit": "Bearbeiten",- "view": "Ansicht",- "object": "Objekt",- "arrange": "Anordnen",- "text": "Text",- "new": "Neu",- "open": "Öffnen…",- "save": "Speichern",- "saveAs": "Speichern unter…",- "exportSelection": "Auswahl exportieren…",- "autosave": "Automatisch in Datei speichern",- "copy": "Kopieren",- "paste": "Einfügen",- "zoomIn": "Vergrößern",- "zoomOut": "Verkleinern",- "profiler": "Leistungsprofil",- "theme": "Thema",- "themeLight": "Hell",- "themeDark": "Dunkel",- "themeAuto": "Automatisch",- "language": "Sprache",- "moveToPage": "Auf Seite verschieben",- "createInstance": "Instanz erstellen",- "hide": "Ausblenden",- "show": "Einblenden",- "lock": "Sperren",- "unlock": "Entsperren",- "cut": "Ausschneiden",- "front": "Nach vorn",- "back": "Nach hinten",- "toggleUI": "UI umschalten",- "bold": "Fett",- "italic": "Kursiv",- "underline": "Unterstrichen",- "pasteHere": "Hier einfügen",- "pasteToReplace": "Zum Ersetzen einfügen",- "copyPasteAs": "Kopieren/Einfügen als",- "copyAsText": "Als Text kopieren",- "copyAsSVG": "Als SVG kopieren",- "copyAsPNG": "Als PNG kopieren",- "copyAsJSX": "Als JSX kopieren",- "copyNodeId": "Knoten-ID kopieren",- "copyXPath": "XPath kopieren",- "checkUpdates": "Nach Updates suchen…",- "booleanOperations": "Boolesche Operationen",- "strikethrough": "Durchstreichen",- "closeTab": "Tab schließen",- "arrangeAlignLeft": "Links ausrichten",- "arrangeAlignCenter": "Zentrieren",- "arrangeAlignRight": "Rechts ausrichten",- "arrangeAlignTop": "Oben ausrichten",- "arrangeAlignMiddle": "Mittig ausrichten",- "arrangeAlignBottom": "Unten ausrichten"- },- "commands": {- "undo": "Rückgängig",- "redo": "Wiederholen",- "selectAll": "Alles auswählen",- "duplicate": "Duplizieren",- "delete": "Löschen",- "group": "Gruppieren",- "ungroup": "Gruppierung aufheben",- "createComponent": "Komponente erstellen",- "createComponentSet": "Komponentensatz erstellen",- "createInstance": "Instanz erstellen",- "detachInstance": "Instanz lösen",- "goToMainComponent": "Zur Hauptkomponente",- "addAutoLayout": "Auto-Layout hinzufügen",- "bringToFront": "In den Vordergrund",- "sendToBack": "In den Hintergrund",- "moveToPage": "Auf Seite verschieben",- "zoomTo100": "Zoom 100 %",- "zoomToFit": "Einpassen",- "zoomToSelection": "Auswahl einpassen",- "groupSelection": "Gruppieren",- "frameSelection": "Auswahl in Rahmen setzen",- "showHide": "Ein-/Ausblenden",- "lockUnlock": "Sperren/Entsperren",- "unionSelection": "Auswahl vereinen",- "subtractSelection": "Auswahl subtrahieren",- "intersectSelection": "Auswahl schneiden",- "excludeSelection": "Auswahl ausschließen",- "booleanOperations": "Boolesche Operationen",- "flipHorizontal": "Horizontal spiegeln",- "flipVertical": "Vertikal spiegeln",- "flattenSelection": "Abflachen",- "outlineText": "Text in Pfade umwandeln",- "outlineStroke": "Kontur in Pfad umwandeln"- },- "tools": {- "move": "Verschieben",- "frame": "Rahmen",- "section": "Abschnitt",- "rectangle": "Rechteck",- "ellipse": "Ellipse",- "line": "Linie",- "polygon": "Polygon",- "star": "Stern",- "pen": "Stift",- "text": "Text",- "hand": "Hand"- },- "panels": {- "layers": "Ebenen",- "pages": "Seiten",- "design": "Design",- "code": "Code",- "ai": "KI",- "assets": "Elemente",- "page": "Seite",- "position": "Position",- "layout": "Layout",- "autoLayout": "Auto-Layout",- "alignment": "Ausrichtung",- "appearance": "Darstellung",- "fill": "Füllung",- "stroke": "Kontur",- "effects": "Effekte",- "export": "Export",- "typography": "Typografie",- "variables": "Variablen",- "constraints": "Einschränkungen",- "addFill": "Füllung hinzufügen",- "addStroke": "Kontur hinzufügen",- "addEffect": "Effekt hinzufügen",- "addExport": "Export hinzufügen",- "dropShadow": "Schlagschatten",- "innerShadow": "Innerer Schatten",- "layerBlur": "Ebenenunschärfe",- "backgroundBlur": "Hintergrundunschärfe",- "noSelection": "Keine Auswahl",- "noLocalVariables": "Keine lokalen Variablen",- "openVariables": "Variablen öffnen",- "addPage": "Seite hinzufügen",- "toggleVisibility": "Sichtbarkeit umschalten",- "independentCornerRadii": "Unabhängige Eckenradien",- "detachVariable": "Variable lösen",- "applyVariable": "Variable anwenden",- "noVariablesFound": "Keine Variablen gefunden",- "addAutoLayout": "Auto-Layout hinzufügen",- "removeAutoLayout": "Auto-Layout entfernen",- "mixed": "Gemischt",- "layersCount": "{count} Ebenen",- "goToMainComponent": "Zur Hauptkomponente",- "detachInstance": "Instanz lösen",- "solid": "Vollton",- "linearGradient": "Linear",- "radialGradient": "Radial",- "image": "Bild",- "stops": "Stopps",- "addStop": "Stopp hinzufügen",- "alignLeft": "Links ausrichten",- "alignCenter": "Zentrieren",- "alignRight": "Rechts ausrichten",- "alignTop": "Oben ausrichten",- "alignMiddle": "Mittig ausrichten",- "alignBottom": "Unten ausrichten",- "alignCenterHorizontally": "Horizontal zentrieren",- "alignCenterVertically": "Vertikal zentrieren",- "flipHorizontal": "Horizontal spiegeln",- "flipVertical": "Vertikal spiegeln",- "rotate90": "90° drehen",- "mixedFillsHelp": "Klicke auf +, um gemischte Füllungen zu ersetzen",- "mixedStrokesHelp": "Klicke auf +, um gemischte Konturen zu ersetzen",- "mixedEffectsHelp": "Klicke auf +, um gemischte Effekte zu ersetzen",- "strokeSides": "Konturseiten",- "clipContent": "Inhalt zuschneiden",- "colorFormatRgb": "RGB",- "colorFormatHsl": "HSL",- "colorFormatHsb": "HSB",- "colorFormatOkhcl": "OkHCL",- "colorHintHsl": "H Farbton · S Sättigung · L Helligkeit",- "colorHintHsb": "H Farbton · S Sättigung · B Helligkeit",- "colorHintOkhcl": "H Farbton · C Chroma · L Helligkeit · A Alpha",- "colorPreviewClipped": "Zugeschnitten auf {space}-Vorschaufarbraum",- "rulers": "Lineale",- "multiplayerCursors": "Cursor anderer Teilnehmer",- "direction": "Richtung",- "flow": "Fluss",- "auto": "Automatisch",- "columns": "Spalten",- "rows": "Zeilen",- "sizingFixed": "Fest",- "sizingHug": "An Inhalt anpassen",- "sizingFill": "Füllen",- "sizingHugShort": "Inhalt",- "sizingFillShort": "Füllen",- "sizingFillFr": "Füllen (fr)",- "sizingFixedPx": "Fest (px)",- "strokeAlignInside": "Innen",- "strokeAlignCenter": "Mitte",- "strokeAlignOutside": "Außen",- "exportPreview": "Vorschau",- "exportRenderingPreview": "Vorschau wird gerendert…",- "createVariable": "Variable erstellen",- "createColorVariable": "Farbvariable aus {value} erstellen",- "variableName": "Variablenname",- "create": "Erstellen",- "createNumberVariable": "Zahlenvariable aus {value} erstellen",- "strokeDash": "Gestrichelter Strich",- "add": "Hinzufügen",- "variants": "Varianten",- "gapAuto": "Automatischer Abstand",- "horizontalGap": "Horizontaler Abstand",- "verticalGap": "Vertikaler Abstand",- "addMinWidth": "Mindestbreite hinzufuegen",- "removeMinWidth": "Mindestbreite entfernen",- "addMaxWidth": "Maximalbreite hinzufuegen",- "removeMaxWidth": "Maximalbreite entfernen",- "addMinHeight": "Mindesthoehe hinzufuegen",- "removeMinHeight": "Mindesthoehe entfernen",- "addMaxHeight": "Maximalhoehe hinzufuegen",- "removeMaxHeight": "Maximalhoehe entfernen",- "minWidthShort": "Min B",- "maxWidthShort": "Max B",- "minHeightShort": "Min H",- "maxHeightShort": "Max H",- "setToCurrentWidth": "Auf aktuelle Breite setzen",- "setToCurrentHeight": "Auf aktuelle Hoehe setzen",- "searchLocalComponents": "Lokale Komponenten suchen",- "assetLibraryBadge": "Bibliothek",- "assetVariantSummary": "{count} Varianten · {names}",- "duplicateVariantValues": "Doppelte Variantenwerte",- "openDocumentation": "Dokumentation öffnen",- "noLocalComponents": "Keine lokalen Komponenten",- "componentSet": "Komponentensatz",- "component": "Komponente",- "insertInstance": "Instanz einfügen",- "description": "Beschreibung",- "documentation": "Dokumentation",- "openDocs": "Dokumentation öffnen",- "properties": "Eigenschaften",- "removeFill": "Füllung entfernen",- "removeStroke": "Kontur entfernen",- "removeEffect": "Effekt entfernen",- "removeExport": "Export entfernen",- "effectSettings": "Effekteinstellungen",- "expandEffectSettings": "Effekteinstellungen erweitern",- "collapseEffectSettings": "Effekteinstellungen einklappen",- "toggleExportPreview": "Exportvorschau umschalten",- "untitled": "Unbenannt",- "nodeCopyString": " Kopie",- "xAxis": "X-Achse",- "yAxis": "Y-Achse",- "rotation": "Drehung",- "width": "Breite",- "height": "Höhe",- "opacity": "Deckkraft",- "radius": "Radius",- "spread": "Ausbreitung",- "foregroundBlur": "Vordergrund-Weichzeichnung",- "strokeType": "Linientyp",- "strokeWeight": "Linienstärke",- "exportScale": "Exportmaßstab",- "exportFormat": "Exportformat",- "gap": "Abstand",- "searchFonts": "Schriftarten suchen..."- },- "pages": {- "newPage": "Neue Seite",- "rename": "Umbenennen",- "delete": "Löschen",- "pageName": "Seite {number}"- },- "dialogs": {- "cancel": "Abbrechen",- "apply": "Anwenden",- "close": "Schließen",- "ok": "OK",- "copy": "Kopieren",- "copied": "Kopiert",- "createCollection": "Sammlung erstellen",- "localVariables": "Lokale Variablen",- "noVariableCollections": "Keine Variablensammlungen",- "selectLayerForJSX": "Wähle eine Ebene, um ihren JSX-Code zu sehen",- "connectAIProvider": "Verbinde einen KI-Anbieter, um den Chat zu starten.",- "connect": "Verbinden",- "testConnection": "Test connection",- "testingConnection": "Testing…",- "connectionTestSuccess": "Connected successfully. Model is reachable.",- "connectionTestMissingAPIKey": "Enter an API key before testing.",- "connectionTestMissingBaseURL": "Enter a base URL before testing.",- "connectionTestMissingModel": "Enter a model ID before testing.",- "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",- "connectionTestAuthFailed": "Authentication failed. Check your API key.",- "connectionTestModelNotFound": "Model not found. Check the model ID.",- "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",- "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",- "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",- "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",- "getAPIKey": "Einen {provider}-API-Schlüssel erhalten →",- "oneKeyManyModels": "Ein Schlüssel für über 100 Modelle aller Anbieter.",- "describeChange": "Beschreibe eine Änderung…",- "describeCreateOrChange": "Beschreibe, was du erstellen oder ändern möchtest.",- "stopGenerating": "Generierung stoppen",- "sendMessage": "Nachricht senden",- "baseURLPlaceholder": "Base URL (z. B. http://localhost:11434/v1)",- "modelIDPlaceholder": "Model ID (z. B. llama-3.3-70b)",- "yourName": "Dein Name",- "enterYourName": "Deinen Namen eingeben",- "shareThisFile": "Diese Datei teilen",- "joinRoom": "Raum beitreten",- "join": "Beitreten",- "roomLink": "Raumlink",- "joinCollaboration": "Zur Zusammenarbeit beitreten",- "orJoinRoom": "oder einem Raum beitreten",- "pasteRoomLinkOrId": "Raumlink oder ID einfügen",- "connected": "Verbunden",- "search": "Suchen…",- "noResults": "Keine Ergebnisse",- "share": "Teilen",- "appUpToDate": "OpenPencil ist auf dem neuesten Stand",- "updateAvailableTitle": "OpenPencil aktualisieren",- "updateAvailable": "OpenPencil {version} ist verfügbar.",- "updateInstallPrompt": "Jetzt herunterladen und installieren? Die App wird nach der Installation neu gestartet.",- "downloadingUpdate": "OpenPencil {version} wird heruntergeladen",- "updateInstalledTitle": "Update installiert",- "updateInstalled": "OpenPencil {version} wurde installiert{size}. Neustart jetzt.",- "updateCheckFailed": "Updates konnten nicht geprüft werden: {error}",- "updateUnavailable": "Updates sind noch nicht verfügbar. Veröffentliche zuerst ein signiertes Release mit latest.json.",- "renameCollection": "Sammlung umbenennen",- "deleteCollection": "Sammlung loeschen",- "modes": "Modi",- "addMode": "Modus hinzufuegen",- "renameMode": "Modus umbenennen",- "duplicateMode": "Modus duplizieren",- "deleteMode": "Modus loeschen",- "setDefaultMode": "Als Standard festlegen",- "aiProvider": "AI Provider",- "providerSettings": "Provider settings",- "done": "Done",- "apiKey": "API Key",- "apiType": "API Type",- "baseURL": "Base URL",- "modelID": "Model ID",- "maxOutputTokens": "Max output tokens",- "clear": "Clear",- "keySavedReplace": "Key saved — enter new to replace",- "getAPIKeyGeneric": "Get API key →",- "pexelsAPIKey": "Pexels API Key (stock photos)",- "unsplashAccessKey": "Unsplash Access Key",- "stockPhotoToolOptional": "Optional — for stock_photo tool",- "pexelsAlternativeOptional": "Optional — alternative to Pexels",- "getPexelsAPIKey": "Get free Pexels API key →",- "getUnsplashAccessKey": "Get free Unsplash access key →",- "completions": "Completions",- "responses": "Responses",- "copiedExclamation": "Kopiert!",- "copyMessage": "Nachricht kopieren",- "copyJSXReference": "JSX-Prop-Referenz in die Zwischenablage kopieren",- "newTab": "Neuer Tab",- "closeTab": "{name} schließen",- "showUI": "UI anzeigen ({shortcut})",- "fontSettings": "Schrifteinstellungen",- "fontSettingsDesktopDescription": "Auf Systemschriften, Online-Anbieter, Fallback-Pakete und zwischengespeicherte Downloads zugreifen.",- "fontSettingsBrowserDescription": "Browserzugriff auf lokale Schriften erlauben und Online-Schriftanbieter verwalten.",- "localFonts": "Lokale Schriften",- "onlineFonts": "Online-Schriften",- "downloadedCache": "Download-Cache",- "lastUpdated": "Zuletzt aktualisiert",- "enabled": "Aktiviert",- "disabled": "Deaktiviert",- "denied": "Verweigert",- "unavailable": "Nicht verfügbar",- "notRequested": "Nicht angefragt",- "never": "Nie",- "systemFontAccess": "Zugriff auf Systemschriften",- "systemFontsAvailable": "Systemschriften sind verfügbar.",- "allowBrowserFontAccess": "Browser-Schriftzugriff erlauben, wenn Systemschriften fehlen.",- "allow": "Erlauben",- "requesting": "Wird angefragt…",- "onlineFontProviders": "Online-Schriftanbieter",- "downloadMissingWebFonts": "Fehlende Web-Schriften über aktivierte Anbieter herunterladen.",- "webFontProvidersRequireDesktopApp": "Online-Schriftanbieter-Kataloge sind in der Web-App nicht verfügbar. Lade die Desktop-App herunter, um Anbieter-Schriften zu durchsuchen und zu laden.",- "enable": "Aktivieren",- "disable": "Deaktivieren",- "fallbackPacks": "Fallback-Pakete",- "downloadFallbackPacksDescription": "CJK- und Arabisch-Fallbacks vor dem Öffnen von Dateien herunterladen, die sie benötigen.",- "download": "Herunterladen",- "downloading": "Wird heruntergeladen…",- "refresh": "Aktualisieren",- "clearCache": "Cache leeren",- "localFontAccessEnabled": "Lokaler Schriftzugriff aktiviert.",- "localFontAccessNotGranted": "Lokaler Schriftzugriff wurde nicht gewährt.",- "onlineFontProvidersEnabled": "Online-Schriftanbieter aktiviert.",- "onlineFontProvidersDisabled": "Online-Schriftanbieter deaktiviert.",- "fontProviderEnabled": "{provider} aktiviert.",- "fontProviderDisabled": "{provider} deaktiviert.",- "fallbackFontsDownloaded": "Fallback-Schriften heruntergeladen.",- "fallbackFontsDownloadFailed": "Fallback-Schriften konnten nicht heruntergeladen werden.",- "downloadedFontCacheCleared": "Download-Schriftcache geleert.",- "downloadedFontCacheClearFailed": "Download-Schriftcache konnte nicht geleert werden.",- "you": "Du",- "youSuffix": "du",- "followingPeerStop": "Folge {name} (zum Stoppen klicken)",- "clickToFollowPeer": "Klicken, um {name} zu folgen"- },- "variableTypes": {- "color": "Farbe",- "colorHint": "Farbwerte",- "number": "Zahl",- "numberHint": "Größen, Abstände, Deckkraft",- "text": "Text",- "textHint": "Text und Beschriftungen",- "boolean": "Boolean",- "booleanHint": "Wahr oder falsch"- }-}diff --git a/packages/vue/src/locales/es.json b/packages/vue/src/locales/es.jsondeleted file mode 100644index c8a5c9406..000000000--- a/packages/vue/src/locales/es.json+++ /dev/null@@ -1,411 +0,0 @@-{- "menu": {- "file": "Archivo",- "edit": "Editar",- "view": "Ver",- "object": "Objeto",- "arrange": "Organizar",- "text": "Texto",- "new": "Nuevo",- "open": "Abrir…",- "save": "Guardar",- "saveAs": "Guardar como…",- "exportSelection": "Exportar selección…",- "autosave": "Guardado automático en archivo",- "copy": "Copiar",- "paste": "Pegar",- "theme": "Tema",- "themeLight": "Claro",- "themeDark": "Oscuro",- "themeAuto": "Automático",- "profiler": "Perfil de rendimiento",- "language": "Idioma",- "toggleUI": "Alternar interfaz",- "moveToPage": "Mover a página",- "createInstance": "Crear instancia",- "hide": "Ocultar",- "show": "Mostrar",- "lock": "Bloquear",- "unlock": "Desbloquear",- "cut": "Cortar",- "front": "Al frente",- "back": "Al fondo",- "bold": "Negrita",- "italic": "Cursiva",- "underline": "Subrayado",- "strikethrough": "Tachado",- "pasteHere": "Pegar aquí",- "pasteToReplace": "Pegar y reemplazar",- "copyPasteAs": "Copiar/Pegar como",- "copyAsText": "Copiar como texto",- "copyAsSVG": "Copiar como SVG",- "copyAsPNG": "Copiar como PNG",- "copyAsJSX": "Copiar como JSX",- "copyNodeId": "Copiar ID del nodo",- "copyXPath": "Copiar XPath",- "checkUpdates": "Buscar actualizaciones…",- "booleanOperations": "Operaciones booleanas",- "closeTab": "Cerrar pestaña",- "zoomIn": "Ampliar",- "zoomOut": "Reducir",- "arrangeAlignLeft": "Alinear a la izquierda",- "arrangeAlignCenter": "Alinear al centro",- "arrangeAlignRight": "Alinear a la derecha",- "arrangeAlignTop": "Alinear arriba",- "arrangeAlignMiddle": "Alinear centro verticalmente",- "arrangeAlignBottom": "Alinear abajo"- },- "commands": {- "undo": "Deshacer",- "redo": "Rehacer",- "selectAll": "Seleccionar todo",- "duplicate": "Duplicar",- "delete": "Eliminar",- "group": "Agrupar",- "ungroup": "Desagrupar",- "createComponent": "Crear componente",- "createComponentSet": "Crear conjunto de componentes",- "createInstance": "Crear instancia",- "detachInstance": "Separar instancia",- "goToMainComponent": "Ir al componente principal",- "addAutoLayout": "Añadir auto-layout",- "bringToFront": "Traer al frente",- "sendToBack": "Enviar al fondo",- "moveToPage": "Mover a página",- "zoomTo100": "Zoom 100 %",- "zoomToFit": "Ajustar a pantalla",- "zoomToSelection": "Zoom a selección",- "groupSelection": "Agrupar",- "frameSelection": "Selección de marco",- "showHide": "Visibilidad",- "lockUnlock": "Bloqueo",- "unionSelection": "Selección de unión",- "subtractSelection": "Selección de sustración",- "intersectSelection": "Selección de intersección",- "excludeSelection": "Selección de exclusión",- "booleanOperations": "Operaciones boolean",- "flipHorizontal": "Voltear horizontalmente",- "flipVertical": "Voltear verticalmente",- "flattenSelection": "Aplanar",- "outlineText": "Contornear texto",- "outlineStroke": "Cortornear trazo"- },- "tools": {- "move": "Mover",- "frame": "Marco",- "section": "Sección",- "rectangle": "Rectángulo",- "ellipse": "Elipse",- "line": "Línea",- "polygon": "Polígono",- "star": "Estrella",- "pen": "Pluma",- "text": "Texto",- "hand": "Mano"- },- "panels": {- "untitled": "Sin título",- "nodeCopyString": " copia",- "layers": "Capas",- "pages": "Páginas",- "design": "Diseño",- "code": "Código",- "ai": "IA",- "assets": "Recursos",- "page": "Página",- "position": "Posición",- "layout": "Diseño",- "autoLayout": "Auto-layout",- "alignment": "Alineación",- "appearance": "Apariencia",- "xAxis": "Eje X",- "yAxis": "Eje Y",- "rotation": "Rotación",- "width": "Anchura",- "height": "Altura",- "opacity": "Opacidad",- "radius": "Redondeado",- "spread": "Esparcimiento",- "fill": "Relleno",- "stroke": "Trazo",- "effects": "Efectos",- "export": "Exportar",- "typography": "Tipografía",- "variables": "Variables",- "constraints": "Restricciones",- "addFill": "Añadir relleno",- "addStroke": "Añadir trazo",- "addEffect": "Añadir efecto",- "addExport": "Añadir exportación",- "dropShadow": "Sombra exterior",- "innerShadow": "Sombra interior",- "layerBlur": "Desenfoque de capa",- "backgroundBlur": "Desenfoque de fondo",- "foregroundBlur": "Desenfoque",- "strokeType": "Tipo de trazado",- "strokeWeight": "Grosor del trazado",- "noSelection": "Sin selección",- "noLocalVariables": "Sin variables locales",- "openVariables": "Abrir variables",- "addPage": "Añadir página",- "toggleVisibility": "Alternar visibilidad",- "independentCornerRadii": "Redondeo de esquina independientes",- "detachVariable": "Desvincular variable",- "applyVariable": "Aplicar variable",- "noVariablesFound": "No se encontraron variables",- "addAutoLayout": "Añadir auto-layout",- "removeAutoLayout": "Quitar auto-layout",- "mixed": "Mixto",- "layersCount": "{count} capas",- "goToMainComponent": "Ir al componente principal",- "detachInstance": "Separar instancia",- "solid": "Sólido",- "linearGradient": "Lineal",- "radialGradient": "Radial",- "image": "Imagen",- "stops": "Paradas",- "addStop": "Añadir parada",- "alignLeft": "Alinear a la izquierda",- "alignCenter": "Centrar",- "alignRight": "Alinear a la derecha",- "alignTop": "Alinear arriba",- "alignMiddle": "Centrar verticalmente",- "alignBottom": "Alinear abajo",- "alignCenterHorizontally": "Centrar horizontalmente",- "alignCenterVertically": "Centrar verticalmente",- "flipHorizontal": "Voltear horizontalmente",- "flipVertical": "Voltear verticalmente",- "rotate90": "Girar 90°",- "mixedFillsHelp": "Haz clic en + para reemplazar rellenos mixtos",- "mixedStrokesHelp": "Haz clic en + para reemplazar trazos mixtos",- "mixedEffectsHelp": "Haz clic en + para reemplazar efectos mixtos",- "strokeSides": "Lados del trazo",- "clipContent": "Recortar contenido",- "colorFormatRgb": "RGB",- "colorFormatHsl": "HSL",- "colorFormatHsb": "HSB",- "colorFormatOkhcl": "OkHCL",- "colorHintHsl": "H tono · S saturación · L luminosidad",- "colorHintHsb": "H tono · S saturación · B brillo",- "colorHintOkhcl": "H tono · C croma · L luminosidad · A alfa",- "colorPreviewClipped": "Recortado a gama de vista previa {space}",- "rulers": "Reglas",- "multiplayerCursors": "Cursores de otros participantes",- "direction": "Dirección",- "flow": "Flujo",- "auto": "Auto",- "columns": "Columnas",- "rows": "Filas",- "gap": "Espaciado",- "sizingFixed": "Fijo",- "sizingHug": "Ajustar al contenido",- "sizingFill": "Rellenar",- "sizingHugShort": "Ajust.",- "sizingFillShort": "Llenar",- "sizingFillFr": "Rellenar (fr)",- "sizingFixedPx": "Fijo (px)",- "strokeAlignInside": "Interior",- "strokeAlignCenter": "Centro",- "strokeAlignOutside": "Exterior",- "exportScale": "Escala de exportación",- "exportFormat": "Formato de exportación",- "exportPreview": "Vista previa",- "exportRenderingPreview": "Renderizando vista previa…",- "createVariable": "Crear variable",- "createColorVariable": "Crear variable de color desde {value}",- "variableName": "Nombre de variable",- "create": "Crear",- "createNumberVariable": "Crear variable numérica desde {value}",- "strokeDash": "Trazo discontinuo",- "add": "Añadir",- "variants": "Variantes",- "gapAuto": "Espaciado auto",- "horizontalGap": "Espaciado horizontal",- "verticalGap": "Espaciado vertical",- "addMinWidth": "Agregar ancho min",- "removeMinWidth": "Eliminar ancho min",- "addMaxWidth": "Agregar ancho max",- "removeMaxWidth": "Eliminar ancho max",- "addMinHeight": "Agregar alto min",- "removeMinHeight": "Eliminar alto min",- "addMaxHeight": "Agregar alto max",- "removeMaxHeight": "Eliminar alto max",- "minWidthShort": "Min A",- "maxWidthShort": "Max A",- "minHeightShort": "Min Al",- "maxHeightShort": "Max Al",- "setToCurrentWidth": "Establecer ancho actual",- "setToCurrentHeight": "Establecer alto actual",- "searchLocalComponents": "Buscar componentes locales",- "assetLibraryBadge": "Biblioteca",- "assetVariantSummary": "{count} variantes · {names}",- "duplicateVariantValues": "Valores de variante duplicados",- "openDocumentation": "Abrir documentación",- "noLocalComponents": "No hay componentes locales",- "componentSet": "Conjunto de componentes",- "component": "Componente",- "insertInstance": "Insertar instancia",- "description": "Descripción",- "documentation": "Documentación",- "openDocs": "Abrir docs",- "properties": "Propiedades",- "removeFill": "Eliminar relleno",- "removeStroke": "Eliminar trazo",- "removeEffect": "Eliminar efecto",- "removeExport": "Eliminar exportación",- "effectSettings": "Ajustes del efecto",- "expandEffectSettings": "Expandir ajustes del efecto",- "collapseEffectSettings": "Contraer ajustes del efecto",- "toggleExportPreview": "Alternar vista previa de exportación",- "searchFonts": "Buscar fuentes..."- },- "pages": {- "newPage": "Nueva página",- "rename": "Renombrar",- "delete": "Eliminar",- "pageName": "Página {number}"- },- "dialogs": {- "cancel": "Cancelar",- "apply": "Aplicar",- "close": "Cerrar",- "ok": "Aceptar",- "copy": "Copiar",- "copied": "Copiado",- "createCollection": "Crear colección",- "localVariables": "Variables locales",- "noVariableCollections": "No hay colecciones de variables",- "selectLayerForJSX": "Selecciona una capa para ver su código JSX",- "connectAIProvider": "Conecta un proveedor de IA para empezar a chatear.",- "connect": "Conectar",- "testConnection": "Test connection",- "testingConnection": "Testing…",- "connectionTestSuccess": "Connected successfully. Model is reachable.",- "connectionTestMissingAPIKey": "Enter an API key before testing.",- "connectionTestMissingBaseURL": "Enter a base URL before testing.",- "connectionTestMissingModel": "Enter a model ID before testing.",- "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",- "connectionTestAuthFailed": "Authentication failed. Check your API key.",- "connectionTestModelNotFound": "Model not found. Check the model ID.",- "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",- "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",- "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",- "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",- "getAPIKey": "Obtener una clave API de {provider} →",- "oneKeyManyModels": "Una clave para más de 100 modelos de todos los proveedores.",- "describeChange": "Describe un cambio…",- "describeCreateOrChange": "Describe lo que quieres crear o cambiar.",- "stopGenerating": "Detener generación",- "sendMessage": "Enviar mensaje",- "baseURLPlaceholder": "Base URL (p. ej. http://localhost:11434/v1)",- "modelIDPlaceholder": "Model ID (p. ej. llama-3.3-70b)",- "yourName": "Tu nombre",- "enterYourName": "Introduce tu nombre",- "shareThisFile": "Compartir este archivo",- "joinRoom": "Unirse a la sala",- "join": "Unirse",- "roomLink": "Enlace de la sala",- "joinCollaboration": "Unirse a la colaboración",- "orJoinRoom": "o unirse a una sala",- "pasteRoomLinkOrId": "Pega el enlace o ID de la sala",- "connected": "Conectado",- "search": "Buscar…",- "noResults": "Sin resultados",- "share": "Compartir",- "appUpToDate": "OpenPencil está actualizado",- "updateAvailableTitle": "Actualizar OpenPencil",- "updateAvailable": "Está disponible la versión {version} de OpenPencil.",- "updateInstallPrompt": "¿Descargar e instalar ahora? La app se reiniciará después de instalar la actualización.",- "downloadingUpdate": "Descargando OpenPencil {version}",- "updateInstalledTitle": "Actualización instalada",- "updateInstalled": "Se ha instalado la versión {version} de OpenPencil{size}. Reiniciando ahora...",- "updateCheckFailed": "Error al encontrar actualizaciones: {error}",- "updateUnavailable": "Las actualizaciones aún no están disponibles. Publica primero una versión firmada con latest.json.",- "renameCollection": "Renombrar coleccion",- "deleteCollection": "Eliminar coleccion",- "modes": "Modos",- "addMode": "Agregar modo",- "renameMode": "Renombrar modo",- "duplicateMode": "Duplicar modo",- "deleteMode": "Eliminar modo",- "setDefaultMode": "Establecer como predeterminado",- "aiProvider": "Proveedor IA",- "providerSettings": "Opciones del proveedor",- "done": "Hecho",- "apiKey": "Clave API",- "apiType": "Tipo API",- "baseURL": "URL base",- "modelID": "ID Modelo",- "maxOutputTokens": "Tokens de salida máx.",- "clear": "Limpiar",- "keySavedReplace": "Clave guardada - introduce una nueva para reemplazarla",- "getAPIKeyGeneric": "Obtener clave API →",- "pexelsAPIKey": "Clave API de Pexels (fotos stock)",- "unsplashAccessKey": "Clave de acceso de Unsplash",- "stockPhotoToolOptional": "Opcional — para herramienta stock_photo",- "pexelsAlternativeOptional": "Opcional — alternativa a Pexels",- "getPexelsAPIKey": "Obtener clave a la API gratis de Pexels →",- "getUnsplashAccessKey": "Obtener clave a la API gratis de Unsplash →",- "completions": "Completados",- "responses": "Respuestas",- "copiedExclamation": "¡Copiado!",- "copyMessage": "Copiar mensaje",- "copyJSXReference": "Copiar referencia de props JSX al portapapeles",- "newTab": "Nueva pestaña",- "closeTab": "Cerrar {name}",- "showUI": "Mostrar interfaz ({shortcut})",- "fontSettings": "Ajustes de fuentes",- "fontSettingsDesktopDescription": "Accede a fuentes del sistema, proveedores en línea, paquetes de respaldo y descargas en caché.",- "fontSettingsBrowserDescription": "Permite al navegador acceder a fuentes locales y gestiona proveedores de fuentes en línea.",- "localFonts": "Fuentes locales",- "onlineFonts": "Fuentes en línea",- "downloadedCache": "Caché descargada",- "lastUpdated": "Última actualización",- "enabled": "Activado",- "disabled": "Desactivado",- "denied": "Denegado",- "unavailable": "No disponible",- "notRequested": "No solicitado",- "never": "Nunca",- "systemFontAccess": "Acceso a fuentes del sistema",- "systemFontsAvailable": "Las fuentes del sistema están disponibles.",- "allowBrowserFontAccess": "Permite el acceso a fuentes del navegador cuando falten fuentes del sistema.",- "allow": "Permitir",- "requesting": "Solicitando…",- "onlineFontProviders": "Proveedores de fuentes en línea",- "downloadMissingWebFonts": "Descarga fuentes web faltantes mediante los proveedores activados.",- "webFontProvidersRequireDesktopApp": "Los catálogos de proveedores de fuentes en línea no están disponibles en la app web. Descarga la app de escritorio para explorar y cargar fuentes de proveedores.",- "enable": "Activar",- "disable": "Desactivar",- "fallbackPacks": "Paquetes de respaldo",- "downloadFallbackPacksDescription": "Descarga respaldos CJK y árabes antes de abrir archivos que los necesiten.",- "download": "Descargar",- "downloading": "Descargando…",- "refresh": "Actualizar",- "clearCache": "Borrar caché",- "localFontAccessEnabled": "Acceso a fuentes locales activado.",- "localFontAccessNotGranted": "No se concedió acceso a fuentes locales.",- "onlineFontProvidersEnabled": "Proveedores de fuentes en línea activados.",- "onlineFontProvidersDisabled": "Proveedores de fuentes en línea desactivados.",- "fontProviderEnabled": "{provider} activado.",- "fontProviderDisabled": "{provider} desactivado.",- "fallbackFontsDownloaded": "Fuentes de respaldo descargadas.",- "fallbackFontsDownloadFailed": "No se pudieron descargar las fuentes de respaldo.",- "downloadedFontCacheCleared": "Caché de fuentes descargadas borrada.",- "downloadedFontCacheClearFailed": "No se pudo borrar la caché de fuentes descargadas.",- "you": "Tú",- "youSuffix": "tú",- "followingPeerStop": "Siguiendo a {name} (haz clic para detener)",- "clickToFollowPeer": "Haz clic para seguir a {name}"- },- "variableTypes": {- "color": "Color",- "colorHint": "Valores de pintura",- "number": "Número",- "numberHint": "Tamaños, espaciado, opacidad",- "text": "Texto",- "textHint": "Texto y etiquetas",- "boolean": "Booleano",- "booleanHint": "Verdadero o falso"- }-}diff --git a/packages/vue/src/locales/fr.json b/packages/vue/src/locales/fr.jsondeleted file mode 100644index 9339ffd7c..000000000--- a/packages/vue/src/locales/fr.json+++ /dev/null@@ -1,411 +0,0 @@-{- "menu": {- "file": "Fichier",- "edit": "Édition",- "view": "Affichage",- "object": "Objet",- "arrange": "Disposition",- "text": "Texte",- "new": "Nouveau",- "open": "Ouvrir…",- "save": "Enregistrer",- "saveAs": "Enregistrer sous…",- "exportSelection": "Exporter la sélection…",- "autosave": "Enregistrement automatique",- "copy": "Copier",- "paste": "Coller",- "zoomIn": "Zoom avant",- "zoomOut": "Zoom arrière",- "profiler": "Profileur de performance",- "theme": "Thème",- "themeLight": "Clair",- "themeDark": "Sombre",- "themeAuto": "Automatique",- "language": "Langue",- "moveToPage": "Déplacer vers la page",- "createInstance": "Créer une instance",- "hide": "Masquer",- "show": "Afficher",- "lock": "Verrouiller",- "unlock": "Déverrouiller",- "cut": "Couper",- "front": "Premier plan",- "back": "Arrière-plan",- "toggleUI": "Basculer l’interface",- "bold": "Gras",- "italic": "Italique",- "underline": "Souligné",- "pasteHere": "Coller ici",- "pasteToReplace": "Coller pour remplacer",- "copyPasteAs": "Copier/Coller en tant que",- "copyAsText": "Copier en texte",- "copyAsSVG": "Copier en SVG",- "copyAsPNG": "Copier en PNG",- "copyAsJSX": "Copier en JSX",- "copyNodeId": "Copier l'ID du nœud",- "copyXPath": "Copier le XPath",- "checkUpdates": "Rechercher des mises à jour…",- "booleanOperations": "Opérations booléennes",- "strikethrough": "Barré",- "closeTab": "Fermer l’onglet",- "arrangeAlignLeft": "Aligner à gauche",- "arrangeAlignCenter": "Centrer",- "arrangeAlignRight": "Aligner à droite",- "arrangeAlignTop": "Aligner en haut",- "arrangeAlignMiddle": "Centrer verticalement",- "arrangeAlignBottom": "Aligner en bas"- },- "commands": {- "undo": "Annuler",- "redo": "Rétablir",- "selectAll": "Tout sélectionner",- "duplicate": "Dupliquer",- "delete": "Supprimer",- "group": "Grouper",- "ungroup": "Dégrouper",- "createComponent": "Créer un composant",- "createComponentSet": "Créer un jeu de composants",- "createInstance": "Créer une instance",- "detachInstance": "Détacher l'instance",- "goToMainComponent": "Aller au composant principal",- "addAutoLayout": "Ajouter un auto-layout",- "bringToFront": "Mettre au premier plan",- "sendToBack": "Mettre en arrière-plan",- "moveToPage": "Déplacer vers la page",- "zoomTo100": "Zoom 100 %",- "zoomToFit": "Ajuster à l'écran",- "zoomToSelection": "Zoom sur la sélection",- "groupSelection": "Grouper",- "frameSelection": "Mettre la sélection dans un cadre",- "showHide": "Afficher/Masquer",- "lockUnlock": "Verrouiller/Déverrouiller",- "unionSelection": "Union de la sélection",- "subtractSelection": "Soustraire la sélection",- "intersectSelection": "Intersection de la sélection",- "excludeSelection": "Exclure la sélection",- "booleanOperations": "Opérations booléennes",- "flipHorizontal": "Retourner horizontalement",- "flipVertical": "Retourner verticalement",- "flattenSelection": "Aplatir",- "outlineText": "Vectoriser le texte",- "outlineStroke": "Vectoriser le contour"- },- "tools": {- "move": "Déplacer",- "frame": "Cadre",- "section": "Section",- "rectangle": "Rectangle",- "ellipse": "Ellipse",- "line": "Ligne",- "polygon": "Polygone",- "star": "Étoile",- "pen": "Plume",- "text": "Texte",- "hand": "Main"- },- "panels": {- "layers": "Calques",- "pages": "Pages",- "design": "Design",- "code": "Code",- "ai": "IA",- "assets": "Ressources",- "page": "Page",- "position": "Position",- "layout": "Disposition",- "autoLayout": "Auto-layout",- "alignment": "Alignement",- "appearance": "Apparence",- "fill": "Remplissage",- "stroke": "Contour",- "effects": "Effets",- "export": "Export",- "typography": "Typographie",- "variables": "Variables",- "constraints": "Contraintes",- "addFill": "Ajouter un remplissage",- "addStroke": "Ajouter un contour",- "addEffect": "Ajouter un effet",- "addExport": "Ajouter un export",- "dropShadow": "Ombre portée",- "innerShadow": "Ombre interne",- "layerBlur": "Flou de calque",- "backgroundBlur": "Flou d'arrière-plan",- "noSelection": "Aucune sélection",- "noLocalVariables": "Aucune variable locale",- "openVariables": "Ouvrir les variables",- "addPage": "Ajouter une page",- "toggleVisibility": "Basculer la visibilité",- "independentCornerRadii": "Rayons de coin indépendants",- "detachVariable": "Détacher la variable",- "applyVariable": "Appliquer la variable",- "noVariablesFound": "Aucune variable trouvée",- "addAutoLayout": "Ajouter un auto-layout",- "removeAutoLayout": "Retirer l'auto-layout",- "mixed": "Mixte",- "layersCount": "{count} calques",- "goToMainComponent": "Aller au composant principal",- "detachInstance": "Détacher l'instance",- "solid": "Uni",- "linearGradient": "Linéaire",- "radialGradient": "Radial",- "image": "Image",- "stops": "Arrêts",- "addStop": "Ajouter un arrêt",- "alignLeft": "Aligner à gauche",- "alignCenter": "Centrer",- "alignRight": "Aligner à droite",- "alignTop": "Aligner en haut",- "alignMiddle": "Centrer verticalement",- "alignBottom": "Aligner en bas",- "alignCenterHorizontally": "Centrer horizontalement",- "alignCenterVertically": "Centrer verticalement",- "flipHorizontal": "Retourner horizontalement",- "flipVertical": "Retourner verticalement",- "rotate90": "Pivoter de 90°",- "mixedFillsHelp": "Cliquez sur + pour remplacer les remplissages mixtes",- "mixedStrokesHelp": "Cliquez sur + pour remplacer les contours mixtes",- "mixedEffectsHelp": "Cliquez sur + pour remplacer les effets mixtes",- "strokeSides": "Côtés du contour",- "clipContent": "Rogner le contenu",- "colorFormatRgb": "RGB",- "colorFormatHsl": "HSL",- "colorFormatHsb": "HSB",- "colorFormatOkhcl": "OkHCL",- "colorHintHsl": "H teinte · S saturation · L luminosité",- "colorHintHsb": "H teinte · S saturation · B luminosité",- "colorHintOkhcl": "H teinte · C chroma · L luminosité · A alpha",- "colorPreviewClipped": "Rogné à la gamme d’aperçu {space}",- "rulers": "Règles",- "multiplayerCursors": "Curseurs des participants",- "direction": "Direction",- "flow": "Flux",- "auto": "Auto",- "columns": "Colonnes",- "rows": "Lignes",- "sizingFixed": "Fixe",- "sizingHug": "Ajuster au contenu",- "sizingFill": "Remplir",- "sizingHugShort": "Ajust.",- "sizingFillShort": "Remp.",- "sizingFillFr": "Remplir (fr)",- "sizingFixedPx": "Fixe (px)",- "strokeAlignInside": "Intérieur",- "strokeAlignCenter": "Centré",- "strokeAlignOutside": "Extérieur",- "exportPreview": "Aperçu",- "exportRenderingPreview": "Rendu de l’aperçu…",- "createVariable": "Créer une variable",- "createColorVariable": "Créer une variable de couleur depuis {value}",- "variableName": "Nom de la variable",- "create": "Créer",- "createNumberVariable": "Créer une variable numérique depuis {value}",- "strokeDash": "Trait en pointillés",- "add": "Ajouter",- "variants": "Variantes",- "gapAuto": "Espacement auto",- "horizontalGap": "Espacement horizontal",- "verticalGap": "Espacement vertical",- "addMinWidth": "Ajouter largeur min",- "removeMinWidth": "Supprimer largeur min",- "addMaxWidth": "Ajouter largeur max",- "removeMaxWidth": "Supprimer largeur max",- "addMinHeight": "Ajouter hauteur min",- "removeMinHeight": "Supprimer hauteur min",- "addMaxHeight": "Ajouter hauteur max",- "removeMaxHeight": "Supprimer hauteur max",- "minWidthShort": "Min L",- "maxWidthShort": "Max L",- "minHeightShort": "Min H",- "maxHeightShort": "Max H",- "setToCurrentWidth": "Largeur actuelle",- "setToCurrentHeight": "Hauteur actuelle",- "searchLocalComponents": "Rechercher des composants locaux",- "assetLibraryBadge": "Bibliothèque",- "assetVariantSummary": "{count} variantes · {names}",- "duplicateVariantValues": "Valeurs de variante en double",- "openDocumentation": "Ouvrir la documentation",- "noLocalComponents": "Aucun composant local",- "componentSet": "Jeu de composants",- "component": "Composant",- "insertInstance": "Insérer une instance",- "description": "Description",- "documentation": "Documentation",- "openDocs": "Ouvrir la doc",- "properties": "Propriétés",- "removeFill": "Supprimer le remplissage",- "removeStroke": "Supprimer le contour",- "removeEffect": "Supprimer l’effet",- "removeExport": "Supprimer l’export",- "effectSettings": "Réglages de l’effet",- "expandEffectSettings": "Développer les réglages de l’effet",- "collapseEffectSettings": "Réduire les réglages de l’effet",- "toggleExportPreview": "Afficher/masquer l’aperçu d’export",- "untitled": "Sans titre",- "nodeCopyString": " copie",- "xAxis": "Axe X",- "yAxis": "Axe Y",- "rotation": "Rotation",- "width": "Largeur",- "height": "Hauteur",- "opacity": "Opacité",- "radius": "Rayon",- "spread": "Diffusion",- "foregroundBlur": "Flou de premier plan",- "strokeType": "Type de contour",- "strokeWeight": "Épaisseur du contour",- "exportScale": "Échelle d’export",- "exportFormat": "Format d’export",- "gap": "Espacement",- "searchFonts": "Rechercher des polices..."- },- "pages": {- "newPage": "Nouvelle page",- "rename": "Renommer",- "delete": "Supprimer",- "pageName": "Page {number}"- },- "dialogs": {- "cancel": "Annuler",- "apply": "Appliquer",- "close": "Fermer",- "ok": "OK",- "copy": "Copier",- "copied": "Copié",- "createCollection": "Créer une collection",- "localVariables": "Variables locales",- "noVariableCollections": "Aucune collection de variables",- "selectLayerForJSX": "Sélectionnez un calque pour voir son code JSX",- "connectAIProvider": "Connectez un fournisseur d’IA pour commencer à discuter.",- "connect": "Connecter",- "testConnection": "Test connection",- "testingConnection": "Testing…",- "connectionTestSuccess": "Connected successfully. Model is reachable.",- "connectionTestMissingAPIKey": "Enter an API key before testing.",- "connectionTestMissingBaseURL": "Enter a base URL before testing.",- "connectionTestMissingModel": "Enter a model ID before testing.",- "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",- "connectionTestAuthFailed": "Authentication failed. Check your API key.",- "connectionTestModelNotFound": "Model not found. Check the model ID.",- "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",- "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",- "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",- "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",- "getAPIKey": "Obtenir une clé API {provider} →",- "oneKeyManyModels": "Une clé pour plus de 100 modèles de tous les fournisseurs.",- "describeChange": "Décrivez un changement…",- "describeCreateOrChange": "Décrivez ce que vous voulez créer ou modifier.",- "stopGenerating": "Arrêter la génération",- "sendMessage": "Envoyer le message",- "baseURLPlaceholder": "Base URL (ex. http://localhost:11434/v1)",- "modelIDPlaceholder": "Model ID (ex. llama-3.3-70b)",- "yourName": "Votre nom",- "enterYourName": "Entrez votre nom",- "shareThisFile": "Partager ce fichier",- "joinRoom": "Rejoindre la salle",- "join": "Rejoindre",- "roomLink": "Lien de la salle",- "joinCollaboration": "Rejoindre la collaboration",- "orJoinRoom": "ou rejoindre une salle",- "pasteRoomLinkOrId": "Collez le lien ou l’ID de la salle",- "connected": "Connecté",- "search": "Rechercher…",- "noResults": "Aucun résultat",- "share": "Partager",- "appUpToDate": "OpenPencil est à jour",- "updateAvailableTitle": "Mettre à jour OpenPencil",- "updateAvailable": "OpenPencil {version} est disponible.",- "updateInstallPrompt": "Télécharger et installer maintenant ? L’app redémarrera après l’installation de la mise à jour.",- "downloadingUpdate": "Téléchargement d’OpenPencil {version}",- "updateInstalledTitle": "Mise à jour installée",- "updateInstalled": "OpenPencil {version} a été installé{size}. Redémarrage maintenant.",- "updateCheckFailed": "Impossible de rechercher des mises à jour : {error}",- "updateUnavailable": "Les mises à jour ne sont pas encore disponibles. Publiez d’abord une version signée avec latest.json.",- "renameCollection": "Renommer la collection",- "deleteCollection": "Supprimer la collection",- "modes": "Modes",- "addMode": "Ajouter un mode",- "renameMode": "Renommer le mode",- "duplicateMode": "Dupliquer le mode",- "deleteMode": "Supprimer le mode",- "setDefaultMode": "Definir par defaut",- "aiProvider": "AI Provider",- "providerSettings": "Provider settings",- "done": "Done",- "apiKey": "API Key",- "apiType": "API Type",- "baseURL": "Base URL",- "modelID": "Model ID",- "maxOutputTokens": "Max output tokens",- "clear": "Clear",- "keySavedReplace": "Key saved — enter new to replace",- "getAPIKeyGeneric": "Get API key →",- "pexelsAPIKey": "Pexels API Key (stock photos)",- "unsplashAccessKey": "Unsplash Access Key",- "stockPhotoToolOptional": "Optional — for stock_photo tool",- "pexelsAlternativeOptional": "Optional — alternative to Pexels",- "getPexelsAPIKey": "Get free Pexels API key →",- "getUnsplashAccessKey": "Get free Unsplash access key →",- "completions": "Completions",- "responses": "Responses",- "copiedExclamation": "Copié !",- "copyMessage": "Copier le message",- "copyJSXReference": "Copier la référence des props JSX dans le presse-papiers",- "newTab": "Nouvel onglet",- "closeTab": "Fermer {name}",- "showUI": "Afficher l’interface ({shortcut})",- "fontSettings": "Réglages des polices",- "fontSettingsDesktopDescription": "Accédez aux polices système, aux fournisseurs en ligne, aux packs de secours et aux téléchargements en cache.",- "fontSettingsBrowserDescription": "Autorisez l’accès du navigateur aux polices locales et gérez les fournisseurs de polices en ligne.",- "localFonts": "Polices locales",- "onlineFonts": "Polices en ligne",- "downloadedCache": "Cache téléchargé",- "lastUpdated": "Dernière mise à jour",- "enabled": "Activé",- "disabled": "Désactivé",- "denied": "Refusé",- "unavailable": "Indisponible",- "notRequested": "Non demandé",- "never": "Jamais",- "systemFontAccess": "Accès aux polices système",- "systemFontsAvailable": "Les polices système sont disponibles.",- "allowBrowserFontAccess": "Autorisez l’accès du navigateur aux polices lorsque des polices système manquent.",- "allow": "Autoriser",- "requesting": "Demande…",- "onlineFontProviders": "Fournisseurs de polices en ligne",- "downloadMissingWebFonts": "Télécharger les polices web manquantes via les fournisseurs activés.",- "webFontProvidersRequireDesktopApp": "Les catalogues de fournisseurs de polices en ligne ne sont pas disponibles dans l’app web. Téléchargez l’app de bureau pour parcourir et charger les polices des fournisseurs.",- "enable": "Activer",- "disable": "Désactiver",- "fallbackPacks": "Packs de secours",- "downloadFallbackPacksDescription": "Téléchargez les polices de secours CJK et arabes avant d’ouvrir les fichiers qui en ont besoin.",- "download": "Télécharger",- "downloading": "Téléchargement…",- "refresh": "Actualiser",- "clearCache": "Vider le cache",- "localFontAccessEnabled": "Accès aux polices locales activé.",- "localFontAccessNotGranted": "L’accès aux polices locales n’a pas été accordé.",- "onlineFontProvidersEnabled": "Fournisseurs de polices en ligne activés.",- "onlineFontProvidersDisabled": "Fournisseurs de polices en ligne désactivés.",- "fontProviderEnabled": "{provider} activé.",- "fontProviderDisabled": "{provider} désactivé.",- "fallbackFontsDownloaded": "Polices de secours téléchargées.",- "fallbackFontsDownloadFailed": "Impossible de télécharger les polices de secours.",- "downloadedFontCacheCleared": "Cache des polices téléchargées vidé.",- "downloadedFontCacheClearFailed": "Impossible de vider le cache des polices téléchargées.",- "you": "Vous",- "youSuffix": "vous",- "followingPeerStop": "Suit {name} (cliquer pour arrêter)",- "clickToFollowPeer": "Cliquer pour suivre {name}"- },- "variableTypes": {- "color": "Couleur",- "colorHint": "Valeurs de peinture",- "number": "Nombre",- "numberHint": "Tailles, espacements, opacité",- "text": "Texte",- "textHint": "Texte et libellés",- "boolean": "Booléen",- "booleanHint": "Vrai ou faux"- }-}diff --git a/packages/vue/src/locales/it.json b/packages/vue/src/locales/it.jsondeleted file mode 100644index 68b26b7f4..000000000--- a/packages/vue/src/locales/it.json+++ /dev/null@@ -1,411 +0,0 @@-{- "menu": {- "file": "File",- "edit": "Modifica",- "view": "Visualizza",- "object": "Oggetto",- "arrange": "Disponi",- "text": "Testo",- "new": "Nuovo",- "open": "Apri…",- "save": "Salva",- "saveAs": "Salva con nome…",- "exportSelection": "Esporta selezione…",- "autosave": "Salvataggio automatico su file",- "copy": "Copia",- "paste": "Incolla",- "zoomIn": "Ingrandisci",- "zoomOut": "Riduci",- "profiler": "Profilo prestazioni",- "language": "Lingua",- "theme": "Tema",- "themeLight": "Chiaro",- "themeDark": "Scuro",- "themeAuto": "Automatico",- "moveToPage": "Sposta nella pagina",- "createInstance": "Crea istanza",- "hide": "Nascondi",- "show": "Mostra",- "lock": "Blocca",- "unlock": "Sblocca",- "cut": "Taglia",- "front": "Davanti",- "back": "Dietro",- "toggleUI": "Mostra/nascondi interfaccia",- "bold": "Grassetto",- "italic": "Corsivo",- "underline": "Sottolineato",- "pasteHere": "Incolla qui",- "pasteToReplace": "Incolla per sostituire",- "copyPasteAs": "Copia/Incolla come",- "copyAsText": "Copia come testo",- "copyAsSVG": "Copia come SVG",- "copyAsPNG": "Copia come PNG",- "copyAsJSX": "Copia come JSX",- "copyNodeId": "Copia ID nodo",- "copyXPath": "Copia XPath",- "checkUpdates": "Controlla aggiornamenti…",- "booleanOperations": "Operazioni booleane",- "strikethrough": "Barrato",- "closeTab": "Chiudi scheda",- "arrangeAlignLeft": "Allinea a sinistra",- "arrangeAlignCenter": "Centra",- "arrangeAlignRight": "Allinea a destra",- "arrangeAlignTop": "Allinea in alto",- "arrangeAlignMiddle": "Centra verticalmente",- "arrangeAlignBottom": "Allinea in basso"- },- "commands": {- "undo": "Annulla",- "redo": "Ripeti",- "selectAll": "Seleziona tutto",- "duplicate": "Duplica",- "delete": "Elimina",- "group": "Raggruppa",- "ungroup": "Separa",- "createComponent": "Crea componente",- "createComponentSet": "Crea set di componenti",- "createInstance": "Crea istanza",- "detachInstance": "Scollega istanza",- "goToMainComponent": "Vai al componente principale",- "addAutoLayout": "Aggiungi auto-layout",- "bringToFront": "Porta in primo piano",- "sendToBack": "Porta in secondo piano",- "moveToPage": "Sposta nella pagina",- "zoomTo100": "Zoom 100%",- "zoomToFit": "Adatta allo schermo",- "zoomToSelection": "Zoom sulla selezione",- "groupSelection": "Raggruppa",- "frameSelection": "Inserisci selezione in cornice",- "showHide": "Mostra/Nascondi",- "lockUnlock": "Blocca/Sblocca",- "unionSelection": "Unisci selezione",- "subtractSelection": "Sottrai selezione",- "intersectSelection": "Interseca selezione",- "excludeSelection": "Escludi selezione",- "booleanOperations": "Operazioni booleane",- "flipHorizontal": "Rifletti orizzontalmente",- "flipVertical": "Rifletti verticalmente",- "flattenSelection": "Appiattisci",- "outlineText": "Converti testo in tracciato",- "outlineStroke": "Converti traccia in contorno"- },- "tools": {- "move": "Sposta",- "frame": "Cornice",- "section": "Sezione",- "rectangle": "Rettangolo",- "ellipse": "Ellisse",- "line": "Linea",- "polygon": "Poligono",- "star": "Stella",- "pen": "Penna",- "text": "Testo",- "hand": "Mano"- },- "panels": {- "layers": "Livelli",- "pages": "Pagine",- "design": "Design",- "code": "Codice",- "ai": "AI",- "assets": "Risorse",- "page": "Pagina",- "position": "Posizione",- "layout": "Layout",- "autoLayout": "Auto-layout",- "alignment": "Allineamento",- "appearance": "Aspetto",- "fill": "Riempimento",- "stroke": "Contorno",- "effects": "Effetti",- "export": "Esporta",- "typography": "Tipografia",- "variables": "Variabili",- "constraints": "Vincoli",- "addFill": "Aggiungi riempimento",- "addStroke": "Aggiungi contorno",- "addEffect": "Aggiungi effetto",- "addExport": "Aggiungi esportazione",- "dropShadow": "Ombra esterna",- "innerShadow": "Ombra interna",- "layerBlur": "Sfocatura livello",- "backgroundBlur": "Sfocatura sfondo",- "noSelection": "Nessuna selezione",- "noLocalVariables": "Nessuna variabile locale",- "openVariables": "Apri variabili",- "addPage": "Aggiungi pagina",- "toggleVisibility": "Attiva/disattiva visibilità",- "independentCornerRadii": "Raggi angolo indipendenti",- "detachVariable": "Scollega variabile",- "applyVariable": "Applica variabile",- "noVariablesFound": "Nessuna variabile trovata",- "addAutoLayout": "Aggiungi auto-layout",- "removeAutoLayout": "Rimuovi auto-layout",- "mixed": "Misto",- "layersCount": "{count} livelli",- "goToMainComponent": "Vai al componente principale",- "detachInstance": "Scollega istanza",- "solid": "Pieno",- "linearGradient": "Lineare",- "radialGradient": "Radiale",- "image": "Immagine",- "stops": "Punti",- "addStop": "Aggiungi punto",- "alignLeft": "Allinea a sinistra",- "alignCenter": "Centra",- "alignRight": "Allinea a destra",- "alignTop": "Allinea in alto",- "alignMiddle": "Centra verticalmente",- "alignBottom": "Allinea in basso",- "alignCenterHorizontally": "Centra orizzontalmente",- "alignCenterVertically": "Centra verticalmente",- "flipHorizontal": "Rifletti orizzontalmente",- "flipVertical": "Rifletti verticalmente",- "rotate90": "Ruota di 90°",- "mixedFillsHelp": "Fai clic su + per sostituire i riempimenti misti",- "mixedStrokesHelp": "Fai clic su + per sostituire i contorni misti",- "mixedEffectsHelp": "Fai clic su + per sostituire gli effetti misti",- "strokeSides": "Lati del contorno",- "clipContent": "Ritaglia contenuto",- "colorFormatRgb": "RGB",- "colorFormatHsl": "HSL",- "colorFormatHsb": "HSB",- "colorFormatOkhcl": "OkHCL",- "colorHintHsl": "H tonalità · S saturazione · L luminosità",- "colorHintHsb": "H tonalità · S saturazione · B luminosità",- "colorHintOkhcl": "H tonalità · C croma · L luminosità · A alfa",- "colorPreviewClipped": "Ritagliato alla gamma anteprima {space}",- "rulers": "Righelli",- "multiplayerCursors": "Cursori degli altri partecipanti",- "direction": "Direzione",- "flow": "Flusso",- "auto": "Auto",- "columns": "Colonne",- "rows": "Righe",- "sizingFixed": "Fisso",- "sizingHug": "Adatta al contenuto",- "sizingFill": "Riempi",- "sizingHugShort": "Adatt.",- "sizingFillShort": "Riemp.",- "sizingFillFr": "Riempi (fr)",- "sizingFixedPx": "Fisso (px)",- "strokeAlignInside": "Interno",- "strokeAlignCenter": "Centro",- "strokeAlignOutside": "Esterno",- "exportPreview": "Anteprima",- "exportRenderingPreview": "Rendering anteprima…",- "createVariable": "Crea variabile",- "createColorVariable": "Crea variabile colore da {value}",- "variableName": "Nome variabile",- "create": "Crea",- "createNumberVariable": "Crea variabile numerica da {value}",- "strokeDash": "Tratto tratteggiato",- "add": "Aggiungi",- "variants": "Varianti",- "gapAuto": "Spaziatura auto",- "horizontalGap": "Spaziatura orizzontale",- "verticalGap": "Spaziatura verticale",- "addMinWidth": "Aggiungi larghezza min",- "removeMinWidth": "Rimuovi larghezza min",- "addMaxWidth": "Aggiungi larghezza max",- "removeMaxWidth": "Rimuovi larghezza max",- "addMinHeight": "Aggiungi altezza min",- "removeMinHeight": "Rimuovi altezza min",- "addMaxHeight": "Aggiungi altezza max",- "removeMaxHeight": "Rimuovi altezza max",- "minWidthShort": "Min L",- "maxWidthShort": "Max L",- "minHeightShort": "Min A",- "maxHeightShort": "Max A",- "setToCurrentWidth": "Imposta larghezza attuale",- "setToCurrentHeight": "Imposta altezza attuale",- "searchLocalComponents": "Cerca componenti locali",- "assetLibraryBadge": "Libreria",- "assetVariantSummary": "{count} varianti · {names}",- "duplicateVariantValues": "Valori variante duplicati",- "openDocumentation": "Apri documentazione",- "noLocalComponents": "Nessun componente locale",- "componentSet": "Set di componenti",- "component": "Componente",- "insertInstance": "Inserisci istanza",- "description": "Descrizione",- "documentation": "Documentazione",- "openDocs": "Apri documentazione",- "properties": "Proprietà",- "removeFill": "Rimuovi riempimento",- "removeStroke": "Rimuovi traccia",- "removeEffect": "Rimuovi effetto",- "removeExport": "Rimuovi esportazione",- "effectSettings": "Impostazioni effetto",- "expandEffectSettings": "Espandi impostazioni effetto",- "collapseEffectSettings": "Comprimi impostazioni effetto",- "toggleExportPreview": "Mostra/nascondi anteprima esportazione",- "untitled": "Senza titolo",- "nodeCopyString": " copia",- "xAxis": "Asse X",- "yAxis": "Asse Y",- "rotation": "Rotazione",- "width": "Larghezza",- "height": "Altezza",- "opacity": "Opacità",- "radius": "Raggio",- "spread": "Diffusione",- "foregroundBlur": "Sfocatura primo piano",- "strokeType": "Tipo tratto",- "strokeWeight": "Spessore tratto",- "exportScale": "Scala esportazione",- "exportFormat": "Formato esportazione",- "gap": "Spazio",- "searchFonts": "Cerca font..."- },- "pages": {- "newPage": "Nuova pagina",- "rename": "Rinomina",- "delete": "Elimina",- "pageName": "Pagina {number}"- },- "dialogs": {- "cancel": "Annulla",- "apply": "Applica",- "close": "Chiudi",- "ok": "OK",- "copy": "Copia",- "copied": "Copiato",- "createCollection": "Crea raccolta",- "localVariables": "Variabili locali",- "noVariableCollections": "Nessuna raccolta di variabili",- "selectLayerForJSX": "Seleziona un livello per vedere il suo codice JSX",- "connectAIProvider": "Collega un provider AI per iniziare a chattare.",- "connect": "Connetti",- "testConnection": "Test connection",- "testingConnection": "Testing…",- "connectionTestSuccess": "Connected successfully. Model is reachable.",- "connectionTestMissingAPIKey": "Enter an API key before testing.",- "connectionTestMissingBaseURL": "Enter a base URL before testing.",- "connectionTestMissingModel": "Enter a model ID before testing.",- "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",- "connectionTestAuthFailed": "Authentication failed. Check your API key.",- "connectionTestModelNotFound": "Model not found. Check the model ID.",- "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",- "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",- "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",- "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",- "getAPIKey": "Ottieni una chiave API {provider} →",- "oneKeyManyModels": "Una chiave per oltre 100 modelli di tutti i provider.",- "describeChange": "Descrivi una modifica…",- "describeCreateOrChange": "Descrivi cosa vuoi creare o cambiare.",- "stopGenerating": "Interrompi generazione",- "sendMessage": "Invia messaggio",- "baseURLPlaceholder": "Base URL (es. http://localhost:11434/v1)",- "modelIDPlaceholder": "Model ID (es. llama-3.3-70b)",- "yourName": "Il tuo nome",- "enterYourName": "Inserisci il tuo nome",- "shareThisFile": "Condividi questo file",- "joinRoom": "Entra nella stanza",- "join": "Entra",- "roomLink": "Link della stanza",- "joinCollaboration": "Partecipa alla collaborazione",- "orJoinRoom": "o entra in una stanza",- "pasteRoomLinkOrId": "Incolla il link o l'ID della stanza",- "connected": "Connesso",- "search": "Cerca…",- "noResults": "Nessun risultato",- "share": "Condividi",- "appUpToDate": "OpenPencil è aggiornato",- "updateAvailableTitle": "Aggiorna OpenPencil",- "updateAvailable": "OpenPencil {version} è disponibile.",- "updateInstallPrompt": "Scaricare e installare ora? L’app verrà riavviata dopo l’installazione dell’aggiornamento.",- "downloadingUpdate": "Download di OpenPencil {version}",- "updateInstalledTitle": "Aggiornamento installato",- "updateInstalled": "OpenPencil {version} è stato installato{size}. Riavvio in corso.",- "updateCheckFailed": "Impossibile controllare gli aggiornamenti: {error}",- "updateUnavailable": "Gli aggiornamenti non sono ancora disponibili. Pubblica prima una release firmata con latest.json.",- "renameCollection": "Rinomina raccolta",- "deleteCollection": "Elimina raccolta",- "modes": "Modalita",- "addMode": "Aggiungi modalita",- "renameMode": "Rinomina modalita",- "duplicateMode": "Duplica modalita",- "deleteMode": "Elimina modalita",- "setDefaultMode": "Imposta come predefinita",- "aiProvider": "AI Provider",- "providerSettings": "Provider settings",- "done": "Done",- "apiKey": "API Key",- "apiType": "API Type",- "baseURL": "Base URL",- "modelID": "Model ID",- "maxOutputTokens": "Max output tokens",- "clear": "Clear",- "keySavedReplace": "Key saved — enter new to replace",- "getAPIKeyGeneric": "Get API key →",- "pexelsAPIKey": "Pexels API Key (stock photos)",- "unsplashAccessKey": "Unsplash Access Key",- "stockPhotoToolOptional": "Optional — for stock_photo tool",- "pexelsAlternativeOptional": "Optional — alternative to Pexels",- "getPexelsAPIKey": "Get free Pexels API key →",- "getUnsplashAccessKey": "Get free Unsplash access key →",- "completions": "Completions",- "responses": "Responses",- "copiedExclamation": "Copiato!",- "copyMessage": "Copia messaggio",- "copyJSXReference": "Copia riferimento props JSX negli appunti",- "newTab": "Nuova scheda",- "closeTab": "Chiudi {name}",- "showUI": "Mostra interfaccia ({shortcut})",- "fontSettings": "Impostazioni font",- "fontSettingsDesktopDescription": "Accedi ai font di sistema, ai provider online, ai pacchetti di fallback e ai download nella cache.",- "fontSettingsBrowserDescription": "Consenti al browser di accedere ai font locali e gestisci i provider di font online.",- "localFonts": "Font locali",- "onlineFonts": "Font online",- "downloadedCache": "Cache scaricata",- "lastUpdated": "Ultimo aggiornamento",- "enabled": "Abilitato",- "disabled": "Disabilitato",- "denied": "Negato",- "unavailable": "Non disponibile",- "notRequested": "Non richiesto",- "never": "Mai",- "systemFontAccess": "Accesso ai font di sistema",- "systemFontsAvailable": "I font di sistema sono disponibili.",- "allowBrowserFontAccess": "Consenti l’accesso ai font del browser quando mancano font di sistema.",- "allow": "Consenti",- "requesting": "Richiesta…",- "onlineFontProviders": "Provider di font online",- "downloadMissingWebFonts": "Scarica i font web mancanti tramite i provider abilitati.",- "webFontProvidersRequireDesktopApp": "I cataloghi dei provider di font online non sono disponibili nell’app web. Scarica l’app desktop per sfogliare e caricare i font dei provider.",- "enable": "Abilita",- "disable": "Disabilita",- "fallbackPacks": "Pacchetti di fallback",- "downloadFallbackPacksDescription": "Scarica fallback CJK e arabi prima di aprire file che li richiedono.",- "download": "Scarica",- "downloading": "Download…",- "refresh": "Aggiorna",- "clearCache": "Svuota cache",- "localFontAccessEnabled": "Accesso ai font locali abilitato.",- "localFontAccessNotGranted": "Accesso ai font locali non concesso.",- "onlineFontProvidersEnabled": "Provider di font online abilitati.",- "onlineFontProvidersDisabled": "Provider di font online disabilitati.",- "fontProviderEnabled": "{provider} abilitato.",- "fontProviderDisabled": "{provider} disabilitato.",- "fallbackFontsDownloaded": "Font di fallback scaricati.",- "fallbackFontsDownloadFailed": "Impossibile scaricare i font di fallback.",- "downloadedFontCacheCleared": "Cache dei font scaricati svuotata.",- "downloadedFontCacheClearFailed": "Impossibile svuotare la cache dei font scaricati.",- "you": "Tu",- "youSuffix": "tu",- "followingPeerStop": "Segui {name} (clic per interrompere)",- "clickToFollowPeer": "Fai clic per seguire {name}"- },- "variableTypes": {- "color": "Colore",- "colorHint": "Valori colore",- "number": "Numero",- "numberHint": "Dimensioni, spaziatura, opacità",- "text": "Testo",- "textHint": "Testi ed etichette",- "boolean": "Booleano",- "booleanHint": "Vero o falso"- }-}diff --git a/packages/vue/src/locales/ja.json b/packages/vue/src/locales/ja.jsondeleted file mode 100644index 175be61ef..000000000--- a/packages/vue/src/locales/ja.json+++ /dev/null@@ -1,411 +0,0 @@-{- "menu": {- "file": "ファイル",- "edit": "編集",- "view": "表示",- "object": "オブジェクト",- "arrange": "配置",- "text": "テキスト",- "new": "新規作成",- "open": "開く…",- "save": "保存",- "saveAs": "名前を付けて保存…",- "exportSelection": "選択範囲をエクスポート…",- "autosave": "ファイルに自動保存",- "copy": "コピー",- "paste": "貼り付け",- "theme": "テーマ",- "themeLight": "ライト",- "themeDark": "ダーク",- "themeAuto": "自動",- "profiler": "パフォーマンスプロファイラー",- "language": "言語",- "toggleUI": "UIの切り替え",- "moveToPage": "ページへ移動",- "createInstance": "インスタンスを作成",- "hide": "非表示",- "show": "表示",- "lock": "ロック",- "unlock": "ロック解除",- "cut": "切り取り",- "front": "最前面へ",- "back": "最背面へ",- "bold": "太字",- "italic": "斜体",- "underline": "下線",- "strikethrough": "打ち消し線",- "pasteHere": "ここに貼り付け",- "pasteToReplace": "貼り付けて置換",- "copyPasteAs": "形式を選択してコピー/貼り付け",- "copyAsText": "テキストとしてコピー",- "copyAsSVG": "SVGとしてコピー",- "copyAsPNG": "PNGとしてコピー",- "copyAsJSX": "JSXとしてコピー",- "copyNodeId": "ノードIDをコピー",- "copyXPath": "XPathをコピー",- "checkUpdates": "アップデートを確認…",- "booleanOperations": "パスの型抜き (ブーリアン演算)",- "closeTab": "タブを閉じる",- "zoomIn": "拡大",- "zoomOut": "縮小",- "arrangeAlignLeft": "左揃え",- "arrangeAlignCenter": "中央揃え",- "arrangeAlignRight": "右揃え",- "arrangeAlignTop": "上揃え",- "arrangeAlignMiddle": "上下中央揃え",- "arrangeAlignBottom": "下揃え"- },- "commands": {- "undo": "元に戻す",- "redo": "やり直し",- "selectAll": "すべて選択",- "duplicate": "複製",- "delete": "削除",- "group": "グループ化",- "ungroup": "グループ解除",- "createComponent": "コンポーネントを作成",- "createComponentSet": "コンポーネントセットを作成",- "createInstance": "インスタンスを作成",- "detachInstance": "インスタンスの切り離し",- "goToMainComponent": "メインコンポーネントに移動",- "addAutoLayout": "オートレイアウトを追加",- "bringToFront": "最前面へ移動",- "sendToBack": "最背面へ移動",- "moveToPage": "ページへ移動",- "zoomTo100": "100%にズーム",- "zoomToFit": "画面に合わせる",- "zoomToSelection": "選択範囲にズーム",- "groupSelection": "グループ化",- "frameSelection": "選択範囲をフレーム化",- "showHide": "表示/非表示",- "lockUnlock": "ロック/ロック解除",- "unionSelection": "選択範囲を結合 (合体)",- "subtractSelection": "選択範囲を型抜き (型抜き)",- "intersectSelection": "選択範囲を交差 (交差)",- "excludeSelection": "選択範囲を中抜き (除外)",- "booleanOperations": "ブーリアン演算",- "flipHorizontal": "水平方向に反転",- "flipVertical": "垂直方向に反転",- "flattenSelection": "フラット化",- "outlineText": "テキストのアウトライン化",- "outlineStroke": "線の境界線をプレビュー (パスのアウトライン化)"- },- "tools": {- "move": "移動",- "frame": "フレーム",- "section": "セクション",- "rectangle": "長方形",- "ellipse": "楕円",- "line": "直線",- "polygon": "多角形",- "star": "スター",- "pen": "ペンツール",- "text": "テキスト",- "hand": "手のひらツール"- },- "panels": {- "untitled": "無題",- "nodeCopyString": " コピー",- "layers": "レイヤー",- "pages": "ページ",- "design": "デザイン",- "code": "コード",- "ai": "AI",- "assets": "アセット",- "page": "ページ",- "position": "位置",- "layout": "レイアウト",- "autoLayout": "オートレイアウト",- "alignment": "整列",- "appearance": "外観",- "xAxis": "X軸",- "yAxis": "Y軸",- "rotation": "回転",- "width": "幅",- "height": "高さ",- "opacity": "不透明度",- "radius": "角丸",- "spread": "スプレッド",- "fill": "塗り",- "stroke": "線",- "effects": "エフェクト",- "export": "エクスポート",- "typography": "タイポグラフィ",- "variables": "変数",- "constraints": "制約",- "addFill": "塗りを追加",- "addStroke": "線を追加",- "addEffect": "エフェクトを追加",- "addExport": "エクスポートを追加",- "dropShadow": "ドロップシャドウ",- "innerShadow": "インナーシャドウ",- "layerBlur": "レイヤーぼかし",- "backgroundBlur": "背景ぼかし",- "foregroundBlur": "ぼかし",- "strokeType": "線のタイプ",- "strokeWeight": "線の太さ",- "noSelection": "選択なし",- "noLocalVariables": "ローカル変数なし",- "openVariables": "変数を開く",- "addPage": "ページを追加",- "toggleVisibility": "表示/非表示の切り替え",- "independentCornerRadii": "個別の角丸",- "detachVariable": "変数のリンクを解除",- "applyVariable": "変数を適用",- "noVariablesFound": "変数が見つかりません",- "addAutoLayout": "オートレイアウトを追加",- "removeAutoLayout": "オートレイアウトを削除",- "mixed": "複数選択",- "layersCount": "{count} 個のレイヤー",- "goToMainComponent": "メインコンポーネントに移動",- "detachInstance": "インスタンスの切り離し",- "solid": "ソリッド (単色)",- "linearGradient": "線形グラデーション",- "radialGradient": "放射状グラデーション",- "image": "画像",- "stops": "カラーピッカーの分岐点",- "addStop": "分岐点を追加",- "alignLeft": "左揃え",- "alignCenter": "中央揃え",- "alignRight": "右揃え",- "alignTop": "上揃え",- "alignMiddle": "上下中央揃え",- "alignBottom": "下揃え",- "alignCenterHorizontally": "水平方向の中央揃え",- "alignCenterVertically": "垂直方向の中央揃え",- "flipHorizontal": "水平方向に反転",- "flipVertical": "垂直方向に反転",- "rotate90": "90°回転",- "mixedFillsHelp": "+ をクリックして混合塗りを置換",- "mixedStrokesHelp": "+ をクリックして混合線を置換",- "mixedEffectsHelp": "+ をクリックして混合エフェクトを置換",- "strokeSides": "線の位置",- "clipContent": "コンテンツをクリップ",- "colorFormatRgb": "RGB",- "colorFormatHsl": "HSL",- "colorFormatHsb": "HSB",- "colorFormatOkhcl": "OkHCL",- "colorHintHsl": "H 色相 · S 彩度 · L 輝度",- "colorHintHsb": "H 色相 · S 彩度 · B 明度",- "colorHintOkhcl": "H 色相 · C クロマ · L 輝度 · A アルファ",- "colorPreviewClipped": "プレビュー色域にクリップされました {space}",- "rulers": "定規",- "multiplayerCursors": "他の参加者のカーソル",- "direction": "方向",- "flow": "フロー",- "auto": "自動",- "columns": "列",- "rows": "行",- "gap": "間隔",- "sizingFixed": "固定",- "sizingHug": "コンテンツに合わせる",- "sizingFill": "コンテナを満たす",- "sizingHugShort": "合わせる",- "sizingFillShort": "満たす",- "sizingFillFr": "満たす (fr)",- "sizingFixedPx": "固定 (px)",- "strokeAlignInside": "内側",- "strokeAlignCenter": "中央",- "strokeAlignOutside": "外側",- "exportScale": "エクスポート倍率",- "exportFormat": "エクスポート形式",- "exportPreview": "プレビュー",- "exportRenderingPreview": "プレビューをレンダリング中…",- "createVariable": "変数を作成",- "createColorVariable": "{value} からカラー変数を作成",- "variableName": "変数名",- "create": "作成",- "createNumberVariable": "{value} から数値変数を作成",- "strokeDash": "破線",- "add": "追加",- "variants": "バリアント",- "gapAuto": "間隔自動",- "horizontalGap": "水平方向の間隔",- "verticalGap": "垂直方向の間隔",- "addMinWidth": "最小幅を追加",- "removeMinWidth": "最小幅を削除",- "addMaxWidth": "最大幅を追加",- "removeMaxWidth": "最大幅を削除",- "addMinHeight": "最小高さを追加",- "removeMinHeight": "最小高さを削除",- "addMaxHeight": "最大高さを追加",- "removeMaxHeight": "最大高さを削除",- "minWidthShort": "最小幅",- "maxWidthShort": "最大幅",- "minHeightShort": "最小高",- "maxHeightShort": "最大高",- "setToCurrentWidth": "現在の幅に設定",- "setToCurrentHeight": "現在の高さに設定",- "searchLocalComponents": "ローカルコンポーネントを検索",- "assetLibraryBadge": "ライブラリ",- "assetVariantSummary": "{count} 個のバリアント · {names}",- "duplicateVariantValues": "重複したバリアント値",- "openDocumentation": "ドキュメントを開く",- "noLocalComponents": "ローカルコンポーネントはありません",- "componentSet": "コンポーネントセット",- "component": "コンポーネント",- "insertInstance": "インスタンスを挿入",- "description": "説明",- "documentation": "ドキュメント",- "openDocs": "ドキュメントを開く",- "properties": "プロパティ",- "removeFill": "塗りを削除",- "removeStroke": "線を削除",- "removeEffect": "エフェクトを削除",- "removeExport": "エクスポートを削除",- "effectSettings": "エフェクト設定",- "expandEffectSettings": "エフェクト設定を展開",- "collapseEffectSettings": "エフェクト設定を折りたたむ",- "toggleExportPreview": "エクスポートプレビューの切り替え",- "searchFonts": "フォントを検索..."- },- "pages": {- "newPage": "新しいページ",- "rename": "名前を変更",- "delete": "削除",- "pageName": "ページ {number}"- },- "dialogs": {- "cancel": "キャンセル",- "apply": "適用",- "close": "閉じる",- "ok": "確定",- "copy": "コピー",- "copied": "コピーしました",- "createCollection": "コレクションを作成",- "localVariables": "ローカル変数",- "noVariableCollections": "変数コレクションがありません",- "selectLayerForJSX": "JSXコードを表示するレイヤーを選択してください",- "connectAIProvider": "チャットを始めるには、AIプロバイダーを接続してください。",- "connect": "接続",- "testConnection": "Test connection",- "testingConnection": "Testing…",- "connectionTestSuccess": "Connected successfully. Model is reachable.",- "connectionTestMissingAPIKey": "Enter an API key before testing.",- "connectionTestMissingBaseURL": "Enter a base URL before testing.",- "connectionTestMissingModel": "Enter a model ID before testing.",- "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",- "connectionTestAuthFailed": "Authentication failed. Check your API key.",- "connectionTestModelNotFound": "Model not found. Check the model ID.",- "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",- "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",- "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",- "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",- "getAPIKey": "{provider} からAPIキーを取得 →",- "oneKeyManyModels": "1つのキーで、すべてのプロバイダーの100以上のモデルに対応。",- "describeChange": "変更内容を入力…",- "describeCreateOrChange": "作成または変更したい内容を入力してください。",- "stopGenerating": "生成を停止",- "sendMessage": "メッセージを送信",- "baseURLPlaceholder": "ベースURL (例: http://localhost:11434/v1)",- "modelIDPlaceholder": "モデルID (例: llama-3.3-70b)",- "yourName": "お名前",- "enterYourName": "名前を入力してください",- "shareThisFile": "このファイルを共有",- "joinRoom": "ルームに参加",- "join": "参加",- "roomLink": "ルームのリンク",- "joinCollaboration": "共同編集に参加",- "orJoinRoom": "またはルームに参加",- "pasteRoomLinkOrId": "ルームのリンクまたはIDを貼り付け",- "connected": "接続済み",- "search": "検索…",- "noResults": "結果がありません",- "share": "共有",- "appUpToDate": "OpenPencilは最新の状態です",- "updateAvailableTitle": "OpenPencilのアップデート",- "updateAvailable": "OpenPencil のバージョン {version} が利用可能です。",- "updateInstallPrompt": "今すぐダウンロードしてインストールしますか?インストール後、アプリが再起動します。",- "downloadingUpdate": "OpenPencil {version} をダウンロード中",- "updateInstalledTitle": "アップデート完了",- "updateInstalled": "OpenPencil のバージョン {version} がインストールされました{size}。再起動しています...",- "updateCheckFailed": "アップデートの確認中にエラーが発生しました: {error}",- "updateUnavailable": "アップデートはまだ利用できません。まず、latest.json を含む署名付きバージョンを公開してください。",- "renameCollection": "コレクションの名前を変更",- "deleteCollection": "コレクションを削除",- "modes": "モード",- "addMode": "モードを追加",- "renameMode": "モードの名前を変更",- "duplicateMode": "モードを複製",- "deleteMode": "モードを削除",- "setDefaultMode": "デフォルトに設定",- "aiProvider": "AIプロバイダー",- "providerSettings": "プロバイダー設定",- "done": "完了",- "apiKey": "APIキー",- "apiType": "APIタイプ",- "baseURL": "ベースURL",- "modelID": "モデルID",- "maxOutputTokens": "最大出力トークン数",- "clear": "クリア",- "keySavedReplace": "キーが保存されました - 上書きするには新しいキーを入力してください",- "getAPIKeyGeneric": "APIキーを取得 →",- "pexelsAPIKey": "PexelsのAPIキー (ストックフォト)",- "unsplashAccessKey": "Unsplashのアクセスキー",- "stockPhotoToolOptional": "任意 — stock_photoツール用",- "pexelsAlternativeOptional": "任意 — Pexelsの代替案",- "getPexelsAPIKey": "Pexelsの無料APIキーを取得 →",- "getUnsplashAccessKey": "Unsplashの無料アクセスキーを取得 →",- "completions": "入力補完",- "responses": "応答",- "copiedExclamation": "コピーしました!",- "copyMessage": "メッセージをコピー",- "copyJSXReference": "JSXのprops参照をクリップボードにコピー",- "newTab": "新しいタブ",- "closeTab": "{name} を閉じる",- "showUI": "UIを表示 ({shortcut})",- "fontSettings": "フォント設定",- "fontSettingsDesktopDescription": "システムフォント、オンラインプロバイダー、フォールバックパック、キャッシュ済みダウンロードにアクセスします。",- "fontSettingsBrowserDescription": "ローカルフォントへのブラウザーアクセスを許可し、オンラインフォントプロバイダーを管理します。",- "localFonts": "ローカルフォント",- "onlineFonts": "オンラインフォント",- "downloadedCache": "ダウンロード済みキャッシュ",- "lastUpdated": "最終更新",- "enabled": "有効",- "disabled": "無効",- "denied": "拒否",- "unavailable": "利用不可",- "notRequested": "未要求",- "never": "なし",- "systemFontAccess": "システムフォントアクセス",- "systemFontsAvailable": "システムフォントを利用できます。",- "allowBrowserFontAccess": "システムフォントが見つからない場合にブラウザーのフォントアクセスを許可します。",- "allow": "許可",- "requesting": "要求中…",- "onlineFontProviders": "オンラインフォントプロバイダー",- "downloadMissingWebFonts": "有効なプロバイダーから不足しているWebフォントをダウンロードします。",- "webFontProvidersRequireDesktopApp": "オンラインフォントプロバイダーのカタログはWebアプリでは利用できません。プロバイダーのフォントを参照して読み込むにはデスクトップアプリをダウンロードしてください。",- "enable": "有効にする",- "disable": "無効にする",- "fallbackPacks": "フォールバックパック",- "downloadFallbackPacksDescription": "必要なファイルを開く前に、CJKとアラビア語のフォールバックをダウンロードします。",- "download": "ダウンロード",- "downloading": "ダウンロード中…",- "refresh": "更新",- "clearCache": "キャッシュをクリア",- "localFontAccessEnabled": "ローカルフォントアクセスを有効にしました。",- "localFontAccessNotGranted": "ローカルフォントアクセスは許可されませんでした。",- "onlineFontProvidersEnabled": "オンラインフォントプロバイダーを有効にしました。",- "onlineFontProvidersDisabled": "オンラインフォントプロバイダーを無効にしました。",- "fontProviderEnabled": "{provider} を有効にしました。",- "fontProviderDisabled": "{provider} を無効にしました。",- "fallbackFontsDownloaded": "フォールバックフォントをダウンロードしました。",- "fallbackFontsDownloadFailed": "フォールバックフォントをダウンロードできませんでした。",- "downloadedFontCacheCleared": "ダウンロード済みフォントキャッシュをクリアしました。",- "downloadedFontCacheClearFailed": "ダウンロード済みフォントキャッシュをクリアできませんでした。",- "you": "あなた",- "youSuffix": "あなた",- "followingPeerStop": "{name} をフォロー中 (クリックして停止)",- "clickToFollowPeer": "クリックして {name} をフォロー"- },- "variableTypes": {- "color": "カラー",- "colorHint": "塗りの値",- "number": "数値",- "numberHint": "サイズ、間隔、不透明度",- "text": "テキスト",- "textHint": "テキストとラベル",- "boolean": "ブーリアン (真偽値)",- "booleanHint": "真 (True) または 偽 (False)"- }-}diff --git a/packages/vue/src/locales/pl.json b/packages/vue/src/locales/pl.jsondeleted file mode 100644index ceb73aa95..000000000--- a/packages/vue/src/locales/pl.json+++ /dev/null@@ -1,411 +0,0 @@-{- "menu": {- "file": "Plik",- "edit": "Edycja",- "view": "Widok",- "object": "Obiekt",- "arrange": "Rozmieszczenie",- "text": "Tekst",- "new": "Nowy",- "open": "Otwórz…",- "save": "Zapisz",- "saveAs": "Zapisz jako…",- "exportSelection": "Eksportuj zaznaczenie…",- "autosave": "Automatyczny zapis do pliku",- "copy": "Kopiuj",- "paste": "Wklej",- "zoomIn": "Powiększ",- "zoomOut": "Pomniejsz",- "profiler": "Profiler wydajności",- "theme": "Motyw",- "themeLight": "Jasny",- "themeDark": "Ciemny",- "themeAuto": "Automatycznie",- "language": "Język",- "moveToPage": "Przenieś na stronę",- "createInstance": "Utwórz instancję",- "hide": "Ukryj",- "show": "Pokaż",- "lock": "Zablokuj",- "unlock": "Odblokuj",- "cut": "Wytnij",- "front": "Do przodu",- "back": "Do tyłu",- "toggleUI": "Przełącz interfejs",- "bold": "Pogrubienie",- "italic": "Kursywa",- "underline": "Podkreślenie",- "pasteHere": "Wklej tutaj",- "pasteToReplace": "Wklej, aby zastąpić",- "copyPasteAs": "Kopiuj/Wklej jako",- "copyAsText": "Kopiuj jako tekst",- "copyAsSVG": "Kopiuj jako SVG",- "copyAsPNG": "Kopiuj jako PNG",- "copyAsJSX": "Kopiuj jako JSX",- "copyNodeId": "Kopiuj ID węzła",- "copyXPath": "Kopiuj XPath",- "checkUpdates": "Sprawdź aktualizacje…",- "booleanOperations": "Operacje logiczne",- "strikethrough": "Przekreślenie",- "closeTab": "Zamknij kartę",- "arrangeAlignLeft": "Wyrównaj do lewej",- "arrangeAlignCenter": "Wyśrodkuj",- "arrangeAlignRight": "Wyrównaj do prawej",- "arrangeAlignTop": "Wyrównaj do góry",- "arrangeAlignMiddle": "Wyśrodkuj w pionie",- "arrangeAlignBottom": "Wyrównaj do dołu"- },- "commands": {- "undo": "Cofnij",- "redo": "Ponów",- "selectAll": "Zaznacz wszystko",- "duplicate": "Duplikuj",- "delete": "Usuń",- "group": "Grupuj",- "ungroup": "Rozgrupuj",- "createComponent": "Utwórz komponent",- "createComponentSet": "Utwórz zestaw komponentów",- "createInstance": "Utwórz instancję",- "detachInstance": "Odłącz instancję",- "goToMainComponent": "Przejdź do komponentu",- "addAutoLayout": "Dodaj auto-layout",- "bringToFront": "Przenieś na wierzch",- "sendToBack": "Przenieś na spód",- "moveToPage": "Przenieś na stronę",- "zoomTo100": "Zoom 100%",- "zoomToFit": "Dopasuj do ekranu",- "zoomToSelection": "Zoom do zaznaczenia",- "groupSelection": "Grupuj",- "frameSelection": "Umieść zaznaczenie w ramce",- "showHide": "Pokaż/Ukryj",- "lockUnlock": "Zablokuj/Odblokuj",- "unionSelection": "Połącz zaznaczenie",- "subtractSelection": "Odejmij zaznaczenie",- "intersectSelection": "Przetnij zaznaczenie",- "excludeSelection": "Wyklucz zaznaczenie",- "booleanOperations": "Operacje logiczne",- "flipHorizontal": "Odbij poziomo",- "flipVertical": "Odbij pionowo",- "flattenSelection": "Spłaszcz",- "outlineText": "Kontur tekstu",- "outlineStroke": "Kontur obrysu"- },- "tools": {- "move": "Przesuń",- "frame": "Ramka",- "section": "Sekcja",- "rectangle": "Prostokąt",- "ellipse": "Elipsa",- "line": "Linia",- "polygon": "Wielokąt",- "star": "Gwiazda",- "pen": "Pióro",- "text": "Tekst",- "hand": "Dłoń"- },- "panels": {- "layers": "Warstwy",- "pages": "Strony",- "design": "Design",- "code": "Kod",- "ai": "AI",- "assets": "Zasoby",- "page": "Strona",- "position": "Pozycja",- "layout": "Układ",- "autoLayout": "Auto-layout",- "alignment": "Wyrównanie",- "appearance": "Wygląd",- "fill": "Wypełnienie",- "stroke": "Obrys",- "effects": "Efekty",- "export": "Eksport",- "typography": "Typografia",- "variables": "Zmienne",- "constraints": "Ograniczenia",- "addFill": "Dodaj wypełnienie",- "addStroke": "Dodaj obrys",- "addEffect": "Dodaj efekt",- "addExport": "Dodaj eksport",- "dropShadow": "Cień",- "innerShadow": "Cień wewnętrzny",- "layerBlur": "Rozmycie warstwy",- "backgroundBlur": "Rozmycie tła",- "noSelection": "Brak zaznaczenia",- "noLocalVariables": "Brak lokalnych zmiennych",- "openVariables": "Otwórz zmienne",- "addPage": "Dodaj stronę",- "toggleVisibility": "Przełącz widoczność",- "independentCornerRadii": "Niezależne promienie rogów",- "detachVariable": "Odłącz zmienną",- "applyVariable": "Zastosuj zmienną",- "noVariablesFound": "Nie znaleziono zmiennych",- "addAutoLayout": "Dodaj auto-layout",- "removeAutoLayout": "Usuń auto-layout",- "mixed": "Mieszane",- "layersCount": "{count} warstw",- "goToMainComponent": "Przejdź do głównego komponentu",- "detachInstance": "Odłącz instancję",- "solid": "Jednolity",- "linearGradient": "Liniowy",- "radialGradient": "Promieniowy",- "image": "Obraz",- "stops": "Punkty",- "addStop": "Dodaj punkt",- "alignLeft": "Wyrównaj do lewej",- "alignCenter": "Wyśrodkuj",- "alignRight": "Wyrównaj do prawej",- "alignTop": "Wyrównaj do góry",- "alignMiddle": "Wyśrodkuj w pionie",- "alignBottom": "Wyrównaj do dołu",- "alignCenterHorizontally": "Wyśrodkuj poziomo",- "alignCenterVertically": "Wyśrodkuj pionowo",- "flipHorizontal": "Odbij poziomo",- "flipVertical": "Odbij pionowo",- "rotate90": "Obróć o 90°",- "mixedFillsHelp": "Kliknij +, aby zastąpić mieszane wypełnienia",- "mixedStrokesHelp": "Kliknij +, aby zastąpić mieszane obrysy",- "mixedEffectsHelp": "Kliknij +, aby zastąpić mieszane efekty",- "strokeSides": "Boki obrysu",- "clipContent": "Przytnij zawartość",- "colorFormatRgb": "RGB",- "colorFormatHsl": "HSL",- "colorFormatHsb": "HSB",- "colorFormatOkhcl": "OkHCL",- "colorHintHsl": "H odcień · S nasycenie · L jasność",- "colorHintHsb": "H odcień · S nasycenie · B jasność",- "colorHintOkhcl": "H odcień · C chroma · L jasność · A alfa",- "colorPreviewClipped": "Przycięto do gammy podglądu {space}",- "rulers": "Linijki",- "multiplayerCursors": "Kursory innych uczestników",- "direction": "Kierunek",- "flow": "Przepływ",- "auto": "Auto",- "columns": "Kolumny",- "rows": "Wiersze",- "sizingFixed": "Stały",- "sizingHug": "Dopasuj do zawartości",- "sizingFill": "Wypełnij",- "sizingHugShort": "Dopas.",- "sizingFillShort": "Wypełn.",- "sizingFillFr": "Wypełnij (fr)",- "sizingFixedPx": "Stały (px)",- "strokeAlignInside": "Wewnętrzny",- "strokeAlignCenter": "Wyśrodkowany",- "strokeAlignOutside": "Zewnętrzny",- "exportPreview": "Podgląd",- "exportRenderingPreview": "Renderowanie podglądu…",- "createVariable": "Utwórz zmienną",- "createColorVariable": "Utwórz zmienną koloru z {value}",- "variableName": "Nazwa zmiennej",- "create": "Utwórz",- "createNumberVariable": "Utwórz zmienną liczbową z {value}",- "strokeDash": "Obrys przerywany",- "add": "Dodaj",- "variants": "Warianty",- "gapAuto": "Automatyczny odstep",- "horizontalGap": "Odstep poziomy",- "verticalGap": "Odstep pionowy",- "addMinWidth": "Dodaj min. szerokosc",- "removeMinWidth": "Usun min. szerokosc",- "addMaxWidth": "Dodaj maks. szerokosc",- "removeMaxWidth": "Usun maks. szerokosc",- "addMinHeight": "Dodaj min. wysokosc",- "removeMinHeight": "Usun min. wysokosc",- "addMaxHeight": "Dodaj maks. wysokosc",- "removeMaxHeight": "Usun maks. wysokosc",- "minWidthShort": "Min Sz",- "maxWidthShort": "Maks Sz",- "minHeightShort": "Min W",- "maxHeightShort": "Maks W",- "setToCurrentWidth": "Ustaw biezaca szerokosc",- "setToCurrentHeight": "Ustaw biezaca wysokosc",- "searchLocalComponents": "Szukaj lokalnych komponentów",- "assetLibraryBadge": "Biblioteka",- "assetVariantSummary": "{count} wariantów · {names}",- "duplicateVariantValues": "Zduplikowane wartości wariantu",- "openDocumentation": "Otwórz dokumentację",- "noLocalComponents": "Brak lokalnych komponentów",- "componentSet": "Zestaw komponentów",- "component": "Komponent",- "insertInstance": "Wstaw instancję",- "description": "Opis",- "documentation": "Dokumentacja",- "openDocs": "Otwórz dokumentację",- "properties": "Właściwości",- "removeFill": "Usuń wypełnienie",- "removeStroke": "Usuń obrys",- "removeEffect": "Usuń efekt",- "removeExport": "Usuń eksport",- "effectSettings": "Ustawienia efektu",- "expandEffectSettings": "Rozwiń ustawienia efektu",- "collapseEffectSettings": "Zwiń ustawienia efektu",- "toggleExportPreview": "Przełącz podgląd eksportu",- "untitled": "Bez tytułu",- "nodeCopyString": " kopia",- "xAxis": "Oś X",- "yAxis": "Oś Y",- "rotation": "Obrót",- "width": "Szerokość",- "height": "Wysokość",- "opacity": "Krycie",- "radius": "Promień",- "spread": "Rozproszenie",- "foregroundBlur": "Rozmycie pierwszego planu",- "strokeType": "Typ obrysu",- "strokeWeight": "Grubość obrysu",- "exportScale": "Skala eksportu",- "exportFormat": "Format eksportu",- "gap": "Odstęp",- "searchFonts": "Szukaj fontów..."- },- "pages": {- "newPage": "Nowa strona",- "rename": "Zmień nazwę",- "delete": "Usuń",- "pageName": "Strona {number}"- },- "dialogs": {- "cancel": "Anuluj",- "apply": "Zastosuj",- "close": "Zamknij",- "ok": "OK",- "copy": "Kopiuj",- "copied": "Skopiowano",- "createCollection": "Utwórz kolekcję",- "localVariables": "Zmienne lokalne",- "noVariableCollections": "Brak kolekcji zmiennych",- "selectLayerForJSX": "Wybierz warstwę, aby zobaczyć jej kod JSX",- "connectAIProvider": "Połącz dostawcę AI, aby rozpocząć czat.",- "connect": "Połącz",- "testConnection": "Test connection",- "testingConnection": "Testing…",- "connectionTestSuccess": "Connected successfully. Model is reachable.",- "connectionTestMissingAPIKey": "Enter an API key before testing.",- "connectionTestMissingBaseURL": "Enter a base URL before testing.",- "connectionTestMissingModel": "Enter a model ID before testing.",- "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",- "connectionTestAuthFailed": "Authentication failed. Check your API key.",- "connectionTestModelNotFound": "Model not found. Check the model ID.",- "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",- "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",- "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",- "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",- "getAPIKey": "Pobierz klucz API {provider} →",- "oneKeyManyModels": "Jeden klucz do ponad 100 modeli od wszystkich dostawców.",- "describeChange": "Opisz zmianę…",- "describeCreateOrChange": "Opisz, co chcesz utworzyć lub zmienić.",- "stopGenerating": "Zatrzymaj generowanie",- "sendMessage": "Wyślij wiadomość",- "baseURLPlaceholder": "Base URL (np. http://localhost:11434/v1)",- "modelIDPlaceholder": "Model ID (np. llama-3.3-70b)",- "yourName": "Twoje imię",- "enterYourName": "Wpisz swoje imię",- "shareThisFile": "Udostępnij ten plik",- "joinRoom": "Dołącz do pokoju",- "join": "Dołącz",- "roomLink": "Link do pokoju",- "joinCollaboration": "Dołącz do współpracy",- "orJoinRoom": "lub dołącz do pokoju",- "pasteRoomLinkOrId": "Wklej link lub ID pokoju",- "connected": "Połączono",- "search": "Szukaj…",- "noResults": "Brak wyników",- "share": "Udostępnij",- "appUpToDate": "OpenPencil jest aktualny",- "updateAvailableTitle": "Zaktualizuj OpenPencil",- "updateAvailable": "OpenPencil {version} jest dostępny.",- "updateInstallPrompt": "Pobrać i zainstalować teraz? Aplikacja uruchomi się ponownie po zainstalowaniu aktualizacji.",- "downloadingUpdate": "Pobieranie OpenPencil {version}",- "updateInstalledTitle": "Aktualizacja zainstalowana",- "updateInstalled": "OpenPencil {version} został zainstalowany{size}. Ponowne uruchamianie.",- "updateCheckFailed": "Nie udało się sprawdzić aktualizacji: {error}",- "updateUnavailable": "Aktualizacje nie są jeszcze dostępne. Najpierw opublikuj podpisane wydanie z latest.json.",- "renameCollection": "Zmien nazwe kolekcji",- "deleteCollection": "Usun kolekcje",- "modes": "Tryby",- "addMode": "Dodaj tryb",- "renameMode": "Zmien nazwe trybu",- "duplicateMode": "Duplikuj tryb",- "deleteMode": "Usun tryb",- "setDefaultMode": "Ustaw jako domyslny",- "aiProvider": "AI Provider",- "providerSettings": "Provider settings",- "done": "Done",- "apiKey": "API Key",- "apiType": "API Type",- "baseURL": "Base URL",- "modelID": "Model ID",- "maxOutputTokens": "Max output tokens",- "clear": "Clear",- "keySavedReplace": "Key saved — enter new to replace",- "getAPIKeyGeneric": "Get API key →",- "pexelsAPIKey": "Pexels API Key (stock photos)",- "unsplashAccessKey": "Unsplash Access Key",- "stockPhotoToolOptional": "Optional — for stock_photo tool",- "pexelsAlternativeOptional": "Optional — alternative to Pexels",- "getPexelsAPIKey": "Get free Pexels API key →",- "getUnsplashAccessKey": "Get free Unsplash access key →",- "completions": "Completions",- "responses": "Responses",- "copiedExclamation": "Skopiowano!",- "copyMessage": "Kopiuj wiadomość",- "copyJSXReference": "Skopiuj referencję propsów JSX do schowka",- "newTab": "Nowa karta",- "closeTab": "Zamknij {name}",- "showUI": "Pokaż interfejs ({shortcut})",- "fontSettings": "Ustawienia czcionek",- "fontSettingsDesktopDescription": "Uzyskaj dostęp do czcionek systemowych, dostawców online, pakietów zapasowych i pobranych plików w pamięci podręcznej.",- "fontSettingsBrowserDescription": "Zezwól przeglądarce na dostęp do lokalnych czcionek i zarządzaj dostawcami czcionek online.",- "localFonts": "Czcionki lokalne",- "onlineFonts": "Czcionki online",- "downloadedCache": "Pobrana pamięć podręczna",- "lastUpdated": "Ostatnia aktualizacja",- "enabled": "Włączone",- "disabled": "Wyłączone",- "denied": "Odmówiono",- "unavailable": "Niedostępne",- "notRequested": "Nie zażądano",- "never": "Nigdy",- "systemFontAccess": "Dostęp do czcionek systemowych",- "systemFontsAvailable": "Czcionki systemowe są dostępne.",- "allowBrowserFontAccess": "Zezwól przeglądarce na dostęp do czcionek, gdy brakuje czcionek systemowych.",- "allow": "Zezwól",- "requesting": "Żądanie…",- "onlineFontProviders": "Dostawcy czcionek online",- "downloadMissingWebFonts": "Pobieraj brakujące czcionki webowe przez włączonych dostawców.",- "webFontProvidersRequireDesktopApp": "Katalogi dostawców czcionek online nie są dostępne w aplikacji webowej. Pobierz aplikację desktopową, aby przeglądać i ładować czcionki dostawców.",- "enable": "Włącz",- "disable": "Wyłącz",- "fallbackPacks": "Pakiety zapasowe",- "downloadFallbackPacksDescription": "Pobierz zapasowe czcionki CJK i arabskie przed otwarciem plików, które ich wymagają.",- "download": "Pobierz",- "downloading": "Pobieranie…",- "refresh": "Odśwież",- "clearCache": "Wyczyść pamięć podręczną",- "localFontAccessEnabled": "Dostęp do lokalnych czcionek włączony.",- "localFontAccessNotGranted": "Nie przyznano dostępu do lokalnych czcionek.",- "onlineFontProvidersEnabled": "Dostawcy czcionek online włączeni.",- "onlineFontProvidersDisabled": "Dostawcy czcionek online wyłączeni.",- "fontProviderEnabled": "Włączono {provider}.",- "fontProviderDisabled": "Wyłączono {provider}.",- "fallbackFontsDownloaded": "Pobrano czcionki zapasowe.",- "fallbackFontsDownloadFailed": "Nie udało się pobrać czcionek zapasowych.",- "downloadedFontCacheCleared": "Wyczyszczono pamięć podręczną pobranych czcionek.",- "downloadedFontCacheClearFailed": "Nie udało się wyczyścić pamięci podręcznej pobranych czcionek.",- "you": "Ty",- "youSuffix": "ty",- "followingPeerStop": "Obserwujesz {name} (kliknij, aby zatrzymać)",- "clickToFollowPeer": "Kliknij, aby obserwować {name}"- },- "variableTypes": {- "color": "Kolor",- "colorHint": "Wartości wypełnień",- "number": "Liczba",- "numberHint": "Rozmiary, odstępy, krycie",- "text": "Tekst",- "textHint": "Tekst i etykiety",- "boolean": "Boolowski",- "booleanHint": "Prawda lub fałsz"- }-}diff --git a/packages/vue/src/locales/ru.json b/packages/vue/src/locales/ru.jsondeleted file mode 100644index eaf428c27..000000000--- a/packages/vue/src/locales/ru.json+++ /dev/null@@ -1,411 +0,0 @@-{- "menu": {- "file": "Файл",- "edit": "Правка",- "view": "Вид",- "object": "Объект",- "arrange": "Порядок",- "text": "Текст",- "new": "Создать",- "open": "Открыть…",- "save": "Сохранить",- "saveAs": "Сохранить как…",- "exportSelection": "Экспорт выделения…",- "autosave": "Автосохранение в файл",- "copy": "Копировать",- "paste": "Вставить",- "zoomIn": "Увеличить",- "zoomOut": "Уменьшить",- "profiler": "Профилирование",- "language": "Язык",- "theme": "Тема",- "themeLight": "Светлая",- "themeDark": "Тёмная",- "themeAuto": "Автоматически",- "moveToPage": "Переместить на страницу",- "createInstance": "Создать экземпляр",- "hide": "Скрыть",- "show": "Показать",- "lock": "Заблокировать",- "unlock": "Разблокировать",- "cut": "Вырезать",- "front": "Вперёд",- "back": "Назад",- "toggleUI": "Переключить интерфейс",- "bold": "Жирный",- "italic": "Курсив",- "underline": "Подчёркнутый",- "pasteHere": "Вставить сюда",- "pasteToReplace": "Вставить для замены",- "copyPasteAs": "Копировать/Вставить как",- "copyAsText": "Копировать как текст",- "copyAsSVG": "Копировать как SVG",- "copyAsPNG": "Копировать как PNG",- "copyAsJSX": "Копировать как JSX",- "copyNodeId": "Копировать ID узла",- "copyXPath": "Копировать XPath",- "checkUpdates": "Проверить обновления…",- "booleanOperations": "Логические операции",- "strikethrough": "Зачёркивание",- "closeTab": "Закрыть вкладку",- "arrangeAlignLeft": "Выровнять по левому краю",- "arrangeAlignCenter": "Выровнять по центру по горизонтали",- "arrangeAlignRight": "Выровнять по правому краю",- "arrangeAlignTop": "Выровнять по верхнему краю",- "arrangeAlignMiddle": "Выровнять по центру по вертикали",- "arrangeAlignBottom": "Выровнять по нижнему краю"- },- "commands": {- "undo": "Отменить",- "redo": "Повторить",- "selectAll": "Выделить всё",- "duplicate": "Дублировать",- "delete": "Удалить",- "group": "Сгруппировать",- "ungroup": "Разгруппировать",- "createComponent": "Создать компонент",- "createComponentSet": "Создать набор компонентов",- "createInstance": "Создать экземпляр",- "detachInstance": "Отвязать экземпляр",- "goToMainComponent": "Перейти к компоненту",- "addAutoLayout": "Добавить авто-раскладку",- "bringToFront": "На передний план",- "sendToBack": "На задний план",- "moveToPage": "Переместить на страницу",- "zoomTo100": "Масштаб 100%",- "zoomToFit": "Вписать в экран",- "zoomToSelection": "Масштаб по выделению",- "groupSelection": "Сгруппировать",- "frameSelection": "Поместить выделение во фрейм",- "showHide": "Показать/Скрыть",- "lockUnlock": "Заблокировать/Разблокировать",- "unionSelection": "Объединить выделение",- "subtractSelection": "Вычесть выделение",- "intersectSelection": "Пересечь выделение",- "excludeSelection": "Исключить выделение",- "booleanOperations": "Логические операции",- "flipHorizontal": "Отразить по горизонтали",- "flipVertical": "Отразить по вертикали",- "flattenSelection": "Сгладить",- "outlineText": "Преобразовать текст в контуры",- "outlineStroke": "Преобразовать обводку в контур"- },- "tools": {- "move": "Перемещение",- "frame": "Фрейм",- "section": "Секция",- "rectangle": "Прямоугольник",- "ellipse": "Эллипс",- "line": "Линия",- "polygon": "Многоугольник",- "star": "Звезда",- "pen": "Перо",- "text": "Текст",- "hand": "Рука"- },- "panels": {- "layers": "Слои",- "pages": "Страницы",- "design": "Дизайн",- "code": "Код",- "ai": "AI",- "assets": "Ассеты",- "page": "Страница",- "position": "Позиция",- "layout": "Раскладка",- "autoLayout": "Автораскладка",- "alignment": "Выравнивание",- "appearance": "Внешний вид",- "fill": "Заливка",- "stroke": "Обводка",- "effects": "Эффекты",- "export": "Экспорт",- "typography": "Типографика",- "variables": "Переменные",- "constraints": "Ограничения",- "addFill": "Добавить заливку",- "addStroke": "Добавить обводку",- "addEffect": "Добавить эффект",- "addExport": "Добавить экспорт",- "dropShadow": "Тень",- "innerShadow": "Внутренняя тень",- "layerBlur": "Размытие слоя",- "backgroundBlur": "Размытие фона",- "noSelection": "Ничего не выделено",- "noLocalVariables": "Нет локальных переменных",- "openVariables": "Открыть переменные",- "addPage": "Добавить страницу",- "toggleVisibility": "Переключить видимость",- "independentCornerRadii": "Независимые радиусы углов",- "detachVariable": "Отвязать переменную",- "applyVariable": "Применить переменную",- "noVariablesFound": "Переменные не найдены",- "addAutoLayout": "Добавить автораскладку",- "removeAutoLayout": "Убрать автораскладку",- "alignLeft": "Выровнять по левому краю",- "alignCenterHorizontally": "Выровнять по центру по горизонтали",- "alignRight": "Выровнять по правому краю",- "alignTop": "Выровнять по верхнему краю",- "alignCenterVertically": "Выровнять по центру по вертикали",- "alignBottom": "Выровнять по нижнему краю",- "flipHorizontal": "Отразить по горизонтали",- "flipVertical": "Отразить по вертикали",- "rotate90": "Повернуть на 90°",- "mixedFillsHelp": "Нажмите +, чтобы заменить смешанные заливки",- "mixedStrokesHelp": "Нажмите +, чтобы заменить смешанные обводки",- "mixedEffectsHelp": "Нажмите +, чтобы заменить смешанные эффекты",- "strokeSides": "Стороны обводки",- "mixed": "Смешанное",- "layersCount": "{count} слоёв",- "goToMainComponent": "Перейти к главному компоненту",- "detachInstance": "Отвязать экземпляр",- "solid": "Сплошной",- "linearGradient": "Линейный",- "radialGradient": "Радиальный",- "image": "Изображение",- "stops": "Точки",- "addStop": "Добавить точку",- "alignCenter": "По центру",- "alignMiddle": "По середине",- "clipContent": "Обрезать содержимое",- "colorFormatRgb": "RGB",- "colorFormatHsl": "HSL",- "colorFormatHsb": "HSB",- "colorFormatOkhcl": "OkHCL",- "colorHintHsl": "H тон · S насыщенность · L светлота",- "colorHintHsb": "H тон · S насыщенность · B яркость",- "colorHintOkhcl": "H тон · C хрома · L светлота · A альфа",- "colorPreviewClipped": "Обрезано до гаммы предпросмотра {space}",- "rulers": "Линейки",- "multiplayerCursors": "Курсоры участников",- "direction": "Направление",- "flow": "Поток",- "auto": "Авто",- "columns": "Столбцы",- "rows": "Строки",- "sizingFixed": "Фиксированный",- "sizingHug": "По содержимому",- "sizingFill": "Заполнить",- "sizingHugShort": "Содерж.",- "sizingFillShort": "Запол.",- "sizingFillFr": "Заполнить (fr)",- "sizingFixedPx": "Фиксированный (px)",- "strokeAlignInside": "Внутри",- "strokeAlignCenter": "По центру",- "strokeAlignOutside": "Снаружи",- "exportPreview": "Предпросмотр",- "exportRenderingPreview": "Рендеринг предпросмотра…",- "createVariable": "Создать переменную",- "createColorVariable": "Создать переменную цвета из {value}",- "variableName": "Имя переменной",- "create": "Создать",- "createNumberVariable": "Создать числовую переменную из {value}",- "strokeDash": "Пунктирная обводка",- "add": "Добавить",- "variants": "Варианты",- "gapAuto": "Авто отступ",- "horizontalGap": "Горизонтальный отступ",- "verticalGap": "Вертикальный отступ",- "addMinWidth": "Добавить мин. ширину",- "removeMinWidth": "Убрать мин. ширину",- "addMaxWidth": "Добавить макс. ширину",- "removeMaxWidth": "Убрать макс. ширину",- "addMinHeight": "Добавить мин. высоту",- "removeMinHeight": "Убрать мин. высоту",- "addMaxHeight": "Добавить макс. высоту",- "removeMaxHeight": "Убрать макс. высоту",- "minWidthShort": "Мин Ш",- "maxWidthShort": "Макс Ш",- "minHeightShort": "Мин В",- "maxHeightShort": "Макс В",- "setToCurrentWidth": "Установить текущую ширину",- "setToCurrentHeight": "Установить текущую высоту",- "searchLocalComponents": "Поиск локальных компонентов",- "assetLibraryBadge": "Библиотека",- "assetVariantSummary": "{count} вариантов · {names}",- "duplicateVariantValues": "Повторяющиеся значения вариантов",- "openDocumentation": "Открыть документацию",- "noLocalComponents": "Нет локальных компонентов",- "componentSet": "Набор компонентов",- "component": "Компонент",- "insertInstance": "Вставить экземпляр",- "description": "Описание",- "documentation": "Документация",- "openDocs": "Открыть документацию",- "properties": "Свойства",- "removeFill": "Удалить заливку",- "removeStroke": "Удалить обводку",- "removeEffect": "Удалить эффект",- "removeExport": "Удалить экспорт",- "effectSettings": "Настройки эффекта",- "expandEffectSettings": "Развернуть настройки эффекта",- "collapseEffectSettings": "Свернуть настройки эффекта",- "toggleExportPreview": "Показать/скрыть предпросмотр экспорта",- "untitled": "Без названия",- "nodeCopyString": " копия",- "xAxis": "Ось X",- "yAxis": "Ось Y",- "rotation": "Поворот",- "width": "Ширина",- "height": "Высота",- "opacity": "Непрозрачность",- "radius": "Радиус",- "spread": "Размах",- "foregroundBlur": "Размытие переднего плана",- "strokeType": "Тип обводки",- "strokeWeight": "Толщина обводки",- "exportScale": "Масштаб экспорта",- "exportFormat": "Формат экспорта",- "gap": "Интервал",- "searchFonts": "Поиск шрифтов..."- },- "pages": {- "newPage": "Новая страница",- "rename": "Переименовать",- "delete": "Удалить",- "pageName": "Страница {number}"- },- "dialogs": {- "cancel": "Отмена",- "apply": "Применить",- "close": "Закрыть",- "ok": "ОК",- "copy": "Копировать",- "copied": "Скопировано",- "createCollection": "Создать коллекцию",- "localVariables": "Локальные переменные",- "noVariableCollections": "Нет коллекций переменных",- "selectLayerForJSX": "Выберите слой, чтобы увидеть его JSX-код",- "connectAIProvider": "Подключите AI-провайдера, чтобы начать чат.",- "connect": "Подключить",- "testConnection": "Test connection",- "testingConnection": "Testing…",- "connectionTestSuccess": "Connected successfully. Model is reachable.",- "connectionTestMissingAPIKey": "Enter an API key before testing.",- "connectionTestMissingBaseURL": "Enter a base URL before testing.",- "connectionTestMissingModel": "Enter a model ID before testing.",- "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",- "connectionTestAuthFailed": "Authentication failed. Check your API key.",- "connectionTestModelNotFound": "Model not found. Check the model ID.",- "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",- "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",- "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",- "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",- "getAPIKey": "Получить API-ключ {provider} →",- "oneKeyManyModels": "Один ключ для 100+ моделей от разных провайдеров.",- "describeChange": "Опишите изменение…",- "describeCreateOrChange": "Опишите, что вы хотите создать или изменить.",- "stopGenerating": "Остановить генерацию",- "sendMessage": "Отправить сообщение",- "baseURLPlaceholder": "Base URL (например, http://localhost:11434/v1)",- "modelIDPlaceholder": "Model ID (например, llama-3.3-70b)",- "yourName": "Ваше имя",- "enterYourName": "Введите ваше имя",- "shareThisFile": "Поделиться файлом",- "joinRoom": "Войти в комнату",- "join": "Войти",- "roomLink": "Ссылка на комнату",- "joinCollaboration": "Присоединиться к совместной работе",- "orJoinRoom": "или войти в комнату",- "pasteRoomLinkOrId": "Вставьте ссылку на комнату или ID",- "connected": "Подключено",- "search": "Поиск…",- "noResults": "Ничего не найдено",- "share": "Поделиться",- "appUpToDate": "OpenPencil обновлён до последней версии",- "updateAvailableTitle": "Обновить OpenPencil",- "updateAvailable": "Доступен OpenPencil {version}.",- "updateInstallPrompt": "Скачать и установить сейчас? После установки обновления приложение перезапустится.",- "downloadingUpdate": "Загрузка OpenPencil {version}",- "updateInstalledTitle": "Обновление установлено",- "updateInstalled": "OpenPencil {version} установлен{size}. Перезапуск.",- "updateCheckFailed": "Не удалось проверить обновления: {error}",- "updateUnavailable": "Обновления пока недоступны. Сначала опубликуйте подписанный релиз с latest.json.",- "renameCollection": "Переименовать коллекцию",- "deleteCollection": "Удалить коллекцию",- "modes": "Режимы",- "addMode": "Добавить режим",- "renameMode": "Переименовать режим",- "duplicateMode": "Дублировать режим",- "deleteMode": "Удалить режим",- "setDefaultMode": "Установить по умолчанию",- "aiProvider": "AI Provider",- "providerSettings": "Provider settings",- "done": "Done",- "apiKey": "API Key",- "apiType": "API Type",- "baseURL": "Base URL",- "modelID": "Model ID",- "maxOutputTokens": "Max output tokens",- "clear": "Clear",- "keySavedReplace": "Key saved — enter new to replace",- "getAPIKeyGeneric": "Get API key →",- "pexelsAPIKey": "Pexels API Key (stock photos)",- "unsplashAccessKey": "Unsplash Access Key",- "stockPhotoToolOptional": "Optional — for stock_photo tool",- "pexelsAlternativeOptional": "Optional — alternative to Pexels",- "getPexelsAPIKey": "Get free Pexels API key →",- "getUnsplashAccessKey": "Get free Unsplash access key →",- "completions": "Completions",- "responses": "Responses",- "copiedExclamation": "Скопировано!",- "copyMessage": "Скопировать сообщение",- "copyJSXReference": "Скопировать справку по JSX-свойствам в буфер",- "newTab": "Новая вкладка",- "closeTab": "Закрыть {name}",- "showUI": "Показать интерфейс ({shortcut})",- "fontSettings": "Настройки шрифтов",- "fontSettingsDesktopDescription": "Доступ к системным шрифтам, онлайн-провайдерам, резервным наборам и кэшу загрузок.",- "fontSettingsBrowserDescription": "Разрешите браузеру доступ к локальным шрифтам и управляйте онлайн-провайдерами шрифтов.",- "localFonts": "Локальные шрифты",- "onlineFonts": "Онлайн-шрифты",- "downloadedCache": "Кэш загрузок",- "lastUpdated": "Последнее обновление",- "enabled": "Включено",- "disabled": "Отключено",- "denied": "Запрещено",- "unavailable": "Недоступно",- "notRequested": "Не запрошено",- "never": "Никогда",- "systemFontAccess": "Доступ к системным шрифтам",- "systemFontsAvailable": "Системные шрифты доступны.",- "allowBrowserFontAccess": "Разрешите доступ браузера к шрифтам, если системные шрифты отсутствуют.",- "allow": "Разрешить",- "requesting": "Запрос…",- "onlineFontProviders": "Онлайн-провайдеры шрифтов",- "downloadMissingWebFonts": "Загружайте отсутствующие веб-шрифты через включённых провайдеров.",- "webFontProvidersRequireDesktopApp": "Каталоги провайдеров онлайн-шрифтов недоступны в веб-приложении. Скачайте настольное приложение, чтобы просматривать и загружать шрифты провайдеров.",- "enable": "Включить",- "disable": "Отключить",- "fallbackPacks": "Резервные наборы",- "downloadFallbackPacksDescription": "Загрузите резервные CJK- и арабские шрифты перед открытием файлов, которым они нужны.",- "download": "Загрузить",- "downloading": "Загрузка…",- "refresh": "Обновить",- "clearCache": "Очистить кэш",- "localFontAccessEnabled": "Доступ к локальным шрифтам включён.",- "localFontAccessNotGranted": "Доступ к локальным шрифтам не предоставлен.",- "onlineFontProvidersEnabled": "Онлайн-провайдеры шрифтов включены.",- "onlineFontProvidersDisabled": "Онлайн-провайдеры шрифтов отключены.",- "fontProviderEnabled": "{provider} включён.",- "fontProviderDisabled": "{provider} отключён.",- "fallbackFontsDownloaded": "Резервные шрифты загружены.",- "fallbackFontsDownloadFailed": "Не удалось загрузить резервные шрифты.",- "downloadedFontCacheCleared": "Кэш загруженных шрифтов очищен.",- "downloadedFontCacheClearFailed": "Не удалось очистить кэш загруженных шрифтов.",- "you": "Вы",- "youSuffix": "вы",- "followingPeerStop": "Следите за {name} (нажмите, чтобы остановить)",- "clickToFollowPeer": "Нажмите, чтобы следить за {name}"- },- "variableTypes": {- "color": "Цвет",- "colorHint": "Значения заливок",- "number": "Число",- "numberHint": "Размеры, отступы, прозрачность",- "text": "Текст",- "textHint": "Текст и подписи",- "boolean": "Логический",- "booleanHint": "Истина или ложь"- }-}diff --git a/packages/vue/src/locales/zh-CN.json b/packages/vue/src/locales/zh-CN.jsondeleted file mode 100644index 828ab4e72..000000000--- a/packages/vue/src/locales/zh-CN.json+++ /dev/null@@ -1,411 +0,0 @@-{- "menu": {- "file": "文件",- "edit": "编辑",- "view": "视图",- "object": "对象",- "arrange": "排列",- "text": "文本",- "new": "新建",- "open": "打开…",- "save": "保存",- "saveAs": "另存为…",- "exportSelection": "导出所选内容…",- "autosave": "自动保存到本地文件",- "copy": "复制",- "paste": "粘贴",- "zoomIn": "放大",- "zoomOut": "缩小",- "profiler": "性能分析器",- "theme": "主题",- "themeLight": "浅色",- "themeDark": "深色",- "themeAuto": "跟随系统",- "language": "语言",- "moveToPage": "移动到页面",- "createInstance": "创建实例",- "hide": "隐藏",- "show": "显示",- "lock": "锁定",- "unlock": "解锁",- "cut": "剪切",- "front": "置于顶层",- "back": "置于底层",- "toggleUI": "切换界面",- "bold": "加粗",- "italic": "斜体",- "underline": "下划线",- "pasteHere": "粘贴到这里",- "pasteToReplace": "粘贴并替换",- "copyPasteAs": "复制/粘贴为",- "copyAsText": "复制为文本",- "copyAsSVG": "复制为 SVG",- "copyAsPNG": "复制为 PNG",- "copyAsJSX": "复制为 JSX",- "copyNodeId": "复制节点 ID",- "copyXPath": "复制 XPath",- "checkUpdates": "检查更新…",- "booleanOperations": "布尔运算",- "strikethrough": "删除线",- "closeTab": "关闭标签页",- "arrangeAlignLeft": "左对齐",- "arrangeAlignCenter": "水平居中",- "arrangeAlignRight": "右对齐",- "arrangeAlignTop": "顶部对齐",- "arrangeAlignMiddle": "垂直居中",- "arrangeAlignBottom": "底部对齐"- },- "commands": {- "undo": "撤销",- "redo": "重做",- "selectAll": "全选",- "duplicate": "克隆",- "delete": "删除",- "group": "编组",- "ungroup": "取消编组",- "createComponent": "创建组件",- "createComponentSet": "创建组件集",- "createInstance": "创建实例",- "detachInstance": "分离实例",- "goToMainComponent": "转到主组件",- "addAutoLayout": "添加自动布局",- "bringToFront": "置于顶层",- "sendToBack": "置于底层",- "moveToPage": "移动到页面",- "zoomTo100": "缩放到 100%",- "zoomToFit": "适应屏幕",- "zoomToSelection": "适应所选内容",- "groupSelection": "编组所选内容",- "frameSelection": "为所选内容添加画框",- "showHide": "显示/隐藏",- "lockUnlock": "锁定/解锁",- "unionSelection": "合并所选内容",- "subtractSelection": "减去所选内容",- "intersectSelection": "相交所选内容",- "excludeSelection": "排除所选内容",- "booleanOperations": "布尔运算",- "flipHorizontal": "水平翻转",- "flipVertical": "垂直翻转",- "flattenSelection": "扁平化",- "outlineText": "文本转轮廓",- "outlineStroke": "描边转轮廓"- },- "tools": {- "move": "移动",- "frame": "画框",- "section": "分区",- "rectangle": "矩形",- "ellipse": "椭圆",- "line": "直线",- "polygon": "多边形",- "star": "星形",- "pen": "钢笔",- "text": "文本",- "hand": "抓手"- },- "panels": {- "layers": "图层",- "pages": "页面",- "design": "设计",- "code": "代码",- "ai": "AI",- "assets": "资源",- "page": "页面",- "position": "位置",- "layout": "布局",- "autoLayout": "自动布局",- "alignment": "对齐",- "appearance": "外观",- "fill": "填充",- "stroke": "描边",- "effects": "效果",- "export": "导出",- "typography": "排版",- "variables": "变量",- "constraints": "约束",- "addFill": "添加填充",- "addStroke": "添加描边",- "addEffect": "添加效果",- "addExport": "添加导出",- "dropShadow": "投影",- "innerShadow": "内阴影",- "layerBlur": "图层模糊",- "backgroundBlur": "背景模糊",- "noSelection": "未选择任何内容",- "noLocalVariables": "没有本地变量",- "openVariables": "打开变量",- "addPage": "添加页面",- "toggleVisibility": "切换可见性",- "independentCornerRadii": "独立圆角半径",- "detachVariable": "解除变量绑定",- "applyVariable": "应用变量",- "noVariablesFound": "未找到变量",- "addAutoLayout": "添加自动布局",- "removeAutoLayout": "移除自动布局",- "alignLeft": "左对齐",- "alignCenterHorizontally": "水平居中",- "alignRight": "右对齐",- "alignTop": "顶部对齐",- "alignCenterVertically": "垂直居中",- "alignBottom": "底部对齐",- "flipHorizontal": "水平翻转",- "flipVertical": "垂直翻转",- "rotate90": "旋转 90°",- "mixedFillsHelp": "点击 + 替换混合填充",- "mixedStrokesHelp": "点击 + 替换混合描边",- "mixedEffectsHelp": "点击 + 替换混合效果",- "strokeSides": "描边边",- "mixed": "混合",- "layersCount": "{count} 个图层",- "goToMainComponent": "转到主组件",- "detachInstance": "分离实例",- "solid": "纯色",- "linearGradient": "线性",- "radialGradient": "径向",- "image": "图片",- "stops": "色标",- "addStop": "添加色标",- "alignCenter": "居中对齐",- "alignMiddle": "垂直居中",- "clipContent": "裁剪内容",- "colorFormatRgb": "RGB",- "colorFormatHsl": "HSL",- "colorFormatHsb": "HSB",- "colorFormatOkhcl": "OkHCL",- "colorHintHsl": "H 色相 · S 饱和度 · L 亮度",- "colorHintHsb": "H 色相 · S 饱和度 · B 明度",- "colorHintOkhcl": "H 色相 · C 色度 · L 亮度 · A 透明度",- "colorPreviewClipped": "已裁剪到 {space} 预览色域",- "rulers": "标尺",- "multiplayerCursors": "协作光标",- "direction": "方向",- "flow": "流向",- "auto": "自动",- "columns": "列",- "rows": "行",- "sizingFixed": "固定",- "sizingHug": "适应内容",- "sizingFill": "填充",- "sizingHugShort": "适应",- "sizingFillShort": "填充",- "sizingFillFr": "填充 (fr)",- "sizingFixedPx": "固定 (px)",- "strokeAlignInside": "内部",- "strokeAlignCenter": "居中",- "strokeAlignOutside": "外部",- "exportPreview": "预览",- "exportRenderingPreview": "正在渲染预览…",- "createVariable": "创建变量",- "createColorVariable": "从 {value} 创建颜色变量",- "variableName": "变量名称",- "create": "创建",- "createNumberVariable": "从 {value} 创建数字变量",- "strokeDash": "虚线描边",- "add": "添加",- "variants": "变体",- "gapAuto": "自动间距",- "horizontalGap": "水平间距",- "verticalGap": "垂直间距",- "addMinWidth": "添加最小宽度",- "removeMinWidth": "移除最小宽度",- "addMaxWidth": "添加最大宽度",- "removeMaxWidth": "移除最大宽度",- "addMinHeight": "添加最小高度",- "removeMinHeight": "移除最小高度",- "addMaxHeight": "添加最大高度",- "removeMaxHeight": "移除最大高度",- "minWidthShort": "最小宽",- "maxWidthShort": "最大宽",- "minHeightShort": "最小高",- "maxHeightShort": "最大高",- "setToCurrentWidth": "设为当前宽度",- "setToCurrentHeight": "设为当前高度",- "searchLocalComponents": "搜索本地组件",- "assetLibraryBadge": "库",- "assetVariantSummary": "{count} 个变体 · {names}",- "duplicateVariantValues": "重复的变体值",- "openDocumentation": "打开文档",- "noLocalComponents": "没有本地组件",- "componentSet": "组件集",- "component": "组件",- "insertInstance": "插入实例",- "description": "描述",- "documentation": "文档",- "openDocs": "打开文档",- "properties": "属性",- "removeFill": "移除填充",- "removeStroke": "移除描边",- "removeEffect": "移除效果",- "removeExport": "移除导出",- "effectSettings": "效果设置",- "expandEffectSettings": "展开效果设置",- "collapseEffectSettings": "收起效果设置",- "toggleExportPreview": "切换导出预览",- "untitled": "未命名",- "nodeCopyString": " 副本",- "xAxis": "X 轴",- "yAxis": "Y 轴",- "rotation": "旋转",- "width": "宽度",- "height": "高度",- "opacity": "不透明度",- "radius": "圆角",- "spread": "扩展",- "foregroundBlur": "前景模糊",- "strokeType": "描边类型",- "strokeWeight": "描边粗细",- "exportScale": "导出缩放",- "exportFormat": "导出格式",- "gap": "间距",- "searchFonts": "搜索字体..."- },- "pages": {- "newPage": "新建页面",- "rename": "重命名",- "delete": "删除",- "pageName": "页面 {number}"- },- "dialogs": {- "cancel": "取消",- "apply": "应用",- "close": "关闭",- "ok": "确定",- "copy": "复制",- "copied": "已复制",- "createCollection": "创建集合",- "localVariables": "本地变量",- "noVariableCollections": "没有变量集合",- "selectLayerForJSX": "选择一个图层以查看其 JSX 代码",- "connectAIProvider": "连接 AI 提供商以开始聊天。",- "connect": "连接",- "testConnection": "Test connection",- "testingConnection": "Testing…",- "connectionTestSuccess": "Connected successfully. Model is reachable.",- "connectionTestMissingAPIKey": "Enter an API key before testing.",- "connectionTestMissingBaseURL": "Enter a base URL before testing.",- "connectionTestMissingModel": "Enter a model ID before testing.",- "connectionTestInvalidBaseURL": "Base URL is invalid. Use a full URL like https://api.example.com/v1.",- "connectionTestAuthFailed": "Authentication failed. Check your API key.",- "connectionTestModelNotFound": "Model not found. Check the model ID.",- "connectionTestAPITypeMismatch": "This endpoint does not appear to support the selected API type. Try Completions or Responses.",- "connectionTestBrowserNetworkFailed": "Could not reach this endpoint from the browser. Try the desktop app or use an endpoint with CORS enabled.",- "connectionTestNetworkFailed": "Could not reach the endpoint. Check the URL and your network connection.",- "connectionTestUnknownFailed": "Connection test failed. Check the provider settings and try again.",- "getAPIKey": "获取 {provider} API 密钥 →",- "oneKeyManyModels": "一个密钥即可使用来自所有提供商的 100+ 模型。",- "describeChange": "描述一个更改…",- "describeCreateOrChange": "描述你想创建或更改的内容。",- "stopGenerating": "停止生成",- "sendMessage": "发送消息",- "baseURLPlaceholder": "Base URL(例如 http://localhost:11434/v1)",- "modelIDPlaceholder": "模型 ID(例如 llama-3.3-70b)",- "yourName": "你的名字",- "enterYourName": "请输入你的名字",- "shareThisFile": "分享此文件",- "joinRoom": "加入房间",- "join": "加入",- "roomLink": "房间链接",- "joinCollaboration": "加入协作",- "orJoinRoom": "或加入一个房间",- "pasteRoomLinkOrId": "粘贴房间链接或 ID",- "connected": "已连接",- "search": "搜索…",- "noResults": "无结果",- "share": "分享",- "appUpToDate": "OpenPencil 已是最新版本",- "updateAvailableTitle": "更新 OpenPencil",- "updateAvailable": "OpenPencil {version} 可用。",- "updateInstallPrompt": "现在下载并安装吗?安装更新后应用将重新启动。",- "downloadingUpdate": "正在下载 OpenPencil {version}",- "updateInstalledTitle": "更新已安装",- "updateInstalled": "OpenPencil {version} 已安装{size}。正在重新启动。",- "updateCheckFailed": "无法检查更新:{error}",- "updateUnavailable": "更新暂不可用。请先发布包含 latest.json 的已签名版本。",- "renameCollection": "重命名集合",- "deleteCollection": "删除集合",- "modes": "模式",- "addMode": "添加模式",- "renameMode": "重命名模式",- "duplicateMode": "复制模式",- "deleteMode": "删除模式",- "setDefaultMode": "设为默认",- "aiProvider": "AI 提供商",- "providerSettings": "提供商设置",- "done": "完成",- "apiKey": "API 密钥",- "apiType": "API 类型",- "baseURL": "Base URL",- "modelID": "模型 ID",- "maxOutputTokens": "最大输出 token 数",- "clear": "清除",- "keySavedReplace": "密钥已保存,输入新密钥以替换",- "getAPIKeyGeneric": "获取 API 密钥 →",- "pexelsAPIKey": "Pexels API 密钥(图库照片)",- "unsplashAccessKey": "Unsplash Access Key",- "stockPhotoToolOptional": "可选,用于 stock_photo 工具",- "pexelsAlternativeOptional": "可选,作为 Pexels 的替代",- "getPexelsAPIKey": "获取免费 Pexels API 密钥 →",- "getUnsplashAccessKey": "获取免费 Unsplash Access Key →",- "completions": "Completions",- "responses": "Responses",- "copiedExclamation": "已复制!",- "copyMessage": "复制消息",- "copyJSXReference": "复制 JSX 属性参考到剪贴板",- "newTab": "新标签页",- "closeTab": "关闭 {name}",- "showUI": "显示界面({shortcut})",- "fontSettings": "字体设置",- "fontSettingsDesktopDescription": "访问系统字体、在线提供商、后备字体包和缓存下载。",- "fontSettingsBrowserDescription": "允许浏览器访问本地字体,并管理在线字体提供商。",- "localFonts": "本地字体",- "onlineFonts": "在线字体",- "downloadedCache": "下载缓存",- "lastUpdated": "上次更新",- "enabled": "已启用",- "disabled": "已停用",- "denied": "已拒绝",- "unavailable": "不可用",- "notRequested": "未请求",- "never": "从不",- "systemFontAccess": "系统字体访问",- "systemFontsAvailable": "系统字体可用。",- "allowBrowserFontAccess": "缺少系统字体时,允许浏览器访问字体。",- "allow": "允许",- "requesting": "正在请求…",- "onlineFontProviders": "在线字体提供商",- "downloadMissingWebFonts": "通过已启用的提供商下载缺失的网页字体。",- "webFontProvidersRequireDesktopApp": "网页版暂不支持在线字体提供商目录。请下载桌面应用来浏览和加载提供商字体。",- "enable": "启用",- "disable": "停用",- "fallbackPacks": "后备字体包",- "downloadFallbackPacksDescription": "在打开需要这些字体的文件前,下载 CJK 和阿拉伯语后备字体。",- "download": "下载",- "downloading": "正在下载…",- "refresh": "刷新",- "clearCache": "清除缓存",- "localFontAccessEnabled": "本地字体访问已启用。",- "localFontAccessNotGranted": "未授予本地字体访问权限。",- "onlineFontProvidersEnabled": "在线字体提供商已启用。",- "onlineFontProvidersDisabled": "在线字体提供商已停用。",- "fontProviderEnabled": "已启用 {provider}。",- "fontProviderDisabled": "已停用 {provider}。",- "fallbackFontsDownloaded": "后备字体已下载。",- "fallbackFontsDownloadFailed": "无法下载后备字体。",- "downloadedFontCacheCleared": "已清除下载的字体缓存。",- "downloadedFontCacheClearFailed": "无法清除下载的字体缓存。",- "you": "你",- "youSuffix": "你",- "followingPeerStop": "正在跟随 {name}(点击停止)",- "clickToFollowPeer": "点击跟随 {name}"- },- "variableTypes": {- "color": "颜色",- "colorHint": "绘制值",- "number": "数字",- "numberHint": "尺寸、间距、不透明度",- "text": "文本",- "textHint": "文案和标签",- "boolean": "布尔值",- "booleanHint": "真或假"- }-}diff --git a/src/components/EditorCanvas.vue b/src/components/EditorCanvas.vueindex 574d43dfd..db64f26c0 100644--- a/src/components/EditorCanvas.vue+++ b/src/components/EditorCanvas.vue@@ -30,7 +30,7 @@ import IconLucidePanelBottom from '~icons/lucide/panel-bottom'import IconLucidePanelLeft from '~icons/lucide/panel-left'import IconLucidePanelRight from '~icons/lucide/panel-right'import IconLucidePanelTop from '~icons/lucide/panel-top'-import CanvasMenu from './CanvasMenu.vue'+import CanvasMenu from './canvas/CanvasMenu.vue'import ScrubInput from './inputs/ScrubInput.vue'const store = useEditorStore()diff --git a/src/components/variables/VariablesDialog.vue b/src/components/variables/VariablesDialog.vueindex ea82fb493..a009c9eef 100644--- a/src/components/variables/VariablesDialog.vue+++ b/src/components/variables/VariablesDialog.vue@@ -110,12 +110,15 @@ function modeId(columnId: string): string {<DialogRoot v-model:open="open"><DialogPortal><DialogOverlay :class="cls.overlay" />- <DialogContent data-test-id="variables-dialog" :class="cls.content">+ <DialogContent+ data-test-id="variables-dialog"+ :aria-describedby="undefined"+ :class="cls.content"+ >+ <DialogTitle class="sr-only">{{ dialogs.localVariables }}</DialogTitle><div v-if="!ctx.hasCollections" class="flex flex-1 flex-col"><div class="flex shrink-0 items-center justify-between border-b border-border px-4 py-3">- <DialogTitle class="text-sm font-semibold text-surface">{{- dialogs.localVariables- }}</DialogTitle>+ <h2 class="text-sm font-semibold text-surface">{{ dialogs.localVariables }}</h2><DialogCloseclass="flex size-6 cursor-pointer items-center justify-center rounded border-none bg-transparent text-muted hover:bg-hover hover:text-surface">diff --git a/tools/architecture/src/steiger-rules/index.ts b/tools/architecture/src/steiger-rules/index.tsindex 9b0f03f44..99a4ce367 100644--- a/tools/architecture/src/steiger-rules/index.ts+++ b/tools/architecture/src/steiger-rules/index.ts@@ -420,7 +420,8 @@ const noShortcutTextInLabels = createTextRule((sourceRel, content) => {if (sourceRel !== 'packages/vue/src/i18n/messages.ts' &&- !sourceRel.startsWith('packages/vue/src/locales/')+ !sourceRel.startsWith('packages/vue/src/i18n/messages/') &&+ !sourceRel.startsWith('packages/vue/src/i18n/locales/')) {return []}diff --git a/tools/i18n/src/check-locales.ts b/tools/i18n/src/check-locales.tsindex 81574447d..45d6476d7 100644--- a/tools/i18n/src/check-locales.ts+++ b/tools/i18n/src/check-locales.ts@@ -1,50 +1,135 @@#!/usr/bin/env bun-import { readFileSync, readdirSync } from 'node:fs'+import { existsSync, readFileSync, readdirSync } from 'node:fs'import { join } from 'node:path'import type { JsonObject } from '@open-pencil/scene-graph/primitives'+import {+ LOCALE_DIR_NAMES,+ TRANSLATED_LOCALES,+ messageDefaults,+ type TranslatedLocale+} from '@open-pencil/vue'-const MESSAGES_PATH = 'packages/vue/src/i18n/messages.ts'-const LOCALES_DIR = 'packages/vue/src/locales'+const LOCALES_DIR = 'packages/vue/src/i18n/locales'+const LOCALE_FILE_NAMES: Record<string, string> = {+ variableTypes: 'variable-types'+}+const REQUIRED_INDEX_FILE = 'index.ts'++function localeFileName(namespace: string) {+ return LOCALE_FILE_NAMES[namespace] ?? namespace+}-const content = readFileSync(MESSAGES_PATH, 'utf-8')+function readJsonObject(path: string): JsonObject {+ return JSON.parse(readFileSync(path, 'utf-8')) as JsonObject+}++function report(message: string) {+ hasErrors = true+ console.error(message)+}-const blocks = [...content.matchAll(/i18n\('(\w+)',\s*\{([\s\S]*?)\n\}\)/g)]-const enKeys = new Map<string, Set<string>>()-for (const [, ns, body] of blocks) {- const keys = [...body.matchAll(/^\s+(\w+):/gm)].map((m) => m[1])- enKeys.set(ns, new Set(keys))+function sameMembers(actual: Iterable<string>, expected: Iterable<string>) {+ const actualSet = new Set(actual)+ const expectedSet = new Set(expected)+ return {+ missing: [...expectedSet].filter((value) => !actualSet.has(value)).sort(),+ extra: [...actualSet].filter((value) => !expectedSet.has(value)).sort()+ }}-const localeFiles = readdirSync(LOCALES_DIR).filter((f) => f.endsWith('.json'))+const namespaces = Object.keys(messageDefaults)+const expectedKeys = new Map(+ Object.entries(messageDefaults).map(([namespace, messages]) => [+ namespace,+ new Set(Object.keys(messages))+ ])+)+const expectedLocaleDirs = new Map<TranslatedLocale, string>(+ TRANSLATED_LOCALES.map((locale) => [locale, LOCALE_DIR_NAMES[locale]])+)+const expectedLocaleFiles = new Set(namespaces.map(localeFileName))+let hasErrors = false-for (const file of localeFiles) {- const data = JSON.parse(readFileSync(join(LOCALES_DIR, file), 'utf-8'))+const mappingLocales = Object.keys(LOCALE_DIR_NAMES)+const localeMappingDiff = sameMembers(mappingLocales, TRANSLATED_LOCALES)+for (const locale of localeMappingDiff.missing) {+ report(`LOCALE_DIR_NAMES is missing translated locale '${locale}'.`)+}+for (const locale of localeMappingDiff.extra) {+ report(`LOCALE_DIR_NAMES contains unknown translated locale '${locale}'.`)+}++const duplicateDirs = new Map<string, string[]>()+for (const [locale, dir] of Object.entries(LOCALE_DIR_NAMES)) {+ const locales = duplicateDirs.get(dir) ?? []+ locales.push(locale)+ duplicateDirs.set(dir, locales)+}+for (const [dir, locales] of duplicateDirs) {+ if (locales.length > 1) report(`Locale directory '${dir}' is shared by ${locales.join(', ')}.`)+}++const actualLocaleDirs = readdirSync(LOCALES_DIR, { withFileTypes: true })+ .filter((entry) => entry.isDirectory())+ .map((entry) => entry.name)+ .sort()+const expectedDirs = [...expectedLocaleDirs.values()].sort()+const dirDiff = sameMembers(actualLocaleDirs, expectedDirs)+for (const dir of dirDiff.missing) report(`Missing locale directory '${dir}'.`)+for (const dir of dirDiff.extra) report(`Unexpected locale directory '${dir}'.`)++for (const [locale, dir] of expectedLocaleDirs) {+ const localeDir = join(LOCALES_DIR, dir)+ if (!existsSync(localeDir)) continue++ const files = readdirSync(localeDir)+ if (!files.includes(REQUIRED_INDEX_FILE)) {+ report(`\n${locale}: missing ${REQUIRED_INDEX_FILE}`)+ }++ const jsonFiles = files.filter((file) => file.endsWith('.json'))+ const namespaceFiles = new Set(jsonFiles.map((file) => file.slice(0, -5)))+ const fileDiff = sameMembers(namespaceFiles, expectedLocaleFiles)const missing: string[] = []const extra: string[] = []- for (const [ns, keys] of enKeys) {- const localeNs = (data[ns] ?? {}) as JsonObject- for (const key of keys) {- if (!(key in localeNs)) missing.push(`${ns}.${key}`)+ for (const file of fileDiff.missing) missing.push(`${file}.*`)+ for (const file of fileDiff.extra) extra.push(`${file}.*`)++ for (const namespace of namespaces) {+ const path = join(localeDir, `${localeFileName(namespace)}.json`)+ if (!existsSync(path)) continue++ const expected = expectedKeys.get(namespace)+ if (!expected) continue++ const data = readJsonObject(path)+ for (const key of expected) {+ if (!(key in data)) missing.push(`${namespace}.${key}`)}- for (const key of Object.keys(localeNs)) {- if (!keys.has(key)) extra.push(`${ns}.${key}`)+ for (const key of Object.keys(data)) {+ if (!expected.has(key)) extra.push(`${namespace}.${key}`)}}+ const extraNonJsonFiles = files.filter(+ (file) => file !== REQUIRED_INDEX_FILE && !file.endsWith('.json')+ )+ for (const file of extraNonJsonFiles) extra.push(file)+if (missing.length > 0 || extra.length > 0) {hasErrors = true- console.error(`\n${file}:`)- for (const m of missing) console.error(` missing: ${m}`)- for (const e of extra) console.error(` extra: ${e}`)+ console.error(`\n${locale}:`)+ for (const key of missing.sort()) console.error(` missing: ${key}`)+ for (const key of extra.sort()) console.error(` extra: ${key}`)}}if (hasErrors) {- console.error('\nLocale files are out of sync with messages.ts')+ console.error('\nLocale files are out of sync with message defaults')process.exit(1)-} else {- console.log('All locale files are in sync.')}++console.log('All locale files are in sync.')