@arronqzy/i18n 0.1.3 → 0.1.5
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/package.json +1 -1
- package/src/locales/en-US.ts +25 -5
- package/src/locales/zh-CN.ts +24 -5
package/package.json
CHANGED
package/src/locales/en-US.ts
CHANGED
|
@@ -53,17 +53,19 @@ export const enUS = {
|
|
|
53
53
|
parseFailed: "Could not parse model output:",
|
|
54
54
|
applyFailed: "Failed",
|
|
55
55
|
needActionHint:
|
|
56
|
-
"(No executable action. Select a widget and be specific, or switch to
|
|
56
|
+
"(No executable action. Select a widget and be specific, or switch to 8B.)",
|
|
57
57
|
unclearIntent:
|
|
58
|
-
"
|
|
58
|
+
"Do you want me to **edit the page**, or are you just asking?\n\nSay \"edit\" or be specific, e.g. \"make the selected pie chart yellow\".",
|
|
59
59
|
layerLockedAddFailed: "Active layer is locked. Unlock or switch layers.",
|
|
60
60
|
unknownMaterial:
|
|
61
61
|
"Unknown material 「{type}」. Try: text / table / grid / image / bar / line / pie.",
|
|
62
62
|
error: "Error",
|
|
63
63
|
model15b: "1.5B",
|
|
64
|
-
model15bHint: "Faster, less VRAM; use 3B for harder tasks",
|
|
64
|
+
model15bHint: "Faster, less VRAM; use 3B / 8B for harder tasks",
|
|
65
65
|
model3b: "3B",
|
|
66
66
|
model3bHint: "Higher accuracy; larger download and VRAM",
|
|
67
|
+
model8b: "8B",
|
|
68
|
+
model8bHint: "Qwen3, smartest; ~6GB VRAM, may fail on low-end GPUs",
|
|
67
69
|
quickMakeLogin: "Simple login page",
|
|
68
70
|
quickMakeLoginSave: "Login page + save",
|
|
69
71
|
quickExplainSelection: "Explain selection",
|
|
@@ -110,6 +112,9 @@ export const enUS = {
|
|
|
110
112
|
fontSmall: "Font: small",
|
|
111
113
|
fontMedium: "Font: medium",
|
|
112
114
|
fontLarge: "Font: large",
|
|
115
|
+
outputScale: "Output scale",
|
|
116
|
+
outputScaleHint:
|
|
117
|
+
"On: fonts and content scale as the preview fills the screen. Off: blocks still fill the screen, but content stays original size to avoid distortion",
|
|
113
118
|
productName: "Product name",
|
|
114
119
|
productNamePlaceholder: "Enter the current build product name",
|
|
115
120
|
uploadTitleIcon: "Upload title icon",
|
|
@@ -240,10 +245,12 @@ export const enUS = {
|
|
|
240
245
|
sectionGridChildSpan: "Grid child span",
|
|
241
246
|
sectionReference: "Reference",
|
|
242
247
|
groupBgFill: "Background fill",
|
|
243
|
-
groupBgLayout: "Background layout",
|
|
248
|
+
groupBgLayout: "Background image & layout",
|
|
244
249
|
groupBorderGeometry: "Border geometry",
|
|
245
250
|
groupBorderVisual: "Border appearance",
|
|
251
|
+
groupNodeMore: "Rotate & layer",
|
|
246
252
|
groupBasicDisplay: "Basic display",
|
|
253
|
+
groupChartDisplayMore: "Gradient & render",
|
|
247
254
|
groupTooltip: "Tooltip",
|
|
248
255
|
groupData: "Data",
|
|
249
256
|
groupAxes: "Axes",
|
|
@@ -349,6 +356,7 @@ export const enUS = {
|
|
|
349
356
|
gaugeValue: "Gauge value",
|
|
350
357
|
barWidth: "Bar width",
|
|
351
358
|
barWidthPx: "Bar width (px)",
|
|
359
|
+
barWidthAuto: "Auto",
|
|
352
360
|
smooth: "Smooth curve",
|
|
353
361
|
pieInnerRadius: "Inner radius",
|
|
354
362
|
pieInnerRadiusPct: "Inner radius (%)",
|
|
@@ -434,6 +442,8 @@ export const enUS = {
|
|
|
434
442
|
collapseHighFreq: "Collapse frequent options",
|
|
435
443
|
expandAxisPointer: "Expand axis pointer options",
|
|
436
444
|
collapseAxisPointer: "Collapse axis pointer options",
|
|
445
|
+
expandGroup: "Expand {title}",
|
|
446
|
+
collapseGroup: "Collapse {title}",
|
|
437
447
|
textHtml: "Text content (HTML)",
|
|
438
448
|
fontFamily: "Font family",
|
|
439
449
|
fontFamilyPlaceholder: "e.g. Inter, PingFang SC, Microsoft YaHei",
|
|
@@ -1270,7 +1280,17 @@ export const enUS = {
|
|
|
1270
1280
|
taskChain: "Task chain",
|
|
1271
1281
|
allowFalsePropagateDefault: "Allow false-signal propagation: by default false blocks the chain; when on, false signals and errors continue downstream.",
|
|
1272
1282
|
fetchTitle: "Fetch",
|
|
1273
|
-
fetchHint: "On a true signal, send an HTTP request
|
|
1283
|
+
fetchHint: "On a true signal, send an HTTP request. URL / headers / body / Base URL can use {scope?...} to read upstream data.",
|
|
1284
|
+
fetchScopeTitle: "Upstream scope",
|
|
1285
|
+
fetchScopeHint:
|
|
1286
|
+
"One upstream node: {scope?.value}, {scope?.id}, {scope?.name}, {scope?.type}. Multiple upstream nodes are keyed by node id, e.g. {scope?.node_abc?.value}. value is the output; other fields are node details. Header templates can live in JSON string values, or the whole field can be {scope?.value?.headers}.",
|
|
1287
|
+
fetchScopeEmpty: "No upstream edges yet. Connect a node to use scope templates for its output and details.",
|
|
1288
|
+
fetchScopePending: "Upstream has not run yet, so value is empty; id / name / type are already available.",
|
|
1289
|
+
fetchScopeResolvedUrl: "Resolved URL",
|
|
1290
|
+
fetchScopeResolvedHeaders: "Resolved headers",
|
|
1291
|
+
fetchScopeUnresolved: "URL is empty after template evaluation. Make sure upstream has run and the path is correct.",
|
|
1292
|
+
fetchHeadersHint:
|
|
1293
|
+
"Enter a JSON object, e.g. {\"Authorization\":\"Bearer {scope?.value?.token}\"}. You can also set the whole field to {scope?.value?.headers} to use an upstream object as headers.",
|
|
1274
1294
|
swaggerUrlOptional: "Swagger document URL (optional)",
|
|
1275
1295
|
abortParse: "Abort parsing",
|
|
1276
1296
|
abortSwaggerAria: "Abort Swagger parsing",
|
package/src/locales/zh-CN.ts
CHANGED
|
@@ -53,16 +53,18 @@ export const zhCN = {
|
|
|
53
53
|
parseFailed: "无法解析模型输出:",
|
|
54
54
|
applyFailed: "执行失败",
|
|
55
55
|
needActionHint:
|
|
56
|
-
"(模型未生成可执行动作。请先选中组件并说具体改什么,或切换
|
|
56
|
+
"(模型未生成可执行动作。请先选中组件并说具体改什么,或切换 8B 模型。)",
|
|
57
57
|
unclearIntent:
|
|
58
|
-
"
|
|
58
|
+
"你是要我**改当前页面**,还是只是提问?\n\n可以说「改」或具体一点,例如「把选中的饼图改成黄色」。",
|
|
59
59
|
layerLockedAddFailed: "当前图层已锁定,无法添加。请先解锁或切换图层。",
|
|
60
60
|
unknownMaterial: "未知组件「{type}」。可用:text / table / grid / image / bar / line / pie 等。",
|
|
61
61
|
error: "出错",
|
|
62
62
|
model15b: "1.5B",
|
|
63
|
-
model15bHint: "更快更省显存;复杂指令建议换 3B",
|
|
63
|
+
model15bHint: "更快更省显存;复杂指令建议换 3B / 8B",
|
|
64
64
|
model3b: "3B",
|
|
65
65
|
model3bHint: "正确率更高,下载与显存占用更大",
|
|
66
|
+
model8b: "8B",
|
|
67
|
+
model8bHint: "Qwen3,最聪明;约 6GB 显存,低配可能加载失败",
|
|
66
68
|
quickMakeLogin: "做一个简单登录页",
|
|
67
69
|
quickMakeLoginSave: "登录页并保存",
|
|
68
70
|
quickExplainSelection: "解释当前选中",
|
|
@@ -109,6 +111,8 @@ export const zhCN = {
|
|
|
109
111
|
fontSmall: "字体:小",
|
|
110
112
|
fontMedium: "字体:中",
|
|
111
113
|
fontLarge: "字体:大",
|
|
114
|
+
outputScale: "产出缩放",
|
|
115
|
+
outputScaleHint: "开启后预览撑满时字体和内容一起缩放;关闭后块仍撑满全屏,但内容保持原尺寸以免失真",
|
|
112
116
|
productName: "产物名称",
|
|
113
117
|
productNamePlaceholder: "请输入当前构建产物名称",
|
|
114
118
|
uploadTitleIcon: "上传 title 图标",
|
|
@@ -239,10 +243,12 @@ export const zhCN = {
|
|
|
239
243
|
sectionGridChildSpan: "网格子节点占位",
|
|
240
244
|
sectionReference: "引用组件配置",
|
|
241
245
|
groupBgFill: "背景填充",
|
|
242
|
-
groupBgLayout: "
|
|
246
|
+
groupBgLayout: "背景图片与布局",
|
|
243
247
|
groupBorderGeometry: "边框几何",
|
|
244
248
|
groupBorderVisual: "边框视觉",
|
|
249
|
+
groupNodeMore: "旋转与层级",
|
|
245
250
|
groupBasicDisplay: "基础显示",
|
|
251
|
+
groupChartDisplayMore: "渐变与渲染",
|
|
246
252
|
groupTooltip: "提示框 Tooltip",
|
|
247
253
|
groupData: "数据",
|
|
248
254
|
groupAxes: "坐标轴",
|
|
@@ -348,6 +354,7 @@ export const zhCN = {
|
|
|
348
354
|
gaugeValue: "仪表盘值",
|
|
349
355
|
barWidth: "柱宽",
|
|
350
356
|
barWidthPx: "柱宽(px)",
|
|
357
|
+
barWidthAuto: "自动",
|
|
351
358
|
smooth: "平滑曲线",
|
|
352
359
|
pieInnerRadius: "内半径",
|
|
353
360
|
pieInnerRadiusPct: "内半径(%)",
|
|
@@ -433,6 +440,8 @@ export const zhCN = {
|
|
|
433
440
|
collapseHighFreq: "收起高频项",
|
|
434
441
|
expandAxisPointer: "展开轴指示器项",
|
|
435
442
|
collapseAxisPointer: "收起轴指示器项",
|
|
443
|
+
expandGroup: "展开{title}",
|
|
444
|
+
collapseGroup: "收起{title}",
|
|
436
445
|
textHtml: "文本内容(HTML)",
|
|
437
446
|
fontFamily: "字体",
|
|
438
447
|
fontFamilyPlaceholder: "如:Inter, PingFang SC, Microsoft YaHei",
|
|
@@ -1268,7 +1277,17 @@ export const zhCN = {
|
|
|
1268
1277
|
taskChain: "任务链执行",
|
|
1269
1278
|
allowFalsePropagateDefault: "允许假信号传递:默认假信号会阻塞任务链;开启后继续向下游传递假信号与错误信息。",
|
|
1270
1279
|
fetchTitle: "数据源获取 (Fetch)",
|
|
1271
|
-
fetchHint: "收到真信号后发起 HTTP
|
|
1280
|
+
fetchHint: "收到真信号后发起 HTTP 请求。URL / 请求头 / 请求体 / Base URL 可用 {scope?...} 引用上游数据。",
|
|
1281
|
+
fetchScopeTitle: "上游输入 Scope",
|
|
1282
|
+
fetchScopeHint:
|
|
1283
|
+
"单路上游:{scope?.value}、{scope?.id}、{scope?.name}、{scope?.type}。多路上游按节点 id 取值,例如 {scope?.node_abc?.value}。value 为上游输出,其余为节点详情。请求头可把模板写在 JSON 字符串值内,也可整段写成 {scope?.value?.headers}。",
|
|
1284
|
+
fetchScopeEmpty: "暂无上游连线。连接上游后可用 scope 模板引用其输出与节点信息。",
|
|
1285
|
+
fetchScopePending: "上游尚未执行,value 暂空;id / name / type 已可引用。",
|
|
1286
|
+
fetchScopeResolvedUrl: "解析后的 URL",
|
|
1287
|
+
fetchScopeResolvedHeaders: "解析后的请求头",
|
|
1288
|
+
fetchScopeUnresolved: "模板解析后请求 URL 为空,请确认上游已执行且路径正确",
|
|
1289
|
+
fetchHeadersHint:
|
|
1290
|
+
"填写 JSON 对象,例如 {\"Authorization\":\"Bearer {scope?.value?.token}\"}。也可整段写成 {scope?.value?.headers},用上游输出的对象作为请求头。",
|
|
1272
1291
|
swaggerUrlOptional: "Swagger 文档 URL(可选)",
|
|
1273
1292
|
abortParse: "中止解析",
|
|
1274
1293
|
abortSwaggerAria: "中止 Swagger 解析",
|