@pairdraw/vue 0.19.1 → 0.19.2
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/islands/state.js +5 -0
- package/dist/canvas/islands/state.js.map +1 -1
- package/dist/canvas/useCanvasInput.d.ts +10 -10
- package/dist/controls/node-props/use.d.ts +3 -3
- package/dist/controls/position/use.d.ts +1 -1
- package/dist/i18n/locales/de/ai.json.js +2 -1
- package/dist/i18n/locales/de/credentials.json.js +2 -0
- package/dist/i18n/locales/de/panels.json.js +1 -0
- package/dist/i18n/locales/es/ai.json.js +2 -1
- package/dist/i18n/locales/es/credentials.json.js +2 -0
- package/dist/i18n/locales/es/panels.json.js +1 -0
- package/dist/i18n/locales/fr/ai.json.js +2 -1
- package/dist/i18n/locales/fr/credentials.json.js +2 -0
- package/dist/i18n/locales/fr/panels.json.js +1 -0
- package/dist/i18n/locales/it/ai.json.js +2 -1
- package/dist/i18n/locales/it/credentials.json.js +2 -0
- package/dist/i18n/locales/it/panels.json.js +1 -0
- package/dist/i18n/locales/ja/ai.json.js +2 -1
- package/dist/i18n/locales/ja/credentials.json.js +2 -0
- package/dist/i18n/locales/ja/panels.json.js +1 -0
- package/dist/i18n/locales/pl/ai.json.js +2 -1
- package/dist/i18n/locales/pl/credentials.json.js +2 -0
- package/dist/i18n/locales/pl/panels.json.js +1 -0
- package/dist/i18n/locales/ru/ai.json.js +2 -1
- package/dist/i18n/locales/ru/credentials.json.js +2 -0
- package/dist/i18n/locales/ru/panels.json.js +1 -0
- package/dist/i18n/locales/zh-cn/ai.json.js +2 -1
- package/dist/i18n/locales/zh-cn/credentials.json.js +2 -0
- package/dist/i18n/locales/zh-cn/panels.json.js +1 -0
- package/dist/i18n/messages/ai.d.ts +4 -1
- package/dist/i18n/messages/ai.d.ts.map +1 -1
- package/dist/i18n/messages/ai.js +2 -1
- package/dist/i18n/messages/ai.js.map +1 -1
- package/dist/i18n/messages/credentials.d.ts +2 -0
- package/dist/i18n/messages/credentials.d.ts.map +1 -1
- package/dist/i18n/messages/credentials.js +2 -0
- package/dist/i18n/messages/credentials.js.map +1 -1
- package/dist/i18n/messages/panels.d.ts +6 -0
- package/dist/i18n/messages/panels.d.ts.map +1 -1
- package/dist/i18n/messages/panels.js +2 -0
- package/dist/i18n/messages/panels.js.map +1 -1
- package/dist/i18n/messages.d.ts +11 -1
- package/dist/i18n/useI18n.d.ts +44 -4
- package/dist/i18n/useI18n.d.ts.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js +6 -11
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js.map +1 -1
- package/dist/primitives/NumberField/NumberFieldRoot.vue.d.ts +2 -2
- package/package.json +4 -4
|
@@ -8,6 +8,7 @@ const TEXT_INPUTS = /* @__PURE__ */ new Set([
|
|
|
8
8
|
"numberField"
|
|
9
9
|
]);
|
|
10
10
|
function initialChoice(control) {
|
|
11
|
+
if (control.choice) return String(control.choice.designed);
|
|
11
12
|
if (control.kind === "tabs") return "0";
|
|
12
13
|
const index = control.items.findIndex((item) => {
|
|
13
14
|
return (booleanOf(item, "value") ?? booleanOf(item, "open"))?.designed ?? false;
|
|
@@ -63,6 +64,10 @@ function instanceState(control, state) {
|
|
|
63
64
|
if (value) variants[model.definition.name] = value;
|
|
64
65
|
}
|
|
65
66
|
}
|
|
67
|
+
if (control.choice && state.choice !== "") {
|
|
68
|
+
const option = control.choice.options[Number(state.choice)];
|
|
69
|
+
if (option) variants[control.choice.definition.name] = option;
|
|
70
|
+
}
|
|
66
71
|
const prefer = {};
|
|
67
72
|
if (control.states) {
|
|
68
73
|
const value = control.states.values[interactionState(control, state)] ?? control.states.rest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","names":[],"sources":["../../../src/canvas/islands/state.ts"],"sourcesContent":["import { reactive } from 'vue'\n\nimport type { InstanceState } from '@pairdraw/core'\nimport { booleanOf, type ControlModel } from '@pairdraw/dom-css/export'\nimport { numberSettings, type InteractionState } from '@pairdraw/scene-graph/behaviours'\n\n/** What one control of an island holds while it runs. */\nexport interface ControlState {\n booleans: Partial<Record<string, boolean>>\n /** The chosen tab, radio, toggle, or accordion item, as its index; '' when none is. */\n choice: string\n number: number\n texts: Partial<Record<string, string>>\n hovered: boolean\n pressed: boolean\n /** Whether the control shows focus: from the keyboard, or always for a text field. */\n focused: boolean\n}\n\nconst TEXT_INPUTS = new Set(['textField', 'textarea', 'numberField'])\n\nfunction initialChoice(control: ControlModel): string {\n if (control.kind === 'tabs') return '0'\n const index = control.items.findIndex((item) => {\n const value = booleanOf(item, 'value') ?? booleanOf(item, 'open')\n return value?.designed ?? false\n })\n if (index !== -1) return String(index)\n // A radio group always has one radio on; other groups may have none.\n return control.kind === 'radioGroup' ? '0' : ''\n}\n\nfunction initialTexts(control: ControlModel): Record<string, string> {\n const filled = booleanOf(control, 'filled')\n const placeholder = !!filled && !filled.designed\n return Object.fromEntries(\n Object.entries(control.texts).map(([valueId, text]) => [\n valueId,\n placeholder ? '' : text.designed\n ])\n )\n}\n\n/** The island's controls as they start: each as its instance is drawn. */\nexport function createIslandState(controls: ReadonlyMap<string, ControlModel>) {\n return reactive(\n new Map(\n [...controls.values()].map((control): [string, ControlState] => [\n control.path,\n {\n booleans: Object.fromEntries(\n Object.entries(control.booleans).map(([valueId, model]) => [valueId, model.designed])\n ),\n choice: initialChoice(control),\n number: numberSettings(control.behaviour, 'value')?.default ?? 0,\n texts: initialTexts(control),\n hovered: false,\n pressed: false,\n focused: false\n }\n ])\n )\n )\n}\n\nexport type IslandState = ReturnType<typeof createIslandState>\n\n/** Whether a control is disabled: its disabled value is on, or it is drawn disabled. */\nexport function isDisabled(control: ControlModel, state: ControlState | undefined): boolean {\n return !!state?.booleans.disabled || !!control.states?.designedDisabled\n}\n\nfunction interactionState(control: ControlModel, state: ControlState): InteractionState {\n if (isDisabled(control, state)) return 'disabled'\n if (state.pressed) return 'pressed'\n if (state.hovered) return 'hover'\n if (state.focused) return 'focus'\n return 'rest'\n}\n\n/** The text field's Filled value follows whether it holds text. */\nfunction filled(control: ControlModel, state: ControlState): ControlState['booleans'] {\n if (!TEXT_INPUTS.has(control.kind) || !booleanOf(control, 'filled')) return state.booleans\n return { ...state.booleans, filled: (state.texts.value ?? '') !== '' }\n}\n\nfunction instanceState(control: ControlModel, state: ControlState): InstanceState {\n const variants: Record<string, string> = {}\n const properties: Record<string, string> = {}\n for (const [valueId, on] of Object.entries(filled(control, state))) {\n const model = booleanOf(control, valueId)\n if (!model || on === undefined) continue\n if (model.definition.type === 'BOOLEAN') properties[model.definition.id] = String(on)\n else {\n const value = on ? model.on : model.off\n if (value) variants[model.definition.name] = value\n }\n }\n const prefer: Record<string, string> = {}\n if (control.states) {\n const value = control.states.values[interactionState(control, state)] ?? control.states.rest\n if (value) prefer[control.states.name] = value\n }\n return { variants, prefer, properties, reveal: control.reveal }\n}\n\n/** How each instance of the island is shown, by layer path, for `resolvePlayState`. */\nexport function instanceStates(\n controls: ReadonlyMap<string, ControlModel>,\n state: IslandState\n): Map<string, InstanceState> {\n const states = new Map<string, InstanceState>()\n for (const control of controls.values()) {\n const current = state.get(control.path)\n if (current) states.set(control.path, instanceState(control, current))\n }\n return states\n}\n"],"mappings":";;;;AAmBA,MAAM,8BAAc,IAAI,IAAI;CAAC;CAAa;CAAY;AAAa,CAAC;AAEpE,SAAS,cAAc,SAA+B;CACpD,IAAI,QAAQ,SAAS,QAAQ,OAAO;CACpC,MAAM,QAAQ,QAAQ,MAAM,WAAW,SAAS;EAE9C,QADc,UAAU,MAAM,OAAO,KAAK,UAAU,MAAM,MAAM,EAAA,EAClD,YAAY;CAC5B,CAAC;CACD,IAAI,UAAU,IAAI,OAAO,OAAO,KAAK;CAErC,OAAO,QAAQ,SAAS,eAAe,MAAM;AAC/C;AAEA,SAAS,aAAa,SAA+C;CACnE,MAAM,SAAS,UAAU,SAAS,QAAQ;CAC1C,MAAM,cAAc,CAAC,CAAC,UAAU,CAAC,OAAO;CACxC,OAAO,OAAO,YACZ,OAAO,QAAQ,QAAQ,KAAK,CAAC,CAAC,KAAK,CAAC,SAAS,UAAU,CACrD,SACA,cAAc,KAAK,KAAK,QAC1B,CAAC,CACH;AACF;;AAGA,SAAgB,kBAAkB,UAA6C;CAC7E,OAAO,SACL,IAAI,IACF,CAAC,GAAG,SAAS,OAAO,CAAC,CAAC,CAAC,KAAK,YAAoC,CAC9D,QAAQ,MACR;EACE,UAAU,OAAO,YACf,OAAO,QAAQ,QAAQ,QAAQ,CAAC,CAAC,KAAK,CAAC,SAAS,WAAW,CAAC,SAAS,MAAM,QAAQ,CAAC,CACtF;EACA,QAAQ,cAAc,OAAO;EAC7B,QAAQ,eAAe,QAAQ,WAAW,OAAO,CAAC,EAAE,WAAW;EAC/D,OAAO,aAAa,OAAO;EAC3B,SAAS;EACT,SAAS;EACT,SAAS;CACX,CACF,CAAC,CACH,CACF;AACF;;AAKA,SAAgB,WAAW,SAAuB,OAA0C;CAC1F,OAAO,CAAC,CAAC,OAAO,SAAS,YAAY,CAAC,CAAC,QAAQ,QAAQ;AACzD;AAEA,SAAS,iBAAiB,SAAuB,OAAuC;CACtF,IAAI,WAAW,SAAS,KAAK,GAAG,OAAO;CACvC,IAAI,MAAM,SAAS,OAAO;CAC1B,IAAI,MAAM,SAAS,OAAO;CAC1B,IAAI,MAAM,SAAS,OAAO;CAC1B,OAAO;AACT;;AAGA,SAAS,OAAO,SAAuB,OAA+C;CACpF,IAAI,CAAC,YAAY,IAAI,QAAQ,IAAI,KAAK,CAAC,UAAU,SAAS,QAAQ,GAAG,OAAO,MAAM;CAClF,OAAO;EAAE,GAAG,MAAM;EAAU,SAAS,MAAM,MAAM,SAAS,QAAQ;CAAG;AACvE;AAEA,SAAS,cAAc,SAAuB,OAAoC;CAChF,MAAM,WAAmC,CAAC;CAC1C,MAAM,aAAqC,CAAC;CAC5C,KAAK,MAAM,CAAC,SAAS,OAAO,OAAO,QAAQ,OAAO,SAAS,KAAK,CAAC,GAAG;EAClE,MAAM,QAAQ,UAAU,SAAS,OAAO;EACxC,IAAI,CAAC,SAAS,OAAO,KAAA,GAAW;EAChC,IAAI,MAAM,WAAW,SAAS,WAAW,WAAW,MAAM,WAAW,MAAM,OAAO,EAAE;OAC/E;GACH,MAAM,QAAQ,KAAK,MAAM,KAAK,MAAM;GACpC,IAAI,OAAO,SAAS,MAAM,WAAW,QAAQ;EAC/C;CACF;CACA,MAAM,SAAiC,CAAC;CACxC,IAAI,QAAQ,QAAQ;EAClB,MAAM,QAAQ,QAAQ,OAAO,OAAO,iBAAiB,SAAS,KAAK,MAAM,QAAQ,OAAO;EACxF,IAAI,OAAO,OAAO,QAAQ,OAAO,QAAQ;CAC3C;CACA,OAAO;EAAE;EAAU;EAAQ;EAAY,QAAQ,QAAQ;CAAO;AAChE;;AAGA,SAAgB,eACd,UACA,OAC4B;CAC5B,MAAM,yBAAS,IAAI,IAA2B;CAC9C,KAAK,MAAM,WAAW,SAAS,OAAO,GAAG;EACvC,MAAM,UAAU,MAAM,IAAI,QAAQ,IAAI;EACtC,IAAI,SAAS,OAAO,IAAI,QAAQ,MAAM,cAAc,SAAS,OAAO,CAAC;CACvE;CACA,OAAO;AACT"}
|
|
1
|
+
{"version":3,"file":"state.js","names":[],"sources":["../../../src/canvas/islands/state.ts"],"sourcesContent":["import { reactive } from 'vue'\n\nimport type { InstanceState } from '@pairdraw/core'\nimport { booleanOf, type ControlModel } from '@pairdraw/dom-css/export'\nimport { numberSettings, type InteractionState } from '@pairdraw/scene-graph/behaviours'\n\n/** What one control of an island holds while it runs. */\nexport interface ControlState {\n booleans: Partial<Record<string, boolean>>\n /** The chosen tab, radio, toggle, or accordion item, as its index; '' when none is. */\n choice: string\n number: number\n texts: Partial<Record<string, string>>\n hovered: boolean\n pressed: boolean\n /** Whether the control shows focus: from the keyboard, or always for a text field. */\n focused: boolean\n}\n\nconst TEXT_INPUTS = new Set(['textField', 'textarea', 'numberField'])\n\nfunction initialChoice(control: ControlModel): string {\n if (control.choice) return String(control.choice.designed)\n if (control.kind === 'tabs') return '0'\n const index = control.items.findIndex((item) => {\n const value = booleanOf(item, 'value') ?? booleanOf(item, 'open')\n return value?.designed ?? false\n })\n if (index !== -1) return String(index)\n // A radio group always has one radio on; other groups may have none.\n return control.kind === 'radioGroup' ? '0' : ''\n}\n\nfunction initialTexts(control: ControlModel): Record<string, string> {\n const filled = booleanOf(control, 'filled')\n const placeholder = !!filled && !filled.designed\n return Object.fromEntries(\n Object.entries(control.texts).map(([valueId, text]) => [\n valueId,\n placeholder ? '' : text.designed\n ])\n )\n}\n\n/** The island's controls as they start: each as its instance is drawn. */\nexport function createIslandState(controls: ReadonlyMap<string, ControlModel>) {\n return reactive(\n new Map(\n [...controls.values()].map((control): [string, ControlState] => [\n control.path,\n {\n booleans: Object.fromEntries(\n Object.entries(control.booleans).map(([valueId, model]) => [valueId, model.designed])\n ),\n choice: initialChoice(control),\n number: numberSettings(control.behaviour, 'value')?.default ?? 0,\n texts: initialTexts(control),\n hovered: false,\n pressed: false,\n focused: false\n }\n ])\n )\n )\n}\n\nexport type IslandState = ReturnType<typeof createIslandState>\n\n/** Whether a control is disabled: its disabled value is on, or it is drawn disabled. */\nexport function isDisabled(control: ControlModel, state: ControlState | undefined): boolean {\n return !!state?.booleans.disabled || !!control.states?.designedDisabled\n}\n\nfunction interactionState(control: ControlModel, state: ControlState): InteractionState {\n if (isDisabled(control, state)) return 'disabled'\n if (state.pressed) return 'pressed'\n if (state.hovered) return 'hover'\n if (state.focused) return 'focus'\n return 'rest'\n}\n\n/** The text field's Filled value follows whether it holds text. */\nfunction filled(control: ControlModel, state: ControlState): ControlState['booleans'] {\n if (!TEXT_INPUTS.has(control.kind) || !booleanOf(control, 'filled')) return state.booleans\n return { ...state.booleans, filled: (state.texts.value ?? '') !== '' }\n}\n\nfunction instanceState(control: ControlModel, state: ControlState): InstanceState {\n const variants: Record<string, string> = {}\n const properties: Record<string, string> = {}\n for (const [valueId, on] of Object.entries(filled(control, state))) {\n const model = booleanOf(control, valueId)\n if (!model || on === undefined) continue\n if (model.definition.type === 'BOOLEAN') properties[model.definition.id] = String(on)\n else {\n const value = on ? model.on : model.off\n if (value) variants[model.definition.name] = value\n }\n }\n if (control.choice && state.choice !== '') {\n const option = control.choice.options[Number(state.choice)]\n if (option) variants[control.choice.definition.name] = option\n }\n const prefer: Record<string, string> = {}\n if (control.states) {\n const value = control.states.values[interactionState(control, state)] ?? control.states.rest\n if (value) prefer[control.states.name] = value\n }\n return { variants, prefer, properties, reveal: control.reveal }\n}\n\n/** How each instance of the island is shown, by layer path, for `resolvePlayState`. */\nexport function instanceStates(\n controls: ReadonlyMap<string, ControlModel>,\n state: IslandState\n): Map<string, InstanceState> {\n const states = new Map<string, InstanceState>()\n for (const control of controls.values()) {\n const current = state.get(control.path)\n if (current) states.set(control.path, instanceState(control, current))\n }\n return states\n}\n"],"mappings":"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"}
|
|
@@ -647,10 +647,6 @@ zoomOptions?: () => WheelZoomOptions): {
|
|
|
647
647
|
} | null;
|
|
648
648
|
origChildren: (Map<string, {
|
|
649
649
|
type: import("@pairdraw/scene-graph").NodeType;
|
|
650
|
-
x: number;
|
|
651
|
-
y: number;
|
|
652
|
-
width: number;
|
|
653
|
-
height: number;
|
|
654
650
|
strokes: {
|
|
655
651
|
weight: number;
|
|
656
652
|
align: "INSIDE" | "CENTER" | "OUTSIDE";
|
|
@@ -736,6 +732,10 @@ zoomOptions?: () => WheelZoomOptions): {
|
|
|
736
732
|
} | undefined;
|
|
737
733
|
customEffectId?: string | undefined;
|
|
738
734
|
}[];
|
|
735
|
+
x: number;
|
|
736
|
+
y: number;
|
|
737
|
+
width: number;
|
|
738
|
+
height: number;
|
|
739
739
|
vectorNetwork: {
|
|
740
740
|
vertices: {
|
|
741
741
|
x: number;
|
|
@@ -1905,7 +1905,7 @@ zoomOptions?: () => WheelZoomOptions): {
|
|
|
1905
1905
|
}[];
|
|
1906
1906
|
} | null;
|
|
1907
1907
|
handleMirroring: import("@pairdraw/scene-graph").HandleMirroring;
|
|
1908
|
-
booleanOperation: "
|
|
1908
|
+
booleanOperation: import("@pairdraw/scene-graph").BooleanOperation | undefined;
|
|
1909
1909
|
fillGeometry: {
|
|
1910
1910
|
windingRule: import("@pairdraw/scene-graph").WindingRule;
|
|
1911
1911
|
commandsBlob: {
|
|
@@ -3400,10 +3400,6 @@ zoomOptions?: () => WheelZoomOptions): {
|
|
|
3400
3400
|
} | null;
|
|
3401
3401
|
origChildren: (Map<string, {
|
|
3402
3402
|
type: import("@pairdraw/scene-graph").NodeType;
|
|
3403
|
-
x: number;
|
|
3404
|
-
y: number;
|
|
3405
|
-
width: number;
|
|
3406
|
-
height: number;
|
|
3407
3403
|
strokes: {
|
|
3408
3404
|
weight: number;
|
|
3409
3405
|
align: "INSIDE" | "CENTER" | "OUTSIDE";
|
|
@@ -3489,6 +3485,10 @@ zoomOptions?: () => WheelZoomOptions): {
|
|
|
3489
3485
|
} | undefined;
|
|
3490
3486
|
customEffectId?: string | undefined;
|
|
3491
3487
|
}[];
|
|
3488
|
+
x: number;
|
|
3489
|
+
y: number;
|
|
3490
|
+
width: number;
|
|
3491
|
+
height: number;
|
|
3492
3492
|
vectorNetwork: {
|
|
3493
3493
|
vertices: {
|
|
3494
3494
|
x: number;
|
|
@@ -4658,7 +4658,7 @@ zoomOptions?: () => WheelZoomOptions): {
|
|
|
4658
4658
|
}[];
|
|
4659
4659
|
} | null;
|
|
4660
4660
|
handleMirroring: import("@pairdraw/scene-graph").HandleMirroring;
|
|
4661
|
-
booleanOperation: "
|
|
4661
|
+
booleanOperation: import("@pairdraw/scene-graph").BooleanOperation | undefined;
|
|
4662
4662
|
fillGeometry: {
|
|
4663
4663
|
windingRule: import("@pairdraw/scene-graph").WindingRule;
|
|
4664
4664
|
commandsBlob: {
|
|
@@ -17,9 +17,9 @@ declare function useNodeProps(): {
|
|
|
17
17
|
prop: <K extends keyof import("@pairdraw/scene-graph").SceneNode>(key: K) => import("vue").ComputedRef<MixedValue<import("@pairdraw/scene-graph").SceneNode[K]>>;
|
|
18
18
|
merged: <K extends keyof import("@pairdraw/scene-graph").SceneNode>(key: K) => MixedValue<import("@pairdraw/scene-graph").SceneNode[K]>;
|
|
19
19
|
updateAllWithUndo: (patch: Partial<import("@pairdraw/scene-graph").SceneNode>, label: string) => void;
|
|
20
|
-
updateArrayItem: (key: "
|
|
21
|
-
removeArrayItem: (key: "
|
|
22
|
-
toggleArrayVisibility: (key: "
|
|
20
|
+
updateArrayItem: (key: "strokes" | "fills" | "effects", index: number, patch: Record<string, unknown> | import("@pairdraw/scene-graph").Fill | import("@pairdraw/scene-graph").Stroke, label: string) => void;
|
|
21
|
+
removeArrayItem: (key: "strokes" | "fills" | "effects", index: number, label: string) => void;
|
|
22
|
+
toggleArrayVisibility: (key: "strokes" | "fills" | "effects", index: number) => void;
|
|
23
23
|
isArrayMixed: (key: Parameters<typeof isNodeArrayMixed>[1]) => boolean;
|
|
24
24
|
updateProp: (key: string, value: number | string) => void;
|
|
25
25
|
commitProp: (key: string, _value: number | string, previous: number | string) => void;
|
|
@@ -14,7 +14,7 @@ declare function usePosition(): {
|
|
|
14
14
|
active: import("vue").ComputedRef<boolean>;
|
|
15
15
|
isMulti: import("vue").ComputedRef<boolean>;
|
|
16
16
|
prop: <K extends keyof SceneNode>(key: K) => import("vue").ComputedRef<MixedValue<SceneNode[K]>>;
|
|
17
|
-
panelProp: (key: "x" | "y" | "
|
|
17
|
+
panelProp: (key: "x" | "y" | "width" | "height" | "rotation") => import("vue").ComputedRef<MixedValue<number>>;
|
|
18
18
|
ids: import("vue").ComputedRef<string[]>;
|
|
19
19
|
x: import("vue").ComputedRef<number>;
|
|
20
20
|
y: import("vue").ComputedRef<number>;
|
|
@@ -24,7 +24,7 @@ var ai_default = {
|
|
|
24
24
|
sendMessage: "Nachricht senden",
|
|
25
25
|
removeImageAttachment: "Bild {name} entfernen",
|
|
26
26
|
dropImagesToAttach: "Bilder zum Anhängen ablegen",
|
|
27
|
-
queueMessage: "Agent lenken …
|
|
27
|
+
queueMessage: "Agent lenken … {shortcut} wartet, bis er fertig ist",
|
|
28
28
|
queuedSteer: "Wird nach dem aktuellen Schritt gesendet",
|
|
29
29
|
queuedFollowUp: "Wird gesendet, wenn der Agent fertig ist",
|
|
30
30
|
removeQueuedMessage: "Wartende Nachricht entfernen",
|
|
@@ -250,6 +250,7 @@ var ai_default = {
|
|
|
250
250
|
deleteChatDescription: "„{title}“ und die Nachrichten darin werden entfernt. Das lässt sich nicht rückgängig machen.",
|
|
251
251
|
chatReadOnly: "Dieser Chat gehört zu einem anderen Dokument. Öffne es, um fortzufahren.",
|
|
252
252
|
chatAgentReadOnly: "Der Agentenverlauf wurde gespeichert, aber die Sitzung kann hier noch nicht fortgesetzt werden. Starte einen neuen Chat.",
|
|
253
|
+
chatAgentExited: "Der Agent-Prozess wurde unerwartet beendet.",
|
|
253
254
|
chatStorageFailed: "Der Chatverlauf konnte nicht gespeichert werden. Lass dieses Fenster geöffnet und versuche es erneut.",
|
|
254
255
|
chatHistoryFailed: "Der Chatverlauf konnte nicht aktualisiert werden. Versuche es erneut.",
|
|
255
256
|
chatInterrupted: "Diese Antwort wurde unterbrochen.",
|
|
@@ -4,6 +4,8 @@ var credentials_default = {
|
|
|
4
4
|
getAPIKey: "API-Schlüssel abrufen",
|
|
5
5
|
retryAccess: "Zugriff erneut versuchen",
|
|
6
6
|
retryFailed: "Der Zugriff konnte nicht zurückgesetzt werden. Versuche es erneut.",
|
|
7
|
+
storeLocked: "Der System-Schlüsselbund ist gesperrt. Entsperren Sie ihn und wählen Sie dann unter Allgemein „Zugriff erneut versuchen“.",
|
|
8
|
+
storeUnavailable: "Pairdraw kann den System-Schlüsselbund nicht erreichen. Starten Sie unter Linux einen Schlüsselbund wie GNOME Keyring; beim Snap-Paket führen Sie „snap connect pairdraw:password-manager-service“ aus. Wählen Sie dann unter Allgemein „Zugriff erneut versuchen“.",
|
|
7
9
|
settingsTitle: "Gespeicherte Zugangsdaten",
|
|
8
10
|
accessPaused: "Der Zugriff auf gespeicherte Zugangsdaten ist pausiert.",
|
|
9
11
|
rememberDevice: "API-Schlüssel auf diesem Gerät speichern",
|
|
@@ -24,7 +24,7 @@ var ai_default = {
|
|
|
24
24
|
sendMessage: "Enviar mensaje",
|
|
25
25
|
removeImageAttachment: "Quitar imagen {name}",
|
|
26
26
|
dropImagesToAttach: "Suelta imágenes para adjuntarlas",
|
|
27
|
-
queueMessage: "Guía al agente…
|
|
27
|
+
queueMessage: "Guía al agente… {shortcut} espera a que termine",
|
|
28
28
|
queuedSteer: "Se envía tras el paso actual",
|
|
29
29
|
queuedFollowUp: "Se envía cuando el agente termine",
|
|
30
30
|
removeQueuedMessage: "Quitar el mensaje en espera",
|
|
@@ -250,6 +250,7 @@ var ai_default = {
|
|
|
250
250
|
deleteChatDescription: "«{title}» y sus mensajes se eliminan. Esta acción no se puede deshacer.",
|
|
251
251
|
chatReadOnly: "Este chat pertenece a otro documento. Ábrelo para continuar.",
|
|
252
252
|
chatAgentReadOnly: "La conversación del agente está guardada, pero todavía no se puede reanudar su sesión aquí. Inicia un nuevo chat.",
|
|
253
|
+
chatAgentExited: "El proceso del agente terminó inesperadamente.",
|
|
253
254
|
chatStorageFailed: "No se pudo guardar el historial. Mantén esta ventana abierta e inténtalo de nuevo.",
|
|
254
255
|
chatHistoryFailed: "No se pudo actualizar el historial. Inténtalo de nuevo.",
|
|
255
256
|
chatInterrupted: "Esta respuesta se interrumpió.",
|
|
@@ -4,6 +4,8 @@ var credentials_default = {
|
|
|
4
4
|
getAPIKey: "Obtener clave API",
|
|
5
5
|
retryAccess: "Reintentar acceso",
|
|
6
6
|
retryFailed: "No se pudo restablecer el acceso. Inténtalo de nuevo.",
|
|
7
|
+
storeLocked: "El almacén de credenciales del sistema está bloqueado. Desbloquéalo y luego elige «Reintentar acceso» en General.",
|
|
8
|
+
storeUnavailable: "Pairdraw no puede acceder al almacén de credenciales del sistema. En Linux, inicia un llavero como GNOME Keyring; con el paquete Snap, ejecuta «snap connect pairdraw:password-manager-service». Luego elige «Reintentar acceso» en General.",
|
|
7
9
|
settingsTitle: "Credenciales guardadas",
|
|
8
10
|
accessPaused: "El acceso a las credenciales guardadas está en pausa.",
|
|
9
11
|
rememberDevice: "Recordar claves API en este dispositivo",
|
|
@@ -615,6 +615,7 @@ var panels_default = {
|
|
|
615
615
|
behaviourDisabled: "Desactivado",
|
|
616
616
|
behaviourOnValue: "Encendido",
|
|
617
617
|
behaviourOffValue: "Apagado",
|
|
618
|
+
behaviourValueField: "{value}: {side}",
|
|
618
619
|
behaviourTrack: "Pista",
|
|
619
620
|
behaviourThumb: "Control",
|
|
620
621
|
behaviourRange: "Rango",
|
|
@@ -24,7 +24,7 @@ var ai_default = {
|
|
|
24
24
|
sendMessage: "Envoyer le message",
|
|
25
25
|
removeImageAttachment: "Retirer l’image {name}",
|
|
26
26
|
dropImagesToAttach: "Déposez des images pour les joindre",
|
|
27
|
-
queueMessage: "Orientez l’agent…
|
|
27
|
+
queueMessage: "Orientez l’agent… {shortcut} attend qu’il ait fini",
|
|
28
28
|
queuedSteer: "Envoyé après l’étape en cours",
|
|
29
29
|
queuedFollowUp: "Envoyé quand l’agent a fini",
|
|
30
30
|
removeQueuedMessage: "Retirer le message en attente",
|
|
@@ -250,6 +250,7 @@ var ai_default = {
|
|
|
250
250
|
deleteChatDescription: "« {title} » et ses messages sont supprimés. Cette action est irréversible.",
|
|
251
251
|
chatReadOnly: "Cette discussion appartient à un autre document. Ouvrez-le pour continuer.",
|
|
252
252
|
chatAgentReadOnly: "La conversation avec l’agent est enregistrée, mais sa session ne peut pas encore reprendre ici. Commencez une nouvelle discussion.",
|
|
253
|
+
chatAgentExited: "Le processus de l’agent s’est arrêté de façon inattendue.",
|
|
253
254
|
chatStorageFailed: "Impossible d’enregistrer l’historique. Gardez cette fenêtre ouverte et réessayez.",
|
|
254
255
|
chatHistoryFailed: "Impossible de mettre à jour l’historique. Réessayez.",
|
|
255
256
|
chatInterrupted: "Cette réponse a été interrompue.",
|
|
@@ -4,6 +4,8 @@ var credentials_default = {
|
|
|
4
4
|
getAPIKey: "Obtenir une clé API",
|
|
5
5
|
retryAccess: "Réessayer l’accès",
|
|
6
6
|
retryFailed: "Impossible de réinitialiser l’accès. Réessayez.",
|
|
7
|
+
storeLocked: "Le trousseau système est verrouillé. Déverrouillez-le, puis choisissez « Réessayer l’accès » dans Général.",
|
|
8
|
+
storeUnavailable: "Pairdraw ne parvient pas à joindre le trousseau système. Sous Linux, démarrez un trousseau comme GNOME Keyring ; avec le paquet Snap, exécutez « snap connect pairdraw:password-manager-service ». Choisissez ensuite « Réessayer l’accès » dans Général.",
|
|
7
9
|
settingsTitle: "Identifiants enregistrés",
|
|
8
10
|
accessPaused: "L’accès aux identifiants enregistrés est suspendu.",
|
|
9
11
|
rememberDevice: "Mémoriser les clés API sur cet appareil",
|
|
@@ -615,6 +615,7 @@ var panels_default = {
|
|
|
615
615
|
behaviourDisabled: "Désactivé",
|
|
616
616
|
behaviourOnValue: "Activé",
|
|
617
617
|
behaviourOffValue: "Désactivé",
|
|
618
|
+
behaviourValueField: "{value}: {side}",
|
|
618
619
|
behaviourTrack: "Piste",
|
|
619
620
|
behaviourThumb: "Bouton",
|
|
620
621
|
behaviourRange: "Plage",
|
|
@@ -24,7 +24,7 @@ var ai_default = {
|
|
|
24
24
|
sendMessage: "Invia messaggio",
|
|
25
25
|
removeImageAttachment: "Rimuovi immagine {name}",
|
|
26
26
|
dropImagesToAttach: "Rilascia immagini per allegarle",
|
|
27
|
-
queueMessage: "Guida l’agente…
|
|
27
|
+
queueMessage: "Guida l’agente… {shortcut} attende che abbia finito",
|
|
28
28
|
queuedSteer: "Inviato dopo il passo corrente",
|
|
29
29
|
queuedFollowUp: "Inviato quando l’agente ha finito",
|
|
30
30
|
removeQueuedMessage: "Rimuovi il messaggio in attesa",
|
|
@@ -250,6 +250,7 @@ var ai_default = {
|
|
|
250
250
|
deleteChatDescription: "«{title}» e i suoi messaggi vengono eliminati. L’operazione non può essere annullata.",
|
|
251
251
|
chatReadOnly: "Questa chat appartiene a un altro documento. Aprilo per continuare.",
|
|
252
252
|
chatAgentReadOnly: "La conversazione con l’agente è salvata, ma non è ancora possibile riprendere la sessione qui. Avvia una nuova chat.",
|
|
253
|
+
chatAgentExited: "Il processo dell’agente è terminato inaspettatamente.",
|
|
253
254
|
chatStorageFailed: "Impossibile salvare la cronologia. Tieni aperta questa finestra e riprova.",
|
|
254
255
|
chatHistoryFailed: "Impossibile aggiornare la cronologia. Riprova.",
|
|
255
256
|
chatInterrupted: "Questa risposta è stata interrotta.",
|
|
@@ -4,6 +4,8 @@ var credentials_default = {
|
|
|
4
4
|
getAPIKey: "Ottieni chiave API",
|
|
5
5
|
retryAccess: "Riprova l’accesso",
|
|
6
6
|
retryFailed: "Impossibile ripristinare l’accesso. Riprova.",
|
|
7
|
+
storeLocked: "Il portachiavi di sistema è bloccato. Sbloccalo, poi scegli «Riprova l’accesso» in Generali.",
|
|
8
|
+
storeUnavailable: "Pairdraw non riesce a raggiungere il portachiavi di sistema. Su Linux, avvia un portachiavi come GNOME Keyring; con il pacchetto Snap, esegui «snap connect pairdraw:password-manager-service». Poi scegli «Riprova l’accesso» in Generali.",
|
|
7
9
|
settingsTitle: "Credenziali salvate",
|
|
8
10
|
accessPaused: "L’accesso alle credenziali salvate è sospeso.",
|
|
9
11
|
rememberDevice: "Ricorda le chiavi API su questo dispositivo",
|
|
@@ -615,6 +615,7 @@ var panels_default = {
|
|
|
615
615
|
behaviourDisabled: "Disattivato",
|
|
616
616
|
behaviourOnValue: "Acceso",
|
|
617
617
|
behaviourOffValue: "Spento",
|
|
618
|
+
behaviourValueField: "{value}: {side}",
|
|
618
619
|
behaviourTrack: "Traccia",
|
|
619
620
|
behaviourThumb: "Cursore",
|
|
620
621
|
behaviourRange: "Intervallo",
|
|
@@ -24,7 +24,7 @@ var ai_default = {
|
|
|
24
24
|
sendMessage: "メッセージを送信",
|
|
25
25
|
removeImageAttachment: "画像 {name} を削除",
|
|
26
26
|
dropImagesToAttach: "ドロップして画像を添付",
|
|
27
|
-
queueMessage: "エージェントに指示…
|
|
27
|
+
queueMessage: "エージェントに指示… {shortcut} で完了を待って送信",
|
|
28
28
|
queuedSteer: "現在のステップの後に送信",
|
|
29
29
|
queuedFollowUp: "エージェントの完了後に送信",
|
|
30
30
|
removeQueuedMessage: "待機中のメッセージを削除",
|
|
@@ -250,6 +250,7 @@ var ai_default = {
|
|
|
250
250
|
deleteChatDescription: "「{title}」とそのメッセージは削除されます。元に戻すことはできません。",
|
|
251
251
|
chatReadOnly: "このチャットは別のドキュメントに属しています。続けるにはそのドキュメントを開いてください。",
|
|
252
252
|
chatAgentReadOnly: "エージェントとの会話は保存されていますが、ここではまだセッションを再開できません。新しいチャットを開始してください。",
|
|
253
|
+
chatAgentExited: "エージェントのプロセスが予期せず終了しました。",
|
|
253
254
|
chatStorageFailed: "チャット履歴を保存できませんでした。このウィンドウを開いたまま、もう一度お試しください。",
|
|
254
255
|
chatHistoryFailed: "チャット履歴を更新できませんでした。もう一度お試しください。",
|
|
255
256
|
chatInterrupted: "この応答は中断されました。",
|
|
@@ -4,6 +4,8 @@ var credentials_default = {
|
|
|
4
4
|
getAPIKey: "APIキーを取得",
|
|
5
5
|
retryAccess: "アクセスを再試行",
|
|
6
6
|
retryFailed: "アクセスをリセットできませんでした。もう一度お試しください。",
|
|
7
|
+
storeLocked: "システムの認証情報ストアがロックされています。ロックを解除してから、「一般」で「アクセスを再試行」を選んでください。",
|
|
8
|
+
storeUnavailable: "Pairdraw がシステムの認証情報ストアに接続できません。Linux では GNOME Keyring などのキーリングを起動してください。Snap パッケージでは「snap connect pairdraw:password-manager-service」を実行してください。その後、「一般」で「アクセスを再試行」を選んでください。",
|
|
7
9
|
settingsTitle: "保存済みの認証情報",
|
|
8
10
|
accessPaused: "保存済み認証情報へのアクセスは一時停止中です。",
|
|
9
11
|
rememberDevice: "このデバイスにAPIキーを保存",
|
|
@@ -24,7 +24,7 @@ var ai_default = {
|
|
|
24
24
|
sendMessage: "Wyślij wiadomość",
|
|
25
25
|
removeImageAttachment: "Usuń obraz {name}",
|
|
26
26
|
dropImagesToAttach: "Upuść obrazy, aby je dołączyć",
|
|
27
|
-
queueMessage: "Pokieruj agentem…
|
|
27
|
+
queueMessage: "Pokieruj agentem… {shortcut} czeka, aż skończy",
|
|
28
28
|
queuedSteer: "Wyśle się po bieżącym kroku",
|
|
29
29
|
queuedFollowUp: "Wyśle się, gdy agent skończy",
|
|
30
30
|
removeQueuedMessage: "Usuń czekającą wiadomość",
|
|
@@ -250,6 +250,7 @@ var ai_default = {
|
|
|
250
250
|
deleteChatDescription: "„{title}” i jej wiadomości zostaną usunięte. Tej operacji nie można cofnąć.",
|
|
251
251
|
chatReadOnly: "Ten czat należy do innego dokumentu. Otwórz go, aby kontynuować.",
|
|
252
252
|
chatAgentReadOnly: "Rozmowa z agentem została zapisana, ale nie można tu jeszcze wznowić jego sesji. Rozpocznij nowy czat.",
|
|
253
|
+
chatAgentExited: "Proces agenta zakończył się nieoczekiwanie.",
|
|
253
254
|
chatStorageFailed: "Nie udało się zapisać historii. Nie zamykaj tego okna i spróbuj ponownie.",
|
|
254
255
|
chatHistoryFailed: "Nie udało się zaktualizować historii. Spróbuj ponownie.",
|
|
255
256
|
chatInterrupted: "Ta odpowiedź została przerwana.",
|
|
@@ -4,6 +4,8 @@ var credentials_default = {
|
|
|
4
4
|
getAPIKey: "Pobierz klucz API",
|
|
5
5
|
retryAccess: "Ponów dostęp",
|
|
6
6
|
retryFailed: "Nie udało się zresetować dostępu. Spróbuj ponownie.",
|
|
7
|
+
storeLocked: "Systemowy magazyn poświadczeń jest zablokowany. Odblokuj go, a następnie wybierz „Ponów dostęp” w sekcji Ogólne.",
|
|
8
|
+
storeUnavailable: "Pairdraw nie może połączyć się z systemowym magazynem poświadczeń. W systemie Linux uruchom pęk kluczy, np. GNOME Keyring; w pakiecie Snap wykonaj „snap connect pairdraw:password-manager-service”. Następnie wybierz „Ponów dostęp” w sekcji Ogólne.",
|
|
7
9
|
settingsTitle: "Zapisane dane uwierzytelniające",
|
|
8
10
|
accessPaused: "Dostęp do zapisanych danych logowania jest wstrzymany.",
|
|
9
11
|
rememberDevice: "Zapamiętaj klucze API na tym urządzeniu",
|
|
@@ -24,7 +24,7 @@ var ai_default = {
|
|
|
24
24
|
sendMessage: "Отправить сообщение",
|
|
25
25
|
removeImageAttachment: "Удалить изображение {name}",
|
|
26
26
|
dropImagesToAttach: "Перетащите изображения, чтобы прикрепить",
|
|
27
|
-
queueMessage: "Направьте агента…
|
|
27
|
+
queueMessage: "Направьте агента… {shortcut} дождётся, пока он закончит",
|
|
28
28
|
queuedSteer: "Отправится после текущего шага",
|
|
29
29
|
queuedFollowUp: "Отправится, когда агент закончит",
|
|
30
30
|
removeQueuedMessage: "Убрать ожидающее сообщение",
|
|
@@ -250,6 +250,7 @@ var ai_default = {
|
|
|
250
250
|
deleteChatDescription: "«{title}» и её сообщения будут удалены. Это действие нельзя отменить.",
|
|
251
251
|
chatReadOnly: "Этот чат относится к другому документу. Откройте его, чтобы продолжить.",
|
|
252
252
|
chatAgentReadOnly: "Переписка с агентом сохранена, но восстановление его сессии пока недоступно. Начните новый чат.",
|
|
253
|
+
chatAgentExited: "Процесс агента завершился неожиданно.",
|
|
253
254
|
chatStorageFailed: "Не удалось сохранить историю чата. Не закрывайте окно и попробуйте ещё раз.",
|
|
254
255
|
chatHistoryFailed: "Не удалось обновить историю чатов. Попробуйте ещё раз.",
|
|
255
256
|
chatInterrupted: "Этот ответ был прерван.",
|
|
@@ -4,6 +4,8 @@ var credentials_default = {
|
|
|
4
4
|
getAPIKey: "Получить API-ключ",
|
|
5
5
|
retryAccess: "Повторить доступ",
|
|
6
6
|
retryFailed: "Не удалось сбросить блокировку доступа. Повторите попытку.",
|
|
7
|
+
storeLocked: "Системное хранилище учётных данных заблокировано. Разблокируйте его, затем нажмите «Повторить доступ» в разделе «Основные».",
|
|
8
|
+
storeUnavailable: "Pairdraw не может обратиться к системному хранилищу учётных данных. В Linux запустите связку ключей, например GNOME Keyring; для пакета Snap выполните «snap connect pairdraw:password-manager-service». Затем нажмите «Повторить доступ» в разделе «Основные».",
|
|
7
9
|
settingsTitle: "Сохранённые учётные данные",
|
|
8
10
|
accessPaused: "Доступ к сохранённым учётным данным приостановлен.",
|
|
9
11
|
rememberDevice: "Запоминать API-ключи на этом устройстве",
|
|
@@ -622,6 +622,7 @@ var panels_default = {
|
|
|
622
622
|
behaviourDisabled: "Отключено",
|
|
623
623
|
behaviourOnValue: "Вкл.",
|
|
624
624
|
behaviourOffValue: "Выкл.",
|
|
625
|
+
behaviourValueField: "{value}: {side}",
|
|
625
626
|
behaviourTrack: "Дорожка",
|
|
626
627
|
behaviourThumb: "Бегунок",
|
|
627
628
|
behaviourRange: "Диапазон",
|
|
@@ -24,7 +24,7 @@ var ai_default = {
|
|
|
24
24
|
sendMessage: "发送消息",
|
|
25
25
|
removeImageAttachment: "移除图片 {name}",
|
|
26
26
|
dropImagesToAttach: "拖放图片以添加附件",
|
|
27
|
-
queueMessage: "引导智能体…
|
|
27
|
+
queueMessage: "引导智能体… {shortcut} 等它完成后再发送",
|
|
28
28
|
queuedSteer: "当前步骤后发送",
|
|
29
29
|
queuedFollowUp: "智能体完成后发送",
|
|
30
30
|
removeQueuedMessage: "移除等待中的消息",
|
|
@@ -250,6 +250,7 @@ var ai_default = {
|
|
|
250
250
|
deleteChatDescription: "“{title}”及其消息将被删除,且无法撤销。",
|
|
251
251
|
chatReadOnly: "此聊天属于另一个文档。打开该文档以继续。",
|
|
252
252
|
chatAgentReadOnly: "与代理的对话已保存,但暂时无法在此恢复会话。请新建聊天。",
|
|
253
|
+
chatAgentExited: "代理进程意外退出。",
|
|
253
254
|
chatStorageFailed: "无法保存聊天记录。请保持此窗口打开并重试。",
|
|
254
255
|
chatHistoryFailed: "无法更新聊天记录。请重试。",
|
|
255
256
|
chatInterrupted: "此回复已中断。",
|
|
@@ -4,6 +4,8 @@ var credentials_default = {
|
|
|
4
4
|
getAPIKey: "获取 API 密钥",
|
|
5
5
|
retryAccess: "重试访问",
|
|
6
6
|
retryFailed: "无法重置凭据访问。请重试。",
|
|
7
|
+
storeLocked: "系统凭据存储已锁定。请先解锁,然后在“通用”中选择“重试访问”。",
|
|
8
|
+
storeUnavailable: "Pairdraw 无法访问系统凭据存储。在 Linux 上,请启动 GNOME Keyring 等密钥环;如果使用 Snap 软件包,请运行“snap connect pairdraw:password-manager-service”。然后在“通用”中选择“重试访问”。",
|
|
7
9
|
settingsTitle: "已保存的凭据",
|
|
8
10
|
accessPaused: "对已保存凭据的访问已暂停。",
|
|
9
11
|
rememberDevice: "在此设备上记住 API 密钥",
|
|
@@ -59,6 +59,7 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
|
|
|
59
59
|
} & object], string>;
|
|
60
60
|
readonly chatReadOnly: "This conversation belongs to another document. Open its document to continue.";
|
|
61
61
|
readonly chatAgentReadOnly: "This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.";
|
|
62
|
+
readonly chatAgentExited: "Agent process exited unexpectedly.";
|
|
62
63
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
63
64
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
64
65
|
readonly chatInterrupted: "This response was interrupted.";
|
|
@@ -146,7 +147,9 @@ declare const aiMessages: import("@nanostores/i18n").Messages<{
|
|
|
146
147
|
name: string | number;
|
|
147
148
|
} & object], string>;
|
|
148
149
|
readonly dropImagesToAttach: "Drop images to attach";
|
|
149
|
-
readonly queueMessage: "
|
|
150
|
+
readonly queueMessage: import("@nanostores/i18n").TranslationFunction<[{
|
|
151
|
+
shortcut: string | number;
|
|
152
|
+
} & object], string>;
|
|
150
153
|
readonly queuedSteer: "Sends after the current step";
|
|
151
154
|
readonly queuedFollowUp: "Sends when the agent is done";
|
|
152
155
|
readonly removeQueuedMessage: "Remove waiting message";
|
|
@@ -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":";cAmoBa,uCAAU"}
|
package/dist/i18n/messages/ai.js
CHANGED
|
@@ -49,6 +49,7 @@ const aiMessageDefaults = {
|
|
|
49
49
|
deleteChatDescription: params("“{title}” and its messages are removed. This cannot be undone."),
|
|
50
50
|
chatReadOnly: "This conversation belongs to another document. Open its document to continue.",
|
|
51
51
|
chatAgentReadOnly: "This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.",
|
|
52
|
+
chatAgentExited: "Agent process exited unexpectedly.",
|
|
52
53
|
chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.",
|
|
53
54
|
chatHistoryFailed: "Could not update chat history. Try again.",
|
|
54
55
|
chatInterrupted: "This response was interrupted.",
|
|
@@ -98,7 +99,7 @@ const aiMessageDefaults = {
|
|
|
98
99
|
sendMessage: "Send message",
|
|
99
100
|
removeImageAttachment: params("Remove image {name}"),
|
|
100
101
|
dropImagesToAttach: "Drop images to attach",
|
|
101
|
-
queueMessage: "Steer the agent…
|
|
102
|
+
queueMessage: params("Steer the agent… {shortcut} waits until it is done"),
|
|
102
103
|
queuedSteer: "Sends after the current step",
|
|
103
104
|
queuedFollowUp: "Sends when the agent is done",
|
|
104
105
|
removeQueuedMessage: "Remove waiting message",
|