@pairdraw/vue 0.19.2 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canvas/CanvasRoot.vue.js +2 -0
- package/dist/canvas/CanvasRoot.vue.js.map +1 -1
- package/dist/canvas/auto-layout/value-edit.js +1 -1
- package/dist/canvas/auto-layout/value-edit.js.map +1 -1
- package/dist/canvas/eyedropper/index.d.ts +26 -0
- package/dist/canvas/eyedropper/index.d.ts.map +1 -0
- package/dist/canvas/eyedropper/index.js +62 -0
- package/dist/canvas/eyedropper/index.js.map +1 -0
- package/dist/canvas/eyedropper/sample.js +13 -0
- package/dist/canvas/eyedropper/sample.js.map +1 -0
- package/dist/canvas/eyedropper/use.d.ts +33 -0
- package/dist/canvas/eyedropper/use.d.ts.map +1 -0
- package/dist/canvas/eyedropper/use.js +52 -0
- package/dist/canvas/eyedropper/use.js.map +1 -0
- package/dist/canvas/pointer/drag-move.js +4 -0
- package/dist/canvas/pointer/drag-move.js.map +1 -1
- package/dist/canvas/surface/kit-loader.js +2 -3
- package/dist/canvas/surface/kit-loader.js.map +1 -1
- package/dist/canvas/surface/lifecycle.js +30 -1
- package/dist/canvas/surface/lifecycle.js.map +1 -1
- package/dist/canvas/surface/types.d.ts +9 -0
- package/dist/canvas/surface/types.d.ts.map +1 -1
- package/dist/canvas/text-edit/textarea.d.ts +1 -0
- package/dist/canvas/text-edit/textarea.d.ts.map +1 -1
- package/dist/canvas/tools/registry.js +5 -1
- package/dist/canvas/tools/registry.js.map +1 -1
- package/dist/canvas/useCanvasInput.d.ts +152 -10
- package/dist/canvas/useCanvasInput.d.ts.map +1 -1
- package/dist/canvas/useCanvasInput.js +3 -2
- package/dist/canvas/useCanvasInput.js.map +1 -1
- package/dist/controls/document-colors/index.d.ts +2 -0
- package/dist/controls/document-colors/index.js +2 -0
- package/dist/controls/document-colors/use.d.ts +14 -0
- package/dist/controls/document-colors/use.d.ts.map +1 -0
- package/dist/controls/document-colors/use.js +27 -0
- package/dist/controls/document-colors/use.js.map +1 -0
- package/dist/controls/effects/helpers.d.ts +13 -2
- package/dist/controls/effects/helpers.d.ts.map +1 -1
- package/dist/controls/effects/helpers.js +89 -34
- package/dist/controls/effects/helpers.js.map +1 -1
- package/dist/controls/effects/index.d.ts +2 -1
- package/dist/controls/effects/index.js +2 -1
- package/dist/controls/effects/use.d.ts +9 -7
- package/dist/controls/effects/use.d.ts.map +1 -1
- package/dist/controls/effects/use.js +6 -3
- package/dist/controls/effects/use.js.map +1 -1
- package/dist/controls/node-props/use.d.ts +3 -3
- package/dist/controls/position/use.d.ts +1 -1
- package/dist/controls/typography/features.d.ts +24 -0
- package/dist/controls/typography/features.d.ts.map +1 -0
- package/dist/controls/typography/features.js +130 -0
- package/dist/controls/typography/features.js.map +1 -0
- package/dist/controls/typography/index.d.ts +2 -1
- package/dist/controls/typography/index.js +2 -1
- package/dist/controls/typography/use.d.ts +6 -0
- package/dist/controls/typography/use.d.ts.map +1 -1
- package/dist/controls/typography/use.js +4 -1
- package/dist/controls/typography/use.js.map +1 -1
- package/dist/editor/commands/registry.d.ts +4 -0
- package/dist/editor/commands/registry.d.ts.map +1 -1
- package/dist/editor/commands/registry.js +2 -0
- package/dist/editor/commands/registry.js.map +1 -1
- package/dist/editor/commands/selection.js +22 -0
- package/dist/editor/commands/selection.js.map +1 -1
- package/dist/editor/commands/types.d.ts +1 -1
- package/dist/editor/commands/types.d.ts.map +1 -1
- package/dist/editor/menu-model/canvas.d.ts.map +1 -1
- package/dist/editor/menu-model/canvas.js +7 -1
- package/dist/editor/menu-model/canvas.js.map +1 -1
- package/dist/editor/selection-capabilities/use.d.ts +2 -0
- package/dist/editor/selection-capabilities/use.js +5 -0
- package/dist/editor/selection-capabilities/use.js.map +1 -1
- package/dist/editor/selection-state/use.d.ts +1 -0
- package/dist/editor/selection-state/use.js +5 -0
- package/dist/editor/selection-state/use.js.map +1 -1
- package/dist/editor/tool-cursor/index.d.ts.map +1 -1
- package/dist/editor/tool-cursor/index.js +5 -1
- package/dist/editor/tool-cursor/index.js.map +1 -1
- package/dist/i18n/index.d.ts +5 -2
- package/dist/i18n/index.js +5 -2
- package/dist/i18n/locales/de/ai.json.js +53 -2
- package/dist/i18n/locales/de/commands.json.js +2 -0
- package/dist/i18n/locales/de/design-check.json.js +13 -1
- package/dist/i18n/locales/de/design-memory.json.js +82 -0
- package/dist/i18n/locales/de/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/de/fonts.json.js +10 -0
- package/dist/i18n/locales/de/index.js +5 -1
- package/dist/i18n/locales/de/index.js.map +1 -1
- package/dist/i18n/locales/de/menu.json.js +2 -0
- package/dist/i18n/locales/de/panels.json.js +94 -1
- package/dist/i18n/locales/de/settings.json.js +1 -0
- package/dist/i18n/locales/de/tools.json.js +3 -1
- package/dist/i18n/locales/de/variables/panel.json.js +20 -0
- package/dist/i18n/locales/de/variations.json.js +23 -0
- package/dist/i18n/locales/de/variations.json.js.map +1 -0
- package/dist/i18n/locales/es/ai.json.js +52 -1
- package/dist/i18n/locales/es/commands.json.js +2 -0
- package/dist/i18n/locales/es/design-check.json.js +13 -1
- package/dist/i18n/locales/es/design-memory.json.js +82 -0
- package/dist/i18n/locales/es/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/es/fonts.json.js +10 -0
- package/dist/i18n/locales/es/index.js +5 -1
- package/dist/i18n/locales/es/index.js.map +1 -1
- package/dist/i18n/locales/es/menu.json.js +2 -0
- package/dist/i18n/locales/es/panels.json.js +94 -1
- package/dist/i18n/locales/es/settings.json.js +1 -0
- package/dist/i18n/locales/es/tools.json.js +3 -1
- package/dist/i18n/locales/es/variables/panel.json.js +20 -0
- package/dist/i18n/locales/es/variations.json.js +23 -0
- package/dist/i18n/locales/es/variations.json.js.map +1 -0
- package/dist/i18n/locales/fr/ai.json.js +53 -2
- package/dist/i18n/locales/fr/commands.json.js +2 -0
- package/dist/i18n/locales/fr/design-check.json.js +13 -1
- package/dist/i18n/locales/fr/design-memory.json.js +82 -0
- package/dist/i18n/locales/fr/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/fr/fonts.json.js +10 -0
- package/dist/i18n/locales/fr/index.js +5 -1
- package/dist/i18n/locales/fr/index.js.map +1 -1
- package/dist/i18n/locales/fr/menu.json.js +2 -0
- package/dist/i18n/locales/fr/panels.json.js +94 -1
- package/dist/i18n/locales/fr/settings.json.js +1 -0
- package/dist/i18n/locales/fr/tools.json.js +3 -1
- package/dist/i18n/locales/fr/variables/panel.json.js +20 -0
- package/dist/i18n/locales/fr/variations.json.js +23 -0
- package/dist/i18n/locales/fr/variations.json.js.map +1 -0
- package/dist/i18n/locales/it/ai.json.js +53 -2
- package/dist/i18n/locales/it/commands.json.js +2 -0
- package/dist/i18n/locales/it/design-check.json.js +13 -1
- package/dist/i18n/locales/it/design-memory.json.js +82 -0
- package/dist/i18n/locales/it/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/it/fonts.json.js +10 -0
- package/dist/i18n/locales/it/index.js +5 -1
- package/dist/i18n/locales/it/index.js.map +1 -1
- package/dist/i18n/locales/it/menu.json.js +2 -0
- package/dist/i18n/locales/it/panels.json.js +94 -1
- package/dist/i18n/locales/it/settings.json.js +1 -0
- package/dist/i18n/locales/it/tools.json.js +3 -1
- package/dist/i18n/locales/it/variables/panel.json.js +20 -0
- package/dist/i18n/locales/it/variations.json.js +23 -0
- package/dist/i18n/locales/it/variations.json.js.map +1 -0
- package/dist/i18n/locales/ja/ai.json.js +53 -2
- package/dist/i18n/locales/ja/commands.json.js +2 -0
- package/dist/i18n/locales/ja/design-check.json.js +13 -1
- package/dist/i18n/locales/ja/design-memory.json.js +61 -0
- package/dist/i18n/locales/ja/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/ja/fonts.json.js +10 -0
- package/dist/i18n/locales/ja/index.js +5 -1
- package/dist/i18n/locales/ja/index.js.map +1 -1
- package/dist/i18n/locales/ja/menu.json.js +2 -0
- package/dist/i18n/locales/ja/panels.json.js +91 -1
- package/dist/i18n/locales/ja/settings.json.js +1 -0
- package/dist/i18n/locales/ja/tools.json.js +3 -1
- package/dist/i18n/locales/ja/variables/panel.json.js +20 -0
- package/dist/i18n/locales/ja/variations.json.js +23 -0
- package/dist/i18n/locales/ja/variations.json.js.map +1 -0
- package/dist/i18n/locales/pl/ai.json.js +53 -2
- package/dist/i18n/locales/pl/commands.json.js +2 -0
- package/dist/i18n/locales/pl/design-check.json.js +13 -1
- package/dist/i18n/locales/pl/design-memory.json.js +89 -0
- package/dist/i18n/locales/pl/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/pl/fonts.json.js +10 -0
- package/dist/i18n/locales/pl/index.js +5 -1
- package/dist/i18n/locales/pl/index.js.map +1 -1
- package/dist/i18n/locales/pl/menu.json.js +2 -0
- package/dist/i18n/locales/pl/panels.json.js +95 -1
- package/dist/i18n/locales/pl/settings.json.js +1 -0
- package/dist/i18n/locales/pl/tools.json.js +3 -1
- package/dist/i18n/locales/pl/variables/panel.json.js +20 -0
- package/dist/i18n/locales/pl/variations.json.js +23 -0
- package/dist/i18n/locales/pl/variations.json.js.map +1 -0
- package/dist/i18n/locales/ru/ai.json.js +53 -2
- package/dist/i18n/locales/ru/commands.json.js +3 -1
- package/dist/i18n/locales/ru/design-check.json.js +13 -1
- package/dist/i18n/locales/ru/design-memory.json.js +89 -0
- package/dist/i18n/locales/ru/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/ru/fonts.json.js +10 -0
- package/dist/i18n/locales/ru/index.js +5 -1
- package/dist/i18n/locales/ru/index.js.map +1 -1
- package/dist/i18n/locales/ru/menu.json.js +2 -0
- package/dist/i18n/locales/ru/panels.json.js +95 -1
- package/dist/i18n/locales/ru/settings.json.js +1 -0
- package/dist/i18n/locales/ru/tools.json.js +3 -1
- package/dist/i18n/locales/ru/variables/panel.json.js +20 -0
- package/dist/i18n/locales/ru/variations.json.js +23 -0
- package/dist/i18n/locales/ru/variations.json.js.map +1 -0
- package/dist/i18n/locales/zh-cn/ai.json.js +53 -2
- package/dist/i18n/locales/zh-cn/commands.json.js +2 -0
- package/dist/i18n/locales/zh-cn/design-check.json.js +13 -1
- package/dist/i18n/locales/zh-cn/design-memory.json.js +61 -0
- package/dist/i18n/locales/zh-cn/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/zh-cn/fonts.json.js +10 -0
- package/dist/i18n/locales/zh-cn/index.js +5 -1
- package/dist/i18n/locales/zh-cn/index.js.map +1 -1
- package/dist/i18n/locales/zh-cn/menu.json.js +2 -0
- package/dist/i18n/locales/zh-cn/panels.json.js +91 -1
- package/dist/i18n/locales/zh-cn/settings.json.js +1 -0
- package/dist/i18n/locales/zh-cn/tools.json.js +3 -1
- package/dist/i18n/locales/zh-cn/variables/panel.json.js +20 -0
- package/dist/i18n/locales/zh-cn/variations.json.js +23 -0
- package/dist/i18n/locales/zh-cn/variations.json.js.map +1 -0
- package/dist/i18n/messages/ai.d.ts +65 -2
- package/dist/i18n/messages/ai.d.ts.map +1 -1
- package/dist/i18n/messages/ai.js +53 -2
- package/dist/i18n/messages/ai.js.map +1 -1
- package/dist/i18n/messages/chat-usage.d.ts +34 -0
- package/dist/i18n/messages/chat-usage.d.ts.map +1 -0
- package/dist/i18n/messages/chat-usage.js +25 -0
- package/dist/i18n/messages/chat-usage.js.map +1 -0
- package/dist/i18n/messages/commands.d.ts +2 -0
- package/dist/i18n/messages/commands.d.ts.map +1 -1
- package/dist/i18n/messages/commands.js +2 -0
- package/dist/i18n/messages/commands.js.map +1 -1
- package/dist/i18n/messages/design-check.d.ts +12 -0
- package/dist/i18n/messages/design-check.d.ts.map +1 -1
- package/dist/i18n/messages/design-check.js +13 -1
- package/dist/i18n/messages/design-check.js.map +1 -1
- package/dist/i18n/messages/design-memory.d.ts +68 -0
- package/dist/i18n/messages/design-memory.d.ts.map +1 -0
- package/dist/i18n/messages/design-memory.js +85 -0
- package/dist/i18n/messages/design-memory.js.map +1 -0
- package/dist/i18n/messages/fonts.d.ts +12 -0
- package/dist/i18n/messages/fonts.d.ts.map +1 -1
- package/dist/i18n/messages/fonts.js +10 -0
- package/dist/i18n/messages/fonts.js.map +1 -1
- package/dist/i18n/messages/menu.d.ts +2 -0
- package/dist/i18n/messages/menu.d.ts.map +1 -1
- package/dist/i18n/messages/menu.js +2 -0
- package/dist/i18n/messages/menu.js.map +1 -1
- package/dist/i18n/messages/panels.d.ts +114 -0
- package/dist/i18n/messages/panels.d.ts.map +1 -1
- package/dist/i18n/messages/panels.js +94 -1
- package/dist/i18n/messages/panels.js.map +1 -1
- package/dist/i18n/messages/settings.d.ts +1 -0
- package/dist/i18n/messages/settings.d.ts.map +1 -1
- package/dist/i18n/messages/settings.js +1 -0
- package/dist/i18n/messages/settings.js.map +1 -1
- package/dist/i18n/messages/tools.d.ts +2 -0
- package/dist/i18n/messages/tools.d.ts.map +1 -1
- package/dist/i18n/messages/tools.js +3 -1
- package/dist/i18n/messages/tools.js.map +1 -1
- package/dist/i18n/messages/variables/panel.d.ts +24 -0
- package/dist/i18n/messages/variables/panel.d.ts.map +1 -1
- package/dist/i18n/messages/variables/panel.js +20 -0
- package/dist/i18n/messages/variables/panel.js.map +1 -1
- package/dist/i18n/messages/variations.d.ts +28 -0
- package/dist/i18n/messages/variations.d.ts.map +1 -0
- package/dist/i18n/messages/variations.js +26 -0
- package/dist/i18n/messages/variations.js.map +1 -0
- package/dist/i18n/messages.d.ts +356 -3
- package/dist/i18n/messages.d.ts.map +1 -1
- package/dist/i18n/messages.js +8 -2
- package/dist/i18n/messages.js.map +1 -1
- package/dist/i18n/useI18n.d.ts +1193 -9
- package/dist/i18n/useI18n.d.ts.map +1 -1
- package/dist/i18n/useI18n.js +8 -1
- package/dist/i18n/useI18n.js.map +1 -1
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts +5 -2
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts.map +1 -1
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js +12 -3
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js.map +1 -1
- package/dist/primitives/ColorPicker/index.d.ts +2 -1
- package/dist/primitives/ColorPicker/index.js +2 -1
- package/dist/primitives/ColorPicker/outside.d.ts +16 -0
- package/dist/primitives/ColorPicker/outside.d.ts.map +1 -0
- package/dist/primitives/ColorPicker/outside.js +20 -0
- package/dist/primitives/ColorPicker/outside.js.map +1 -0
- package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts +5 -0
- package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts.map +1 -1
- package/dist/primitives/FontPicker/FontPickerRoot.vue.js +63 -56
- package/dist/primitives/FontPicker/FontPickerRoot.vue.js.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +1 -1
- package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts +3 -0
- package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts.map +1 -1
- package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js +3 -1
- package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js.map +1 -1
- package/dist/shared/assets/cursors/eyedropper.svg.js +6 -0
- package/dist/shared/assets/cursors/eyedropper.svg.js.map +1 -0
- package/dist/shared/frame.d.ts +28 -0
- package/dist/shared/frame.d.ts.map +1 -0
- package/dist/shared/frame.js +92 -0
- package/dist/shared/frame.js.map +1 -0
- package/dist/shared/input/auto-layout/drag.js +71 -0
- package/dist/shared/input/auto-layout/drag.js.map +1 -0
- package/dist/shared/input/{auto-layout-hover.d.ts → auto-layout/hover.d.ts} +3 -3
- package/dist/shared/input/auto-layout/hover.d.ts.map +1 -0
- package/dist/shared/input/{auto-layout-hover.js → auto-layout/hover.js} +42 -86
- package/dist/shared/input/auto-layout/hover.js.map +1 -0
- package/dist/shared/input/{auto-layout.js → auto-layout/index.js} +2 -2
- package/dist/shared/input/auto-layout/index.js.map +1 -0
- package/dist/shared/input/index.d.ts +1 -1
- package/dist/shared/input/index.js +1 -1
- package/dist/shared/input/move/drag.js +1 -1
- package/dist/shared/input/resize.js +1 -1
- package/dist/shared/input/select.js +5 -3
- package/dist/shared/input/select.js.map +1 -1
- package/dist/shared/input/types.d.ts +10 -2
- package/dist/shared/input/types.d.ts.map +1 -1
- package/dist/shared/input/types.js.map +1 -1
- package/package.json +19 -4
- package/dist/shared/input/auto-layout-hover.d.ts.map +0 -1
- package/dist/shared/input/auto-layout-hover.js.map +0 -1
- package/dist/shared/input/auto-layout.js.map +0 -1
|
@@ -49,6 +49,8 @@ var design_check_default = {
|
|
|
49
49
|
ruleConsistentRadiusHelp: "圆角半径应取自圆角规范或变量。",
|
|
50
50
|
ruleNoHardcodedColors: "未绑定变量的颜色",
|
|
51
51
|
ruleNoHardcodedColorsHelp: "此颜色与某个颜色变量一致。绑定后,主题和色板的更改会同步到此图层。",
|
|
52
|
+
ruleNoUnboundTokenValues: "未绑定变量的令牌值",
|
|
53
|
+
ruleNoUnboundTokenValuesHelp: "这个圆角、间距或字号与某个令牌相同。绑定后,令牌的更改会同步到这个图层。",
|
|
52
54
|
detailStrokeColor: "描边:{variable}",
|
|
53
55
|
bindVariable: "绑定到 {variable}",
|
|
54
56
|
bindAll: "全部绑定({count})",
|
|
@@ -81,7 +83,17 @@ var design_check_default = {
|
|
|
81
83
|
ruleNoMixedStyles: "混合文字样式",
|
|
82
84
|
ruleNoMixedStylesHelp: "一个文字图层中的多种样式在编辑时容易被破坏。",
|
|
83
85
|
ruleNoDetachedInstances: "看起来像组件",
|
|
84
|
-
ruleNoDetachedInstancesHelp: "这个画框看起来像可复用元素。请使用组件实例。"
|
|
86
|
+
ruleNoDetachedInstancesHelp: "这个画框看起来像可复用元素。请使用组件实例。",
|
|
87
|
+
ruleDesignMemoryColors: "颜色不在设计记忆中",
|
|
88
|
+
ruleDesignMemoryColorsHelp: "请使用设计记忆允许的颜色,或允许此颜色。",
|
|
89
|
+
ruleDesignMemoryFonts: "字体不在设计记忆中",
|
|
90
|
+
ruleDesignMemoryFontsHelp: "请使用设计记忆允许的字体,或允许此字体。",
|
|
91
|
+
ruleDesignMemoryFontSizes: "字号不在设计记忆中",
|
|
92
|
+
ruleDesignMemoryFontSizesHelp: "请使用设计记忆中的字号,或允许此字号。",
|
|
93
|
+
ruleDesignMemorySpacing: "间距不在设计记忆中",
|
|
94
|
+
ruleDesignMemorySpacingHelp: "请使用设计记忆中的间距,或允许此值。",
|
|
95
|
+
ruleDesignMemoryRadius: "圆角不在设计记忆中",
|
|
96
|
+
ruleDesignMemoryRadiusHelp: "请使用设计记忆中的圆角半径,或允许此值。"
|
|
85
97
|
};
|
|
86
98
|
//#endregion
|
|
87
99
|
export { design_check_default as default };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//#region src/i18n/locales/zh-cn/design-memory.json
|
|
2
|
+
var design_memory_default = {
|
|
3
|
+
designMemory: "设计记忆",
|
|
4
|
+
editDesignMemory: "编辑设计记忆…",
|
|
5
|
+
createFromDocument: "从此文档创建",
|
|
6
|
+
emptyHint: "智能体在此文档中必须遵循的颜色、字体和间距。",
|
|
7
|
+
colorCount: { "many": "{count} 种颜色" },
|
|
8
|
+
fontCount: { "many": "{count} 种字体" },
|
|
9
|
+
sizeCount: { "many": "{count} 种字号" },
|
|
10
|
+
decisionCount: { "many": "{count} 条决定" },
|
|
11
|
+
exampleCount: { "many": "{count} 个示例" },
|
|
12
|
+
rules: "规则",
|
|
13
|
+
decisions: "决定",
|
|
14
|
+
examples: "示例",
|
|
15
|
+
colors: "颜色",
|
|
16
|
+
fonts: "字体",
|
|
17
|
+
fontSizes: "字号",
|
|
18
|
+
spacing: "间距",
|
|
19
|
+
radius: "圆角半径",
|
|
20
|
+
fromSystem: "包含变量和样式",
|
|
21
|
+
fromSystemCount: { "many": "来自变量和样式的 {count} 个值" },
|
|
22
|
+
enforcement: "当智能体使用其他值时",
|
|
23
|
+
refuse: "撤销该编辑",
|
|
24
|
+
warn: "警告",
|
|
25
|
+
off: "关闭",
|
|
26
|
+
notChecked: "尚未允许任何值,因此不检查",
|
|
27
|
+
addValue: "添加值",
|
|
28
|
+
pickColor: "选择颜色",
|
|
29
|
+
moreValues: "另外 {count} 个",
|
|
30
|
+
removeValue: "移除 {value}",
|
|
31
|
+
newDecision: "写下智能体应遵循的决定",
|
|
32
|
+
addDecision: "添加决定",
|
|
33
|
+
removeDecision: "移除决定",
|
|
34
|
+
byAgent: "智能体",
|
|
35
|
+
noDecisionsYet: "还没有决定",
|
|
36
|
+
noDecisions: "写下智能体应遵循的选择,例如哪种颜色用于主要操作。",
|
|
37
|
+
editDecision: "编辑决定",
|
|
38
|
+
moveUp: "上移",
|
|
39
|
+
moveDown: "下移",
|
|
40
|
+
noExamplesYet: "还没有示例",
|
|
41
|
+
noExamples: "选择一个展示正确设计的画框,并将其固定为示例。",
|
|
42
|
+
pinExample: "固定为示例",
|
|
43
|
+
unpinExample: "取消固定示例",
|
|
44
|
+
showExample: "显示",
|
|
45
|
+
removeExample: "移除示例",
|
|
46
|
+
missingExample: "已不在文档中",
|
|
47
|
+
learn: "从所选内容学习",
|
|
48
|
+
learnHeading: "所选内容使用的值",
|
|
49
|
+
learnHint: "只使用过一次的值默认不勾选。",
|
|
50
|
+
uses: { "many": "使用 {count} 次" },
|
|
51
|
+
addChecked: "添加已勾选的值",
|
|
52
|
+
nothingToLearn: "所选内容没有使用记忆尚未允许的值。",
|
|
53
|
+
deleteMemory: "删除设计记忆",
|
|
54
|
+
allow: "允许 {value}",
|
|
55
|
+
allowed: "已允许 {value}",
|
|
56
|
+
refused: "已被设计记忆撤销"
|
|
57
|
+
};
|
|
58
|
+
//#endregion
|
|
59
|
+
export { design_memory_default as default };
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=design-memory.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"design-memory.json.js","names":[],"sources":["../../../../src/i18n/locales/zh-cn/design-memory.json"],"sourcesContent":[""],"mappings":""}
|
|
@@ -28,6 +28,16 @@ var fonts_default = {
|
|
|
28
28
|
expandIssues: "显示字体问题",
|
|
29
29
|
collapseIssues: "隐藏字体问题",
|
|
30
30
|
noSubstitute: "没有可用的替代字体",
|
|
31
|
+
replaceFonts: "替换字体",
|
|
32
|
+
replaceFontsDescription: "替换此文档中的字体。缺失的字体已选中;所有文本图层、字符范围和文本样式都会随之改变。",
|
|
33
|
+
missingFont: "缺失",
|
|
34
|
+
usedByOneLayer: "1 个图层",
|
|
35
|
+
usedByLayers: "{count} 个图层",
|
|
36
|
+
replaceWith: "替换为",
|
|
37
|
+
fontStyle: "字体样式",
|
|
38
|
+
replaceSelected: "替换所选字体",
|
|
39
|
+
nothingToReplace: "此文档尚未使用字体。",
|
|
40
|
+
chooseReplacement: "请为至少一行选择另一种字体。",
|
|
31
41
|
unsupportedFormatShort: "不支持的格式",
|
|
32
42
|
unsupportedFormat: "已安装,但 Pairdraw 暂时无法绘制这种字体格式",
|
|
33
43
|
settingsDesktopDescription: "访问系统字体、在线提供商、后备字体包和缓存下载。",
|
|
@@ -12,6 +12,7 @@ import comments_default from "./comments.json.js";
|
|
|
12
12
|
import common_default from "./common.json.js";
|
|
13
13
|
import credentials_default from "./credentials.json.js";
|
|
14
14
|
import design_check_default from "./design-check.json.js";
|
|
15
|
+
import design_memory_default from "./design-memory.json.js";
|
|
15
16
|
import diagnostics_default from "./diagnostics.json.js";
|
|
16
17
|
import editor_default$1 from "./editor.json.js";
|
|
17
18
|
import explore_default from "./explore.json.js";
|
|
@@ -35,6 +36,7 @@ import tools_default from "./tools.json.js";
|
|
|
35
36
|
import updates_default from "./updates.json.js";
|
|
36
37
|
import panel_default from "./variables/panel.json.js";
|
|
37
38
|
import types_default from "./variables/types.json.js";
|
|
39
|
+
import variations_default from "./variations.json.js";
|
|
38
40
|
//#region src/i18n/locales/zh-cn/index.ts
|
|
39
41
|
var zh_cn_default = {
|
|
40
42
|
agents: agents_default,
|
|
@@ -51,6 +53,7 @@ var zh_cn_default = {
|
|
|
51
53
|
common: common_default,
|
|
52
54
|
credentials: credentials_default,
|
|
53
55
|
designCheck: design_check_default,
|
|
56
|
+
designMemory: design_memory_default,
|
|
54
57
|
diagnostics: diagnostics_default,
|
|
55
58
|
editor: editor_default$1,
|
|
56
59
|
explore: explore_default,
|
|
@@ -73,7 +76,8 @@ var zh_cn_default = {
|
|
|
73
76
|
tools: tools_default,
|
|
74
77
|
updates: updates_default,
|
|
75
78
|
variables: panel_default,
|
|
76
|
-
variableTypes: types_default
|
|
79
|
+
variableTypes: types_default,
|
|
80
|
+
variations: variations_default
|
|
77
81
|
};
|
|
78
82
|
//#endregion
|
|
79
83
|
export { zh_cn_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/i18n/locales/zh-cn/index.ts"],"sourcesContent":["import type { ComponentsJSON } from '@nanostores/i18n'\n\nimport agents from './agents.json'\nimport ai from './ai.json'\nimport automation from './automation.json'\nimport browser from './browser.json'\nimport chatContext from './chat-context.json'\nimport cloud from './cloud/editor.json'\nimport cloudPortal from './cloud/portal.json'\nimport code from './code.json'\nimport collaboration from './collaboration.json'\nimport commands from './commands.json'\nimport comments from './comments.json'\nimport common from './common.json'\nimport credentials from './credentials.json'\nimport designCheck from './design-check.json'\nimport diagnostics from './diagnostics.json'\nimport editor from './editor.json'\nimport explore from './explore.json'\nimport figjam from './figjam.json'\nimport files from './files.json'\nimport fonts from './fonts.json'\nimport media from './media.json'\nimport menu from './menu.json'\nimport pages from './pages.json'\nimport panels from './panels.json'\nimport recovery from './recovery.json'\nimport rename from './rename.json'\nimport rendering from './rendering.json'\nimport settings from './settings.json'\nimport shaders from './shaders.json'\nimport shapes from './shapes.json'\nimport slides from './slides.json'\nimport statuses from './statuses.json'\nimport storage from './storage.json'\nimport tools from './tools.json'\nimport updates from './updates.json'\nimport variables from './variables/panel.json'\nimport variableTypes from './variables/types.json'\n\nexport default {\n agents,\n ai,\n automation,\n browser,\n chatContext,\n cloud,\n cloudPortal,\n code,\n collaboration,\n commands,\n comments,\n common,\n credentials,\n designCheck,\n diagnostics,\n editor,\n explore,\n figjam,\n files,\n fonts,\n media,\n menu,\n pages,\n panels,\n recovery,\n rendering,\n rename,\n settings,\n shaders,\n shapes,\n slides,\n statuses,\n storage,\n tools,\n updates,\n variables,\n variableTypes\n} satisfies ComponentsJSON\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/i18n/locales/zh-cn/index.ts"],"sourcesContent":["import type { ComponentsJSON } from '@nanostores/i18n'\n\nimport agents from './agents.json'\nimport ai from './ai.json'\nimport automation from './automation.json'\nimport browser from './browser.json'\nimport chatContext from './chat-context.json'\nimport cloud from './cloud/editor.json'\nimport cloudPortal from './cloud/portal.json'\nimport code from './code.json'\nimport collaboration from './collaboration.json'\nimport commands from './commands.json'\nimport comments from './comments.json'\nimport common from './common.json'\nimport credentials from './credentials.json'\nimport designCheck from './design-check.json'\nimport designMemory from './design-memory.json'\nimport diagnostics from './diagnostics.json'\nimport editor from './editor.json'\nimport explore from './explore.json'\nimport figjam from './figjam.json'\nimport files from './files.json'\nimport fonts from './fonts.json'\nimport media from './media.json'\nimport menu from './menu.json'\nimport pages from './pages.json'\nimport panels from './panels.json'\nimport recovery from './recovery.json'\nimport rename from './rename.json'\nimport rendering from './rendering.json'\nimport settings from './settings.json'\nimport shaders from './shaders.json'\nimport shapes from './shapes.json'\nimport slides from './slides.json'\nimport statuses from './statuses.json'\nimport storage from './storage.json'\nimport tools from './tools.json'\nimport updates from './updates.json'\nimport variables from './variables/panel.json'\nimport variableTypes from './variables/types.json'\nimport variations from './variations.json'\n\nexport default {\n agents,\n ai,\n automation,\n browser,\n chatContext,\n cloud,\n cloudPortal,\n code,\n collaboration,\n commands,\n comments,\n common,\n credentials,\n designCheck,\n designMemory,\n diagnostics,\n editor,\n explore,\n figjam,\n files,\n fonts,\n media,\n menu,\n pages,\n panels,\n recovery,\n rendering,\n rename,\n settings,\n shaders,\n shapes,\n slides,\n statuses,\n storage,\n tools,\n updates,\n variables,\n variableTypes,\n variations\n} satisfies ComponentsJSON\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,IAAA,gBAAe;CACb,QAAA;CACA,IAAA;CACA,YAAA;CACA,SAAA;CACA,aAAA;CACA,OAAA;CACA,aAAA;CACA,MAAA;CACA,eAAA;CACA,UAAA;CACA,UAAA;CACA,QAAA;CACA,aAAA;CACA,aAAA;CACA,cAAA;CACA,aAAA;CACA,QAAA;CACA,SAAA;CACA,QAAA;CACA,OAAA;CACA,OAAA;CACA,OAAA;CACA,MAAA;CACA,OAAA;CACA,QAAA;CACA,UAAA;CACA,WAAA;CACA,QAAA;CACA,UAAA;CACA,SAAA;CACA,QAAA;CACA,QAAA;CACA,UAAA;CACA,SAAA;CACA,OAAA;CACA,SAAA;CACA,WAAA;CACA,eAAA;CACA,YAAA;AACF"}
|
|
@@ -51,6 +51,7 @@ var menu_default = {
|
|
|
51
51
|
copyAsJSX: "复制为 JSX",
|
|
52
52
|
copyAsHTML: "复制为 HTML",
|
|
53
53
|
runStickyAsPrompt: "将便利贴作为提示运行",
|
|
54
|
+
exploreVariations: "方案…",
|
|
54
55
|
copyNodeId: "复制节点 ID",
|
|
55
56
|
copyXPath: "复制 XPath",
|
|
56
57
|
convertToVector: "转换为矢量",
|
|
@@ -82,6 +83,7 @@ var menu_default = {
|
|
|
82
83
|
insertScript: "插入脚本…",
|
|
83
84
|
placeImage: "置入图片…",
|
|
84
85
|
exportFramesToPDF: "将画框导出为 PDF…",
|
|
86
|
+
exportPrototypeVideo: "将原型导出为视频…",
|
|
85
87
|
imageFiles: "图片",
|
|
86
88
|
splitRight: "向右拆分",
|
|
87
89
|
splitDown: "向下拆分",
|
|
@@ -8,6 +8,7 @@ var panels_default = {
|
|
|
8
8
|
assets: "资源",
|
|
9
9
|
page: "页面",
|
|
10
10
|
selectionColors: "所选颜色",
|
|
11
|
+
documentColors: "文档颜色",
|
|
11
12
|
frame: "画框",
|
|
12
13
|
group: "编组",
|
|
13
14
|
layerType: "图层类型",
|
|
@@ -58,10 +59,34 @@ var panels_default = {
|
|
|
58
59
|
paragraphIndent: "段落缩进",
|
|
59
60
|
hangingLists: "悬挂列表",
|
|
60
61
|
openTypeFeatures: "字体功能",
|
|
62
|
+
moreFontFeatures: "更多字体功能",
|
|
61
63
|
standardLigatures: "标准连字",
|
|
62
64
|
contextualAlternates: "上下文替代字形",
|
|
63
65
|
opticalSizeMode: "光学尺寸模式",
|
|
64
66
|
kerning: "字距调整",
|
|
67
|
+
discretionaryLigatures: "自由连字",
|
|
68
|
+
historicalLigatures: "历史连字",
|
|
69
|
+
ordinals: "序数词",
|
|
70
|
+
slashedZero: "带斜线零",
|
|
71
|
+
liningFigures: "齐线数字",
|
|
72
|
+
oldstyleFigures: "旧式数字",
|
|
73
|
+
proportionalFigures: "比例数字",
|
|
74
|
+
tabularFigures: "等宽数字",
|
|
75
|
+
fractions: "分数",
|
|
76
|
+
stackedFractions: "堆叠分数",
|
|
77
|
+
smallCaps: "小型大写字母",
|
|
78
|
+
petiteCaps: "微型大写字母",
|
|
79
|
+
allSmallCaps: "全部小型大写字母",
|
|
80
|
+
allPetiteCaps: "全部微型大写字母",
|
|
81
|
+
unicase: "单案例",
|
|
82
|
+
titling: "标题字形",
|
|
83
|
+
caseSensitiveForms: "大小写敏感字形",
|
|
84
|
+
scientificInferiors: "科学下标",
|
|
85
|
+
subscript: "下标",
|
|
86
|
+
superscript: "上标",
|
|
87
|
+
stylisticSet: "风格集 {number}",
|
|
88
|
+
characterVariant: "字符变体 {number}",
|
|
89
|
+
fontFeatureTag: "功能 {tag}",
|
|
65
90
|
textFormatting: "文本格式",
|
|
66
91
|
pageBackground: "页面背景",
|
|
67
92
|
variables: "变量",
|
|
@@ -440,6 +465,18 @@ var panels_default = {
|
|
|
440
465
|
starRatio: "比例",
|
|
441
466
|
spread: "扩展",
|
|
442
467
|
foregroundBlur: "前景模糊",
|
|
468
|
+
noise: "噪点",
|
|
469
|
+
texture: "纹理",
|
|
470
|
+
noiseType: "噪点类型",
|
|
471
|
+
noiseMono: "单色",
|
|
472
|
+
noiseDuo: "双色",
|
|
473
|
+
noiseMulti: "多色",
|
|
474
|
+
noiseSize: "噪点大小",
|
|
475
|
+
grainSize: "大小",
|
|
476
|
+
density: "密度",
|
|
477
|
+
noiseColors: "颜色",
|
|
478
|
+
noiseSecondColor: "第二种颜色",
|
|
479
|
+
clipToShape: "裁剪到形状",
|
|
443
480
|
strokeType: "描边类型",
|
|
444
481
|
strokeWeight: "描边粗细",
|
|
445
482
|
exportScale: "导出缩放",
|
|
@@ -712,20 +749,73 @@ var panels_default = {
|
|
|
712
749
|
prototypeRemoveInteraction: "移除交互",
|
|
713
750
|
prototypeTrigger: "触发",
|
|
714
751
|
prototypeTriggerOnClick: "点击时",
|
|
752
|
+
prototypeTriggerWhileHovering: "悬停时",
|
|
753
|
+
prototypeTriggerWhilePressing: "按住时",
|
|
754
|
+
prototypeTriggerMouseEnter: "鼠标移入",
|
|
755
|
+
prototypeTriggerMouseLeave: "鼠标移出",
|
|
715
756
|
prototypeTriggerAfterDelay: "延迟后",
|
|
716
757
|
prototypeDelay: "延迟",
|
|
717
758
|
prototypeAction: "动作",
|
|
718
759
|
prototypeActionNavigate: "跳转到",
|
|
719
760
|
prototypeActionOverlay: "打开叠加层",
|
|
761
|
+
prototypeActionChangeTo: "更改为",
|
|
762
|
+
prototypeActionScrollTo: "滚动到",
|
|
720
763
|
prototypeActionBack: "返回",
|
|
721
764
|
prototypeActionClose: "关闭叠加层",
|
|
722
765
|
prototypeDestination: "目标",
|
|
723
766
|
prototypeDestinationPlaceholder: "选择画框",
|
|
767
|
+
prototypeVariantPlaceholder: "选择变体",
|
|
768
|
+
prototypeLayerPlaceholder: "选择图层",
|
|
769
|
+
prototypeInheritedInteractions: { "many": "来自主组件的 {count} 个交互" },
|
|
724
770
|
prototypeAnimation: "动画",
|
|
725
771
|
prototypeAnimationInstant: "即时",
|
|
726
772
|
prototypeAnimationDissolve: "溶解",
|
|
773
|
+
prototypeAnimationSmartAnimate: "智能动画",
|
|
774
|
+
prototypeEasing: "缓动",
|
|
775
|
+
prototypeEasingEaseOut: "缓出",
|
|
776
|
+
prototypeEasingEaseIn: "缓入",
|
|
777
|
+
prototypeEasingEaseInAndOut: "缓入缓出",
|
|
778
|
+
prototypeEasingLinear: "线性",
|
|
727
779
|
prototypeDuration: "时长",
|
|
728
|
-
prototypeNoFrames: "在此页面添加画框即可链接。"
|
|
780
|
+
prototypeNoFrames: "在此页面添加画框即可链接。",
|
|
781
|
+
prototypeExportVideo: "导出为视频",
|
|
782
|
+
prototypeVideoHeading: "将原型导出为视频",
|
|
783
|
+
prototypeVideoDescription: "从一个画框开始播放原型,按每个“延迟后”及其过渡录制播放画面。",
|
|
784
|
+
prototypeVideoStart: "起始画框",
|
|
785
|
+
prototypeVideoFormat: "格式",
|
|
786
|
+
prototypeVideoSize: "尺寸",
|
|
787
|
+
prototypeVideoSizeOriginal: "原始尺寸",
|
|
788
|
+
prototypeVideoSizeDouble: "两倍尺寸",
|
|
789
|
+
prototypeVideoSizeLongEdge: "长边 {pixels} px",
|
|
790
|
+
prototypeVideoFrameRate: "帧率",
|
|
791
|
+
prototypeVideoFps: "{fps} fps",
|
|
792
|
+
prototypeVideoMaxLength: "最长时长",
|
|
793
|
+
prototypeVideoSummary: "时长 {seconds} 秒,尺寸 {width}×{height}。",
|
|
794
|
+
prototypeVideoLoops: "播放会回到起始画框,因此视频会循环。",
|
|
795
|
+
prototypeVideoTruncated: "流程还会继续,因此视频在最长时长处结束。",
|
|
796
|
+
prototypeVideoNothingToRecord: "没有可录制的内容",
|
|
797
|
+
prototypeVideoFailed: "无法导出视频",
|
|
798
|
+
prototypeVideoNothingToFollow: "“{frame}”没有可跟随的“延迟后”交互。请在原型面板中添加,或从其他画框开始。",
|
|
799
|
+
prototypeVideoFormatsHere: "此浏览器可以录制 {formats}。",
|
|
800
|
+
prototypeVideoExport: "导出",
|
|
801
|
+
prototypeVideoRecording: "正在录制第 {done} 帧,共 {total} 帧",
|
|
802
|
+
imageExposure: "曝光",
|
|
803
|
+
imageContrast: "对比度",
|
|
804
|
+
imageSaturation: "饱和度",
|
|
805
|
+
imageTemperature: "色温",
|
|
806
|
+
imageTint: "色调",
|
|
807
|
+
imageHighlights: "高光",
|
|
808
|
+
imageShadows: "阴影",
|
|
809
|
+
prototypeOverflow: "溢出滚动",
|
|
810
|
+
prototypeOverflowNone: "不滚动",
|
|
811
|
+
prototypeOverflowVertical: "垂直",
|
|
812
|
+
prototypeOverflowHorizontal: "水平",
|
|
813
|
+
prototypeOverflowBoth: "双向",
|
|
814
|
+
prototypeOverflowNeedsClip: "开启“裁剪内容”后,此画框才能在播放时滚动。",
|
|
815
|
+
prototypeScrollBehavior: "滚动时位置",
|
|
816
|
+
prototypeScrollBehaviorScrolls: "随父级滚动",
|
|
817
|
+
prototypeScrollBehaviorFixed: "固定",
|
|
818
|
+
prototypeScrollBehaviorSticky: "粘性"
|
|
729
819
|
};
|
|
730
820
|
//#endregion
|
|
731
821
|
export { panels_default as default };
|
|
@@ -140,6 +140,26 @@ var panel_default = {
|
|
|
140
140
|
cssPushed: "已将变量写入 {file}:更改 {updated} 个,新增 {added} 个。",
|
|
141
141
|
cssPushedCopy: "已将变量保存到 {file} 的副本:更改 {updated} 个,新增 {added} 个。",
|
|
142
142
|
cssPushNothing: "{file} 已与变量一致。",
|
|
143
|
+
syncInSync: "已同步",
|
|
144
|
+
syncToReview: "待查看: {count}",
|
|
145
|
+
syncReview: "查看更改",
|
|
146
|
+
syncReviewTitle: "查看来自 {file} 的更改",
|
|
147
|
+
syncReviewDescription: "只在文件中更改的值会在应用时同步。其余的请选择保留哪个值。",
|
|
148
|
+
syncChangedInCode: "在代码中更改",
|
|
149
|
+
syncChangedOnCanvas: "在画布上更改",
|
|
150
|
+
syncChangedInBoth: "两处都已更改",
|
|
151
|
+
syncNewInCode: "代码中新增",
|
|
152
|
+
syncNoLongerInCode: "已不在代码中",
|
|
153
|
+
syncDeletedOnCanvas: "已在画布上删除",
|
|
154
|
+
syncNoLongerInCodeHint: "这些变量会保留。如果不再需要,可以删除它们。",
|
|
155
|
+
syncCodeValue: "代码中",
|
|
156
|
+
syncCanvasValue: "画布上",
|
|
157
|
+
syncKeepCode: "代码",
|
|
158
|
+
syncKeepCanvas: "画布",
|
|
159
|
+
syncSkip: "跳过",
|
|
160
|
+
syncAllCode: "全部使用代码",
|
|
161
|
+
syncAllCanvas: "全部保留画布",
|
|
162
|
+
syncApply: "应用",
|
|
143
163
|
formula: "公式",
|
|
144
164
|
useFormula: "使用公式",
|
|
145
165
|
formulaPlaceholder: "值或公式",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/i18n/locales/zh-cn/variations.json
|
|
2
|
+
var variations_default = {
|
|
3
|
+
variations: "方案",
|
|
4
|
+
variationsCount: "方案 · {count}",
|
|
5
|
+
variationsOf: "{name} 的方案",
|
|
6
|
+
previousVersion: "上一个版本",
|
|
7
|
+
nextVersion: "下一个版本",
|
|
8
|
+
useThis: "使用此版本",
|
|
9
|
+
useThisHint: "用此版本替换 {name}",
|
|
10
|
+
selectVersion: "选择一个版本以使用它",
|
|
11
|
+
goToOriginal: "转到原图层",
|
|
12
|
+
discardAll: "全部舍弃",
|
|
13
|
+
originalChanged: "创建这些方案后,原图层已更改。",
|
|
14
|
+
originalMissing: "原图层已不存在,因此没有版本可以替换它。",
|
|
15
|
+
originalInInstance: "原图层位于实例中,因此没有版本可以替换它。",
|
|
16
|
+
originalLocked: "原图层已锁定。请解锁后再使用版本。",
|
|
17
|
+
originalNotEditable: "原图层属于某个库,因此无法在此处用任何版本替换它。",
|
|
18
|
+
versionTypeDiffers: "此版本与原图层的图层类型不同,因此无法替换它。"
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { variations_default as default };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=variations.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variations.json.js","names":[],"sources":["../../../../src/i18n/locales/zh-cn/variations.json"],"sourcesContent":[""],"mappings":""}
|
|
@@ -316,6 +316,8 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
|
|
|
316
316
|
readonly canvasPromptHint: "Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.";
|
|
317
317
|
readonly animateEdits: "Animate AI edits";
|
|
318
318
|
readonly animateEditsHint: "Layers the AI adds trace in one after another, and the frames it works in shimmer until it finishes. Follows the Animations setting.";
|
|
319
|
+
readonly showTokenUsage: "Show token usage and cost";
|
|
320
|
+
readonly showTokenUsageHint: "Show the tokens each reply spent and the conversation’s running total, with an estimated cost when the model’s price is known.";
|
|
319
321
|
/** The notice once an agent's run of edits ends; its action shows the layers it touched. */
|
|
320
322
|
readonly editSummary: import("@nanostores/i18n").TranslationFunction<[{
|
|
321
323
|
added: string | number;
|
|
@@ -392,8 +394,8 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
|
|
|
392
394
|
readonly modelRoleFast: "Fast tasks";
|
|
393
395
|
readonly modelRoleVision: "Vision";
|
|
394
396
|
readonly modelRoleDesignDescription: "AI chat and canvas edits";
|
|
395
|
-
readonly modelRoleReviewDescription: "
|
|
396
|
-
readonly modelRoleFastDescription: "
|
|
397
|
+
readonly modelRoleReviewDescription: "Design reviews you ask for";
|
|
398
|
+
readonly modelRoleFastDescription: "Chat titles and compaction summaries";
|
|
397
399
|
readonly modelRoleVisionDescription: "Screenshots and image references";
|
|
398
400
|
readonly modelRoleUseDesign: "Same as Design";
|
|
399
401
|
readonly noModel: "None";
|
|
@@ -425,6 +427,67 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
|
|
|
425
427
|
readonly chatRequestFailed: "The model request failed. Check the provider settings and try again.";
|
|
426
428
|
readonly chatProviderStalled: "The provider stopped responding. Check your connection and try again.";
|
|
427
429
|
readonly chatEmptyReply: "The model returned no reply. Try again.";
|
|
430
|
+
readonly chatContextLimit: "The conversation is longer than the model can read.";
|
|
431
|
+
readonly compactCommand: "Summarize the conversation so far; text after it says what to keep";
|
|
432
|
+
readonly compactAutomatically: "Compact automatically";
|
|
433
|
+
readonly compactAutomaticallyHint: "Summarizes older messages when the context window fills up.";
|
|
434
|
+
readonly compacting: "Compacting the conversation…";
|
|
435
|
+
readonly compactionFailed: "The conversation could not be compacted. Nothing was changed.";
|
|
436
|
+
readonly compactAndRetry: "Compact and retry";
|
|
437
|
+
readonly conversationCompacted: "Conversation compacted";
|
|
438
|
+
readonly compactionKeepsMessages: "The model now gets this summary instead of the messages above; you still see them.";
|
|
439
|
+
readonly agentCompactionKeepsMessages: "The agent now works from its own summary of the messages above; you still see them.";
|
|
440
|
+
readonly compactionTokens: import("@nanostores/i18n").TranslationFunction<[{
|
|
441
|
+
before: string | number;
|
|
442
|
+
} & {
|
|
443
|
+
after: string | number;
|
|
444
|
+
} & object], string>;
|
|
445
|
+
readonly reviewCommand: "Review the selection or page with the Review model; text after it says what to focus on";
|
|
446
|
+
readonly reviewing: "Reviewing the design…";
|
|
447
|
+
readonly designReview: "Design review";
|
|
448
|
+
readonly changeReview: "Change review";
|
|
449
|
+
readonly reviewChange: "Review this change";
|
|
450
|
+
readonly reviewFix: "Fix these";
|
|
451
|
+
readonly reviewFixRequest: import("@nanostores/i18n").TranslationFunction<[{
|
|
452
|
+
findings: string | number;
|
|
453
|
+
} & object], string>;
|
|
454
|
+
readonly reviewFailed: "The design could not be reviewed.";
|
|
455
|
+
readonly reviewNoModel: "Assign a model to Review or Design in Settings to review designs.";
|
|
456
|
+
readonly reviewImagesUnreadable: "The Review model cannot read images, so it cannot compare the design with an attached image.";
|
|
457
|
+
readonly reviewEmpty: "There is nothing on this page to review.";
|
|
458
|
+
readonly reviewUnsupported: "This model cannot review designs. Assign an API model to Review in Settings.";
|
|
459
|
+
readonly promptDesignDescription: "Your own instructions for the chat, after Pairdraw’s or in their place. The design JSX reference always follows.";
|
|
460
|
+
readonly promptDesignMode: "Your instructions";
|
|
461
|
+
readonly promptDesignPlaceholder: "For example: Use our 8px spacing scale and the brand colors from the Tokens page.";
|
|
462
|
+
readonly promptDesignAdd: "Add to Pairdraw’s";
|
|
463
|
+
readonly promptDesignReplace: "Replace Pairdraw’s";
|
|
464
|
+
readonly promptDesignStart: "Start from Pairdraw’s";
|
|
465
|
+
readonly promptDesignReplaced: "Pairdraw’s instructions are off";
|
|
466
|
+
readonly promptDesignReplaceWarning: "Without them the model may use its tools poorly. Reset brings them back.";
|
|
467
|
+
readonly promptReviewDescription: "What the Review model is told for /review and Review this change.";
|
|
468
|
+
readonly promptTitle: "Chat titles";
|
|
469
|
+
readonly promptTitleDescription: "What the Fast tasks model is asked to name a conversation.";
|
|
470
|
+
readonly promptSummary: "Compaction summaries";
|
|
471
|
+
readonly promptSummaryDescription: "What the model is told when it summarizes a conversation to compact it.";
|
|
472
|
+
readonly promptVariablesAndPreview: "Variables and preview";
|
|
473
|
+
readonly promptVariableLanguage: "The language to write in when the request names none";
|
|
474
|
+
readonly promptVariableFocus: "What the person asked the review to look at, or empty";
|
|
475
|
+
readonly promptVariableSeesImages: "Whether the model is shown images of the design";
|
|
476
|
+
readonly promptVariableReferences: "How many reference images follow the design";
|
|
477
|
+
readonly promptVariableEdit: "Whether this reviews the agent’s own last change, not a whole design";
|
|
478
|
+
readonly promptVariableRequest: "The conversation’s first request";
|
|
479
|
+
readonly promptVariableReply: "The beginning of the first reply";
|
|
480
|
+
readonly promptPreview: "Preview with sample values";
|
|
481
|
+
readonly promptUnknownVariable: import("@nanostores/i18n").TranslationFunction<[{
|
|
482
|
+
name: string | number;
|
|
483
|
+
} & object], string>;
|
|
484
|
+
readonly promptErrors: "This prompt has errors";
|
|
485
|
+
readonly promptErrorsHint: "Pairdraw’s is used until they are fixed.";
|
|
486
|
+
readonly promptErrorAt: import("@nanostores/i18n").TranslationFunction<[{
|
|
487
|
+
line: string | number;
|
|
488
|
+
} & {
|
|
489
|
+
message: string | number;
|
|
490
|
+
} & object], string>;
|
|
428
491
|
readonly chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.";
|
|
429
492
|
readonly openProviderSettingsAction: "Open settings";
|
|
430
493
|
readonly cloudWorkspace: "Workspace";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/i18n/messages/ai.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/i18n/messages/ai.ts"],"mappings":";cA+rBa,uCAAU"}
|
package/dist/i18n/messages/ai.js
CHANGED
|
@@ -208,6 +208,8 @@ const aiMessageDefaults = {
|
|
|
208
208
|
canvasPromptHint: "Show a prompt at the bottom of the canvas while the chat is closed. What you write there goes to the chat.",
|
|
209
209
|
animateEdits: "Animate AI edits",
|
|
210
210
|
animateEditsHint: "Layers the AI adds trace in one after another, and the frames it works in shimmer until it finishes. Follows the Animations setting.",
|
|
211
|
+
showTokenUsage: "Show token usage and cost",
|
|
212
|
+
showTokenUsageHint: "Show the tokens each reply spent and the conversation’s running total, with an estimated cost when the model’s price is known.",
|
|
211
213
|
/** The notice once an agent's run of edits ends; its action shows the layers it touched. */
|
|
212
214
|
editSummary: params("AI edits done · new layers: {added} · changed: {changed}"),
|
|
213
215
|
editSummaryAdded: params("AI edits done · new layers: {added}"),
|
|
@@ -272,8 +274,8 @@ const aiMessageDefaults = {
|
|
|
272
274
|
modelRoleFast: "Fast tasks",
|
|
273
275
|
modelRoleVision: "Vision",
|
|
274
276
|
modelRoleDesignDescription: "AI chat and canvas edits",
|
|
275
|
-
modelRoleReviewDescription: "
|
|
276
|
-
modelRoleFastDescription: "
|
|
277
|
+
modelRoleReviewDescription: "Design reviews you ask for",
|
|
278
|
+
modelRoleFastDescription: "Chat titles and compaction summaries",
|
|
277
279
|
modelRoleVisionDescription: "Screenshots and image references",
|
|
278
280
|
modelRoleUseDesign: "Same as Design",
|
|
279
281
|
noModel: "None",
|
|
@@ -305,6 +307,55 @@ const aiMessageDefaults = {
|
|
|
305
307
|
chatRequestFailed: "The model request failed. Check the provider settings and try again.",
|
|
306
308
|
chatProviderStalled: "The provider stopped responding. Check your connection and try again.",
|
|
307
309
|
chatEmptyReply: "The model returned no reply. Try again.",
|
|
310
|
+
chatContextLimit: "The conversation is longer than the model can read.",
|
|
311
|
+
compactCommand: "Summarize the conversation so far; text after it says what to keep",
|
|
312
|
+
compactAutomatically: "Compact automatically",
|
|
313
|
+
compactAutomaticallyHint: "Summarizes older messages when the context window fills up.",
|
|
314
|
+
compacting: "Compacting the conversation…",
|
|
315
|
+
compactionFailed: "The conversation could not be compacted. Nothing was changed.",
|
|
316
|
+
compactAndRetry: "Compact and retry",
|
|
317
|
+
conversationCompacted: "Conversation compacted",
|
|
318
|
+
compactionKeepsMessages: "The model now gets this summary instead of the messages above; you still see them.",
|
|
319
|
+
agentCompactionKeepsMessages: "The agent now works from its own summary of the messages above; you still see them.",
|
|
320
|
+
compactionTokens: params("{before} → {after} tokens"),
|
|
321
|
+
reviewCommand: "Review the selection or page with the Review model; text after it says what to focus on",
|
|
322
|
+
reviewing: "Reviewing the design…",
|
|
323
|
+
designReview: "Design review",
|
|
324
|
+
changeReview: "Change review",
|
|
325
|
+
reviewChange: "Review this change",
|
|
326
|
+
reviewFix: "Fix these",
|
|
327
|
+
reviewFixRequest: params("Fix the issues this design review found:\n\n{findings}"),
|
|
328
|
+
reviewFailed: "The design could not be reviewed.",
|
|
329
|
+
reviewNoModel: "Assign a model to Review or Design in Settings to review designs.",
|
|
330
|
+
reviewImagesUnreadable: "The Review model cannot read images, so it cannot compare the design with an attached image.",
|
|
331
|
+
reviewEmpty: "There is nothing on this page to review.",
|
|
332
|
+
reviewUnsupported: "This model cannot review designs. Assign an API model to Review in Settings.",
|
|
333
|
+
promptDesignDescription: "Your own instructions for the chat, after Pairdraw’s or in their place. The design JSX reference always follows.",
|
|
334
|
+
promptDesignMode: "Your instructions",
|
|
335
|
+
promptDesignPlaceholder: "For example: Use our 8px spacing scale and the brand colors from the Tokens page.",
|
|
336
|
+
promptDesignAdd: "Add to Pairdraw’s",
|
|
337
|
+
promptDesignReplace: "Replace Pairdraw’s",
|
|
338
|
+
promptDesignStart: "Start from Pairdraw’s",
|
|
339
|
+
promptDesignReplaced: "Pairdraw’s instructions are off",
|
|
340
|
+
promptDesignReplaceWarning: "Without them the model may use its tools poorly. Reset brings them back.",
|
|
341
|
+
promptReviewDescription: "What the Review model is told for /review and Review this change.",
|
|
342
|
+
promptTitle: "Chat titles",
|
|
343
|
+
promptTitleDescription: "What the Fast tasks model is asked to name a conversation.",
|
|
344
|
+
promptSummary: "Compaction summaries",
|
|
345
|
+
promptSummaryDescription: "What the model is told when it summarizes a conversation to compact it.",
|
|
346
|
+
promptVariablesAndPreview: "Variables and preview",
|
|
347
|
+
promptVariableLanguage: "The language to write in when the request names none",
|
|
348
|
+
promptVariableFocus: "What the person asked the review to look at, or empty",
|
|
349
|
+
promptVariableSeesImages: "Whether the model is shown images of the design",
|
|
350
|
+
promptVariableReferences: "How many reference images follow the design",
|
|
351
|
+
promptVariableEdit: "Whether this reviews the agent’s own last change, not a whole design",
|
|
352
|
+
promptVariableRequest: "The conversation’s first request",
|
|
353
|
+
promptVariableReply: "The beginning of the first reply",
|
|
354
|
+
promptPreview: "Preview with sample values",
|
|
355
|
+
promptUnknownVariable: params("{name} is not a variable of this prompt, so it stays empty."),
|
|
356
|
+
promptErrors: "This prompt has errors",
|
|
357
|
+
promptErrorsHint: "Pairdraw’s is used until they are fixed.",
|
|
358
|
+
promptErrorAt: params("Line {line}: {message}."),
|
|
308
359
|
chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.",
|
|
309
360
|
openProviderSettingsAction: "Open settings",
|
|
310
361
|
cloudWorkspace: "Workspace",
|