@arronqzy/i18n 0.1.4 → 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 +20 -2
- package/src/locales/zh-CN.ts +19 -2
package/package.json
CHANGED
package/src/locales/en-US.ts
CHANGED
|
@@ -112,6 +112,9 @@ export const enUS = {
|
|
|
112
112
|
fontSmall: "Font: small",
|
|
113
113
|
fontMedium: "Font: medium",
|
|
114
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",
|
|
115
118
|
productName: "Product name",
|
|
116
119
|
productNamePlaceholder: "Enter the current build product name",
|
|
117
120
|
uploadTitleIcon: "Upload title icon",
|
|
@@ -242,10 +245,12 @@ export const enUS = {
|
|
|
242
245
|
sectionGridChildSpan: "Grid child span",
|
|
243
246
|
sectionReference: "Reference",
|
|
244
247
|
groupBgFill: "Background fill",
|
|
245
|
-
groupBgLayout: "Background layout",
|
|
248
|
+
groupBgLayout: "Background image & layout",
|
|
246
249
|
groupBorderGeometry: "Border geometry",
|
|
247
250
|
groupBorderVisual: "Border appearance",
|
|
251
|
+
groupNodeMore: "Rotate & layer",
|
|
248
252
|
groupBasicDisplay: "Basic display",
|
|
253
|
+
groupChartDisplayMore: "Gradient & render",
|
|
249
254
|
groupTooltip: "Tooltip",
|
|
250
255
|
groupData: "Data",
|
|
251
256
|
groupAxes: "Axes",
|
|
@@ -351,6 +356,7 @@ export const enUS = {
|
|
|
351
356
|
gaugeValue: "Gauge value",
|
|
352
357
|
barWidth: "Bar width",
|
|
353
358
|
barWidthPx: "Bar width (px)",
|
|
359
|
+
barWidthAuto: "Auto",
|
|
354
360
|
smooth: "Smooth curve",
|
|
355
361
|
pieInnerRadius: "Inner radius",
|
|
356
362
|
pieInnerRadiusPct: "Inner radius (%)",
|
|
@@ -436,6 +442,8 @@ export const enUS = {
|
|
|
436
442
|
collapseHighFreq: "Collapse frequent options",
|
|
437
443
|
expandAxisPointer: "Expand axis pointer options",
|
|
438
444
|
collapseAxisPointer: "Collapse axis pointer options",
|
|
445
|
+
expandGroup: "Expand {title}",
|
|
446
|
+
collapseGroup: "Collapse {title}",
|
|
439
447
|
textHtml: "Text content (HTML)",
|
|
440
448
|
fontFamily: "Font family",
|
|
441
449
|
fontFamilyPlaceholder: "e.g. Inter, PingFang SC, Microsoft YaHei",
|
|
@@ -1272,7 +1280,17 @@ export const enUS = {
|
|
|
1272
1280
|
taskChain: "Task chain",
|
|
1273
1281
|
allowFalsePropagateDefault: "Allow false-signal propagation: by default false blocks the chain; when on, false signals and errors continue downstream.",
|
|
1274
1282
|
fetchTitle: "Fetch",
|
|
1275
|
-
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.",
|
|
1276
1294
|
swaggerUrlOptional: "Swagger document URL (optional)",
|
|
1277
1295
|
abortParse: "Abort parsing",
|
|
1278
1296
|
abortSwaggerAria: "Abort Swagger parsing",
|
package/src/locales/zh-CN.ts
CHANGED
|
@@ -111,6 +111,8 @@ export const zhCN = {
|
|
|
111
111
|
fontSmall: "字体:小",
|
|
112
112
|
fontMedium: "字体:中",
|
|
113
113
|
fontLarge: "字体:大",
|
|
114
|
+
outputScale: "产出缩放",
|
|
115
|
+
outputScaleHint: "开启后预览撑满时字体和内容一起缩放;关闭后块仍撑满全屏,但内容保持原尺寸以免失真",
|
|
114
116
|
productName: "产物名称",
|
|
115
117
|
productNamePlaceholder: "请输入当前构建产物名称",
|
|
116
118
|
uploadTitleIcon: "上传 title 图标",
|
|
@@ -241,10 +243,12 @@ export const zhCN = {
|
|
|
241
243
|
sectionGridChildSpan: "网格子节点占位",
|
|
242
244
|
sectionReference: "引用组件配置",
|
|
243
245
|
groupBgFill: "背景填充",
|
|
244
|
-
groupBgLayout: "
|
|
246
|
+
groupBgLayout: "背景图片与布局",
|
|
245
247
|
groupBorderGeometry: "边框几何",
|
|
246
248
|
groupBorderVisual: "边框视觉",
|
|
249
|
+
groupNodeMore: "旋转与层级",
|
|
247
250
|
groupBasicDisplay: "基础显示",
|
|
251
|
+
groupChartDisplayMore: "渐变与渲染",
|
|
248
252
|
groupTooltip: "提示框 Tooltip",
|
|
249
253
|
groupData: "数据",
|
|
250
254
|
groupAxes: "坐标轴",
|
|
@@ -350,6 +354,7 @@ export const zhCN = {
|
|
|
350
354
|
gaugeValue: "仪表盘值",
|
|
351
355
|
barWidth: "柱宽",
|
|
352
356
|
barWidthPx: "柱宽(px)",
|
|
357
|
+
barWidthAuto: "自动",
|
|
353
358
|
smooth: "平滑曲线",
|
|
354
359
|
pieInnerRadius: "内半径",
|
|
355
360
|
pieInnerRadiusPct: "内半径(%)",
|
|
@@ -435,6 +440,8 @@ export const zhCN = {
|
|
|
435
440
|
collapseHighFreq: "收起高频项",
|
|
436
441
|
expandAxisPointer: "展开轴指示器项",
|
|
437
442
|
collapseAxisPointer: "收起轴指示器项",
|
|
443
|
+
expandGroup: "展开{title}",
|
|
444
|
+
collapseGroup: "收起{title}",
|
|
438
445
|
textHtml: "文本内容(HTML)",
|
|
439
446
|
fontFamily: "字体",
|
|
440
447
|
fontFamilyPlaceholder: "如:Inter, PingFang SC, Microsoft YaHei",
|
|
@@ -1270,7 +1277,17 @@ export const zhCN = {
|
|
|
1270
1277
|
taskChain: "任务链执行",
|
|
1271
1278
|
allowFalsePropagateDefault: "允许假信号传递:默认假信号会阻塞任务链;开启后继续向下游传递假信号与错误信息。",
|
|
1272
1279
|
fetchTitle: "数据源获取 (Fetch)",
|
|
1273
|
-
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},用上游输出的对象作为请求头。",
|
|
1274
1291
|
swaggerUrlOptional: "Swagger 文档 URL(可选)",
|
|
1275
1292
|
abortParse: "中止解析",
|
|
1276
1293
|
abortSwaggerAria: "中止 Swagger 解析",
|