@emqx/shared-ui-i18n 0.0.48 → 0.0.50
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/en/aiLog.d.ts +45 -0
- package/dist/en/common.d.ts +9 -0
- package/dist/en/flow.d.ts +34 -0
- package/dist/en/ruleFunction.d.ts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +266 -16
- package/dist/index.umd.cjs +6 -6
- package/dist/ja/common.d.ts +9 -0
- package/dist/ja/flow.d.ts +34 -0
- package/dist/ja/ruleFunction.d.ts +5 -0
- package/dist/zh/aiLog.d.ts +45 -0
- package/dist/zh/common.d.ts +9 -0
- package/dist/zh/flow.d.ts +34 -0
- package/dist/zh/ruleFunction.d.ts +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const enAiLog: {
|
|
2
|
+
systemTitle: string;
|
|
3
|
+
noMCPServers: string;
|
|
4
|
+
configMCPServerGateway: string;
|
|
5
|
+
mcpServerGatewayConfigs: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
save: string;
|
|
8
|
+
mqttHost: string;
|
|
9
|
+
mqttPort: string;
|
|
10
|
+
mqttUsername: string;
|
|
11
|
+
mqttPassword: string;
|
|
12
|
+
mqttClientId: string;
|
|
13
|
+
mqttAppId: string;
|
|
14
|
+
saveSuccess: string;
|
|
15
|
+
parseUserIntention: string;
|
|
16
|
+
loadLogEntries: string;
|
|
17
|
+
generalConversation: string;
|
|
18
|
+
extractAndExplainLogEntries: string;
|
|
19
|
+
queryEmqxContext: string;
|
|
20
|
+
genAnalysisReport: string;
|
|
21
|
+
completeReport: string;
|
|
22
|
+
funcCall: string;
|
|
23
|
+
analysisResultTip: string;
|
|
24
|
+
responseConfirm: string;
|
|
25
|
+
yes: string;
|
|
26
|
+
no: string;
|
|
27
|
+
refreshConfirm: string;
|
|
28
|
+
confirm: string;
|
|
29
|
+
guidanceText: string;
|
|
30
|
+
querySample1: string;
|
|
31
|
+
querySample2: string;
|
|
32
|
+
querySample3: string;
|
|
33
|
+
noConfigStatus: string;
|
|
34
|
+
disconnectedStatus: string;
|
|
35
|
+
selectServerRequired: string;
|
|
36
|
+
funcName: string;
|
|
37
|
+
funcArgs: string;
|
|
38
|
+
funcOutput: string;
|
|
39
|
+
permissionRequest: string;
|
|
40
|
+
deny: string;
|
|
41
|
+
allowOnce: string;
|
|
42
|
+
allowAlways: string;
|
|
43
|
+
reportGenerationCompleted: string;
|
|
44
|
+
userCancelled: string;
|
|
45
|
+
};
|
package/dist/en/common.d.ts
CHANGED
|
@@ -6,4 +6,13 @@ export declare const enCommon: {
|
|
|
6
6
|
cancel: string;
|
|
7
7
|
back: string;
|
|
8
8
|
generate: string;
|
|
9
|
+
field: string;
|
|
10
|
+
pleaseChoose: string;
|
|
11
|
+
pleaseEnter: string;
|
|
12
|
+
add: string;
|
|
13
|
+
actions: string;
|
|
14
|
+
transform: string;
|
|
15
|
+
alias: string;
|
|
16
|
+
name: string;
|
|
17
|
+
colon: string;
|
|
9
18
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const enFlow: {
|
|
2
|
+
guideSourceNodeLabel: string;
|
|
3
|
+
guideSourceNodeDesc: string;
|
|
4
|
+
guideProcessingNodeLabel: string;
|
|
5
|
+
guideProcessingNodeDesc: string;
|
|
6
|
+
guideSinkNodeLabel: string;
|
|
7
|
+
guideSinkNodeDesc: string;
|
|
8
|
+
guideFallbackNodeLabel: string;
|
|
9
|
+
guideFallbackNodeDesc: string;
|
|
10
|
+
actionAvailable: string;
|
|
11
|
+
actionUnavailable: string;
|
|
12
|
+
connecting: string;
|
|
13
|
+
inconsistent: string;
|
|
14
|
+
disconnected: string;
|
|
15
|
+
message: string;
|
|
16
|
+
event: string;
|
|
17
|
+
dataProcessing: string;
|
|
18
|
+
filter: string;
|
|
19
|
+
consoleOutput: string;
|
|
20
|
+
republish: string;
|
|
21
|
+
condition: string;
|
|
22
|
+
systemPrompt: string;
|
|
23
|
+
consoleFallbackWrong: string;
|
|
24
|
+
incorrectConnection: string;
|
|
25
|
+
filterFunctionsWrongOrder: string;
|
|
26
|
+
flowEmptyError: string;
|
|
27
|
+
flowIntegrityError: string;
|
|
28
|
+
isolatedNodeError: string;
|
|
29
|
+
multipleFlowError: string;
|
|
30
|
+
multipleFallbackWrong: string;
|
|
31
|
+
incorrectInputOutputConnection: string;
|
|
32
|
+
incorrectOutputNodeConnection: string;
|
|
33
|
+
incorrectDefaultNodeConnection: string;
|
|
34
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -20,3 +20,8 @@ export * from './ja/ruleFunction';
|
|
|
20
20
|
export * from './en/ruleSQL';
|
|
21
21
|
export * from './zh/ruleSQL';
|
|
22
22
|
export * from './ja/ruleSQL';
|
|
23
|
+
export * from './en/aiLog';
|
|
24
|
+
export * from './zh/aiLog';
|
|
25
|
+
export * from './zh/flow';
|
|
26
|
+
export * from './en/flow';
|
|
27
|
+
export * from './ja/flow';
|
package/dist/index.js
CHANGED
|
@@ -171,6 +171,7 @@ FROM
|
|
|
171
171
|
], t = {
|
|
172
172
|
common: {
|
|
173
173
|
health_check_interval: "Health Check Interval",
|
|
174
|
+
health_check_interval_jitter: "Health Check Interval Jitter",
|
|
174
175
|
health_check_timeout: "Health Check Timeout",
|
|
175
176
|
query_mode: "Query Mode",
|
|
176
177
|
max_retries: "Max Retries",
|
|
@@ -414,11 +415,16 @@ FROM
|
|
|
414
415
|
s3tables: {
|
|
415
416
|
namespace: "Namespace",
|
|
416
417
|
table: "Table"
|
|
418
|
+
},
|
|
419
|
+
bigquery: {
|
|
420
|
+
dataset: "Dataset",
|
|
421
|
+
table: "Table"
|
|
417
422
|
}
|
|
418
423
|
}, a = {
|
|
419
424
|
common: {
|
|
420
425
|
health_check_interval: "健康检查间隔",
|
|
421
426
|
health_check_timeout: "健康检查超时",
|
|
427
|
+
health_check_interval_jitter: "健康检查间隔抖动",
|
|
422
428
|
query_mode: "请求模式",
|
|
423
429
|
max_retries: "最大重试次数",
|
|
424
430
|
worker_pool_size: "缓存池大小",
|
|
@@ -661,6 +667,10 @@ FROM
|
|
|
661
667
|
s3tables: {
|
|
662
668
|
namespace: "命名空间",
|
|
663
669
|
table: "表"
|
|
670
|
+
},
|
|
671
|
+
bigquery: {
|
|
672
|
+
dataset: "数据集",
|
|
673
|
+
table: "表"
|
|
664
674
|
}
|
|
665
675
|
}, o = {
|
|
666
676
|
common: {
|
|
@@ -700,7 +710,8 @@ FROM
|
|
|
700
710
|
access_method: "Access Method",
|
|
701
711
|
request_timeout: "Request Timeout",
|
|
702
712
|
ipv6_probe: "IPv6 Probe",
|
|
703
|
-
headers: "HTTP Headers"
|
|
713
|
+
headers: "HTTP Headers",
|
|
714
|
+
service_account_json: "GCP Service Account Credentials"
|
|
704
715
|
},
|
|
705
716
|
kafka_producer: {
|
|
706
717
|
kerberos_principal: "Kerberos Principal",
|
|
@@ -713,7 +724,6 @@ FROM
|
|
|
713
724
|
enable_pipelining: "HTTP Pipelining"
|
|
714
725
|
},
|
|
715
726
|
gcp_pubsub_producer: {
|
|
716
|
-
service_account_json: "GCP Service Account Credentials",
|
|
717
727
|
query_mode: "Query Mode",
|
|
718
728
|
batch_size: "Batch Size"
|
|
719
729
|
},
|
|
@@ -794,7 +804,6 @@ FROM
|
|
|
794
804
|
region: "DynamoDB Region"
|
|
795
805
|
},
|
|
796
806
|
gcp_pubsub_consumer: {
|
|
797
|
-
service_account_json: "GCP Service Account Credentials",
|
|
798
807
|
pull_max_messages: "Maximum Messages to Pull"
|
|
799
808
|
},
|
|
800
809
|
hstreamdb: {
|
|
@@ -834,7 +843,8 @@ FROM
|
|
|
834
843
|
endpoint: "Amazon Kinesis Endpoint"
|
|
835
844
|
},
|
|
836
845
|
greptimedb: {
|
|
837
|
-
dbname: "Database"
|
|
846
|
+
dbname: "Database",
|
|
847
|
+
ttl: "Time-To-Live (TTL)"
|
|
838
848
|
},
|
|
839
849
|
s3: {
|
|
840
850
|
host: "Host",
|
|
@@ -910,7 +920,8 @@ FROM
|
|
|
910
920
|
ipv6_probe: "IPv6 探针",
|
|
911
921
|
headers: "请求头",
|
|
912
922
|
request_timeout: "请求超时",
|
|
913
|
-
access_method: "访问模式"
|
|
923
|
+
access_method: "访问模式",
|
|
924
|
+
service_account_json: "GCP 服务账户凭证"
|
|
914
925
|
},
|
|
915
926
|
kafka_producer: {
|
|
916
927
|
kerberos_principal: "Kerberos Principal",
|
|
@@ -923,7 +934,6 @@ FROM
|
|
|
923
934
|
enable_pipelining: "HTTP 管道"
|
|
924
935
|
},
|
|
925
936
|
gcp_pubsub_producer: {
|
|
926
|
-
service_account_json: "GCP 服务账户凭证",
|
|
927
937
|
query_mode: "请求模式",
|
|
928
938
|
batch_size: "最大批量请求大小"
|
|
929
939
|
},
|
|
@@ -1004,7 +1014,6 @@ FROM
|
|
|
1004
1014
|
region: "DynamoDB 区域"
|
|
1005
1015
|
},
|
|
1006
1016
|
gcp_pubsub_consumer: {
|
|
1007
|
-
service_account_json: "GCP 服务账户凭证",
|
|
1008
1017
|
pull_max_messages: "拉取的最大消息数"
|
|
1009
1018
|
},
|
|
1010
1019
|
hstreamdb: {
|
|
@@ -1044,7 +1053,8 @@ FROM
|
|
|
1044
1053
|
endpoint: "Amazon Kinesis 端点"
|
|
1045
1054
|
},
|
|
1046
1055
|
greptimedb: {
|
|
1047
|
-
dbname: "数据库"
|
|
1056
|
+
dbname: "数据库",
|
|
1057
|
+
ttl: "数据保留期限 (TTL)"
|
|
1048
1058
|
},
|
|
1049
1059
|
s3: {
|
|
1050
1060
|
host: "地址",
|
|
@@ -1288,6 +1298,7 @@ HGETALL mqtt_acl:\${username}`
|
|
|
1288
1298
|
batch_time: "在较低消息率情况下尝试累积批量输出时的最大等待间隔,以提高资源的利用率。",
|
|
1289
1299
|
enable_queue: "启用磁盘缓存队列(仅对 egress 方向桥接有用)。",
|
|
1290
1300
|
health_check_interval: "健康检查间隔。",
|
|
1301
|
+
health_check_interval_jitter: "在健康检查间隔中添加一个均匀的随机延迟,以便使用同一连接器的动作和 Source 在不同时间点开始其健康检查。",
|
|
1291
1302
|
inflight_window: "请求飞行队列窗口大小。当请求模式为异步时,如果需要严格保证来自同一 MQTT 客户端的消息有序,则必须将此值设为 1。",
|
|
1292
1303
|
query_mode: "请求模式。可选 '同步/异步',默认为'异步'模式。",
|
|
1293
1304
|
request_ttl: "从请求进入缓冲区开始计时,如果请求在规定的时间内仍停留在缓冲区内或者已发送但未能及时收到响应或确认,该请求将被视为过期。",
|
|
@@ -1636,7 +1647,8 @@ HGETALL mqtt_acl:\${username}`
|
|
|
1636
1647
|
server: "要连接的 IPv4 或 IPv6 地址或主机名。<br/>\n主机条目的格式为:`Host[:Port]`。",
|
|
1637
1648
|
dbname: "GreptimeDB 数据库名称。",
|
|
1638
1649
|
precision: "GreptimeDB 时间精度。",
|
|
1639
|
-
write_syntax: "GreptimeDB gRPC 协议写数据点的配置。写语法是一种基于文本的格式,提供数据点的测量、标签集、字段集和时间戳,支持占位符,与 InfluxDB 行协议相同。\n参考 [InfluxDB 2.3 行协议](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) 和\n[InfluxDB 1.8 行协议](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) <br/>\n简而言之:<br/>\n```\n<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]\n```\n请注意,整数值的占位符必须使用后缀 `i` 进行注释。例如 `${'{'}payload.int_value{'}'}i`。"
|
|
1650
|
+
write_syntax: "GreptimeDB gRPC 协议写数据点的配置。写语法是一种基于文本的格式,提供数据点的测量、标签集、字段集和时间戳,支持占位符,与 InfluxDB 行协议相同。\n参考 [InfluxDB 2.3 行协议](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) 和\n[InfluxDB 1.8 行协议](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) <br/>\n简而言之:<br/>\n```\n<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]\n```\n请注意,整数值的占位符必须使用后缀 `i` 进行注释。例如 `${'{'}payload.int_value{'}'}i`。",
|
|
1651
|
+
ttl: "GreptimeDB 自动创建的表的数据保留期限 (TTL)。"
|
|
1640
1652
|
},
|
|
1641
1653
|
syskeeper_proxy: {
|
|
1642
1654
|
listen: "Syskeeper 代理服务器的监听地址",
|
|
@@ -1716,6 +1728,7 @@ HGETALL mqtt_acl:\${username}`
|
|
|
1716
1728
|
When Enabled, messages will be buffered on disk when the bridge connection is down.
|
|
1717
1729
|
When disabled the messages are buffered in RAM only.`,
|
|
1718
1730
|
health_check_interval: "Health check interval.",
|
|
1731
|
+
health_check_interval_jitter: "A uniform random delay to be added to health check interval, so that Actions and Sources from the same Connector start their health checks at different instants.",
|
|
1719
1732
|
inflight_window: "Query inflight window. When query_mode is set to async, this config has to be set to 1 if messages from the same MQTT client have to be strictly ordered.",
|
|
1720
1733
|
query_mode: "Query mode. Optional 'sync/async', default 'async'.",
|
|
1721
1734
|
request_ttl: "Starting from the moment when the request enters the buffer, if the request remains in the buffer for the specified time or is sent but does not receive a response or acknowledgement in time, the request is considered expired.",
|
|
@@ -2069,7 +2082,8 @@ This value is to specify the size of each on-disk buffer file.`,
|
|
|
2069
2082
|
server: "The IPv4 or IPv6 address or the hostname to connect to. A host entry has the following form: `Host[:Port]`.",
|
|
2070
2083
|
dbname: "GreptimeDB database.",
|
|
2071
2084
|
precision: "GreptimeDB time precision.",
|
|
2072
|
-
write_syntax: "Conf of GreptimeDB gRPC protocol to write data points. Write syntax is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point, and placeholder supported, which is the same as InfluxDB line protocol.\nSee also [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) and\n[InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) <br/>\nTLDR:<br/>\n```\n<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]\n```\nPlease note that a placeholder for an integer value must be annotated with a suffix `i`. For example `${'{'}payload.int_value{'}'}i`."
|
|
2085
|
+
write_syntax: "Conf of GreptimeDB gRPC protocol to write data points. Write syntax is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point, and placeholder supported, which is the same as InfluxDB line protocol.\nSee also [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) and\n[InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) <br/>\nTLDR:<br/>\n```\n<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]\n```\nPlease note that a placeholder for an integer value must be annotated with a suffix `i`. For example `${'{'}payload.int_value{'}'}i`.",
|
|
2086
|
+
ttl: "The time-to-live setting for automatically created tables in GreptimeDB."
|
|
2073
2087
|
},
|
|
2074
2088
|
syskeeper_proxy: {
|
|
2075
2089
|
listen: "The listening address for this Syskeeper proxy server",
|
|
@@ -2373,7 +2387,16 @@ Default: 1, i.e., the primary shard.`,
|
|
|
2373
2387
|
password: "Password",
|
|
2374
2388
|
cancel: "Cancel",
|
|
2375
2389
|
back: "Back",
|
|
2376
|
-
generate: "Generate"
|
|
2390
|
+
generate: "Generate",
|
|
2391
|
+
field: "Field",
|
|
2392
|
+
pleaseChoose: "Required",
|
|
2393
|
+
pleaseEnter: "Required",
|
|
2394
|
+
add: "Add",
|
|
2395
|
+
actions: "Actions",
|
|
2396
|
+
transform: "Transform",
|
|
2397
|
+
alias: "Alias",
|
|
2398
|
+
name: "Name",
|
|
2399
|
+
colon: ": "
|
|
2377
2400
|
}, h = {
|
|
2378
2401
|
access: "是否允许",
|
|
2379
2402
|
topic: "主题",
|
|
@@ -2381,7 +2404,16 @@ Default: 1, i.e., the primary shard.`,
|
|
|
2381
2404
|
password: "密码",
|
|
2382
2405
|
cancel: "取消",
|
|
2383
2406
|
back: "返回",
|
|
2384
|
-
generate: "生成"
|
|
2407
|
+
generate: "生成",
|
|
2408
|
+
field: "字段",
|
|
2409
|
+
pleaseChoose: "请选择",
|
|
2410
|
+
pleaseEnter: "请输入",
|
|
2411
|
+
add: "添加",
|
|
2412
|
+
actions: "操作",
|
|
2413
|
+
transform: "转换",
|
|
2414
|
+
alias: "别名",
|
|
2415
|
+
name: "名称",
|
|
2416
|
+
colon: ":"
|
|
2385
2417
|
}, _ = {
|
|
2386
2418
|
access: "許可/拒否",
|
|
2387
2419
|
topic: "トピック",
|
|
@@ -2389,7 +2421,16 @@ Default: 1, i.e., the primary shard.`,
|
|
|
2389
2421
|
password: "パスワード",
|
|
2390
2422
|
cancel: "キャンセル",
|
|
2391
2423
|
back: "戻り",
|
|
2392
|
-
generate: "生成"
|
|
2424
|
+
generate: "生成",
|
|
2425
|
+
field: "フィールド",
|
|
2426
|
+
pleaseChoose: "選択してください",
|
|
2427
|
+
pleaseEnter: "入力してください",
|
|
2428
|
+
add: "追加",
|
|
2429
|
+
actions: "操作",
|
|
2430
|
+
transform: "変換",
|
|
2431
|
+
alias: "エイリアス",
|
|
2432
|
+
name: "名称",
|
|
2433
|
+
colon: ":"
|
|
2393
2434
|
}, f = {
|
|
2394
2435
|
mathFunc: "Mathematical Functions",
|
|
2395
2436
|
dataTypeJudgmentFunc: "Data Type Judgment Functions",
|
|
@@ -2447,7 +2488,12 @@ Default: 1, i.e., the primary shard.`,
|
|
|
2447
2488
|
Endian: "Endian",
|
|
2448
2489
|
SchemaName: "Schema",
|
|
2449
2490
|
Data: "Data",
|
|
2450
|
-
Type: "Message Type"
|
|
2491
|
+
Type: "Message Type",
|
|
2492
|
+
aliasDesc: "If the alias contains characters other than letters, numbers, and underscores, or starts with a number, or is a SQL keyword, please add double quotes to the alias",
|
|
2493
|
+
inputFieldRequiredError: "{name} is required",
|
|
2494
|
+
unusedField: "Unused field",
|
|
2495
|
+
aliasRequired: "Need to specify an alias",
|
|
2496
|
+
aliasFormatError: "Invalid alias format"
|
|
2451
2497
|
}, b = {
|
|
2452
2498
|
mathFunc: "数学函数",
|
|
2453
2499
|
dataTypeJudgmentFunc: "数据类型判断函数",
|
|
@@ -2505,7 +2551,12 @@ Default: 1, i.e., the primary shard.`,
|
|
|
2505
2551
|
Endian: "字节序",
|
|
2506
2552
|
SchemaName: "Schema",
|
|
2507
2553
|
Data: "数据",
|
|
2508
|
-
Type: "消息类型"
|
|
2554
|
+
Type: "消息类型",
|
|
2555
|
+
aliasDesc: "别名如包含除字母、数字和下划线以外的字符,或以数字开头,或为 SQL 关键字时,请为别名加上双引号",
|
|
2556
|
+
inputFieldRequiredError: "请输入{name}",
|
|
2557
|
+
unusedField: "未被使用的字段",
|
|
2558
|
+
aliasRequired: "需指定一个别名",
|
|
2559
|
+
aliasFormatError: "格式错误的别名"
|
|
2509
2560
|
}, g = {
|
|
2510
2561
|
mathFunc: "数学関数",
|
|
2511
2562
|
dataTypeJudgmentFunc: "データ型判定関数",
|
|
@@ -2563,7 +2614,12 @@ Default: 1, i.e., the primary shard.`,
|
|
|
2563
2614
|
Endian: "エンディアン",
|
|
2564
2615
|
SchemaName: "スキーマ",
|
|
2565
2616
|
Data: "データ",
|
|
2566
|
-
Type: "メッセージタイプ"
|
|
2617
|
+
Type: "メッセージタイプ",
|
|
2618
|
+
aliasDesc: "エイリアスに英数字とアンダースコア以外の文字が含まれる場合、数字で始まる場合、または SQL キーワードの場合は、エイリアスを二重引用符で囲んでください",
|
|
2619
|
+
inputFieldRequiredError: "{name} は必須項目です",
|
|
2620
|
+
unusedField: "未使用のフィールド",
|
|
2621
|
+
aliasRequired: "エイリアスを指定する必要があります",
|
|
2622
|
+
aliasFormatError: "エイリアスの形式が正しくありません"
|
|
2567
2623
|
}, y = {
|
|
2568
2624
|
generateSQLByAIBtn: "SQL Generator",
|
|
2569
2625
|
generateSQLWithAI: "Generate SQL with AI",
|
|
@@ -2609,25 +2665,219 @@ Default: 1, i.e., the primary shard.`,
|
|
|
2609
2665
|
applySQL: "SQL を適用",
|
|
2610
2666
|
generatedSQLOutputTitle: "生成された SQL",
|
|
2611
2667
|
generatedSQLOutputDesc: "AI が生成した SQL を確認してください。直接適用することも、説明を修正して再生成することもできます。"
|
|
2668
|
+
}, T = {
|
|
2669
|
+
systemTitle: "Log Analysis AI Assistant",
|
|
2670
|
+
noMCPServers: "No MCP server is available, please configure the MCP server gateway.",
|
|
2671
|
+
configMCPServerGateway: "Configure MCP Server Gateway",
|
|
2672
|
+
mcpServerGatewayConfigs: "MCP Server Gateway Configurations",
|
|
2673
|
+
cancel: "Cancel",
|
|
2674
|
+
save: "Save",
|
|
2675
|
+
mqttHost: "MQTT Host",
|
|
2676
|
+
mqttPort: "MQTT Port",
|
|
2677
|
+
mqttUsername: "MQTT Username",
|
|
2678
|
+
mqttPassword: "MQTT Password",
|
|
2679
|
+
mqttClientId: "MQTT Client ID",
|
|
2680
|
+
mqttAppId: "MQTT App ID",
|
|
2681
|
+
saveSuccess: "Saved successfully",
|
|
2682
|
+
parseUserIntention: "Parse User Intention",
|
|
2683
|
+
loadLogEntries: "Load Log Entries",
|
|
2684
|
+
generalConversation: "General Conversation",
|
|
2685
|
+
extractAndExplainLogEntries: "Extract and Explain Log Entries",
|
|
2686
|
+
queryEmqxContext: "Query EMQX Context",
|
|
2687
|
+
genAnalysisReport: "Generate Analysis Report",
|
|
2688
|
+
completeReport: "Complete Report",
|
|
2689
|
+
funcCall: "Function Call",
|
|
2690
|
+
analysisResultTip: "The following is the report content:",
|
|
2691
|
+
responseConfirm: "Please confirm the result is ok?",
|
|
2692
|
+
yes: "Yes",
|
|
2693
|
+
no: "No",
|
|
2694
|
+
refreshConfirm: "There is a conversation in progress, confirm to clear the conversation and start a new one?",
|
|
2695
|
+
confirm: "Confirm",
|
|
2696
|
+
guidanceText: "Welcome to the Log Analysis AI Assistant. I will leverage technologies such as LLM and RAG,as well as utilize the MCP tool to query system status, to help you analyze EMQX-related logs and quickly identify and resolve issues. Here are some example questions you can ask,",
|
|
2697
|
+
querySample1: "Query the error/warning log messages from the past 5 minutes.",
|
|
2698
|
+
querySample2: "Query the latest 5 error/warning log messages.",
|
|
2699
|
+
querySample3: "Analyze log: ",
|
|
2700
|
+
noConfigStatus: "MCP server gateway not configured. Please configure the server gateway and connect to the server before proceeding with the analysis of server logs.",
|
|
2701
|
+
disconnectedStatus: "Cannot connect to your MCP servers, please check your settings or network.",
|
|
2702
|
+
selectServerRequired: "Please select the MCP server to connect.",
|
|
2703
|
+
funcName: "Function Name",
|
|
2704
|
+
funcArgs: "Function Arguments",
|
|
2705
|
+
funcOutput: "Function Output",
|
|
2706
|
+
permissionRequest: 'Tool "{tool}" requires permission to access system resources.',
|
|
2707
|
+
deny: "Deny",
|
|
2708
|
+
allowOnce: "Allow Once",
|
|
2709
|
+
allowAlways: "Allow Always",
|
|
2710
|
+
reportGenerationCompleted: "Report generation completed.",
|
|
2711
|
+
userCancelled: "User cancelled the operation."
|
|
2712
|
+
}, S = {
|
|
2713
|
+
systemTitle: "日志分析 AI 助手",
|
|
2714
|
+
noMCPServers: "暂无可用 MCP 服务器,请先配置 MCP 服务器网关。",
|
|
2715
|
+
configMCPServerGateway: "配置 MCP 服务器网关",
|
|
2716
|
+
mcpServerGatewayConfigs: "MCP 服务器网关配置",
|
|
2717
|
+
cancel: "取消",
|
|
2718
|
+
save: "保存",
|
|
2719
|
+
mqttHost: "MQTT 主机",
|
|
2720
|
+
mqttPort: "MQTT 端口",
|
|
2721
|
+
mqttUsername: "MQTT 用户名",
|
|
2722
|
+
mqttPassword: "MQTT 密码",
|
|
2723
|
+
mqttClientId: "MQTT 客户端 ID",
|
|
2724
|
+
mqttAppId: "MQTT 应用 ID",
|
|
2725
|
+
saveSuccess: "保存成功",
|
|
2726
|
+
parseUserIntention: "分析用户意图",
|
|
2727
|
+
loadLogEntries: "加载日志条目",
|
|
2728
|
+
generalConversation: "通用对话",
|
|
2729
|
+
extractAndExplainLogEntries: "查找并解释日志数据",
|
|
2730
|
+
queryEmqxContext: "查询 EMQX 上下文",
|
|
2731
|
+
genAnalysisReport: "生成分析报告",
|
|
2732
|
+
completeReport: "完成报告",
|
|
2733
|
+
funcCall: "函数调用",
|
|
2734
|
+
analysisResultTip: "以下是报告内容:",
|
|
2735
|
+
responseConfirm: "请确认结果是否正确?",
|
|
2736
|
+
yes: "正确",
|
|
2737
|
+
no: "不正确",
|
|
2738
|
+
refreshConfirm: "当前页面有正在进行的对话,是否确认清空记录并开始新的对话?",
|
|
2739
|
+
confirm: "确认",
|
|
2740
|
+
guidanceText: "欢迎使用日志分析 AI 助手。我将利用 LLM 和 RAG 等技术,以及 MCP 工具查询系统状态,帮助您分析 EMQX 相关日志并快速识别和解决问题。以下是一些您可以询问的问题:",
|
|
2741
|
+
querySample1: "查询过去 5 分钟内的错误/警告日志消息。",
|
|
2742
|
+
querySample2: "查询最新的 5 条错误/警告日志消息。",
|
|
2743
|
+
querySample3: "分析日志:",
|
|
2744
|
+
noConfigStatus: "未配置 MCP 服务器网关,如需分析服务器日志,请先配置服务器网关,并连接服务器后再进行操作。",
|
|
2745
|
+
disconnectedStatus: "无法连接到 MCP 服务器,请检查您的设置或网络。",
|
|
2746
|
+
selectServerRequired: "请选择需要连接的 MCP 服务器。",
|
|
2747
|
+
funcName: "函数名称",
|
|
2748
|
+
funcArgs: "函数参数",
|
|
2749
|
+
funcOutput: "函数输出",
|
|
2750
|
+
permissionRequest: '工具 "{tool}" 需要权限访问系统资源。',
|
|
2751
|
+
deny: "拒绝",
|
|
2752
|
+
allowOnce: "允许一次",
|
|
2753
|
+
allowAlways: "始终允许",
|
|
2754
|
+
reportGenerationCompleted: "报告生成完成。",
|
|
2755
|
+
userCancelled: "用户取消操作。"
|
|
2756
|
+
}, w = {
|
|
2757
|
+
guideSourceNodeLabel: "Source",
|
|
2758
|
+
guideSourceNodeDesc: "拖拽多个节点以选择消息与事件输入",
|
|
2759
|
+
guideProcessingNodeLabel: "Processing(可选)",
|
|
2760
|
+
guideProcessingNodeDesc: "拖拽节点以处理和过滤数据",
|
|
2761
|
+
guideSinkNodeLabel: "Sink",
|
|
2762
|
+
guideSinkNodeDesc: "拖拽多个节点以输出数据到外部数据集成",
|
|
2763
|
+
guideFallbackNodeLabel: "Fallback(可选)",
|
|
2764
|
+
guideFallbackNodeDesc: "拖拽节点以作为备选动作",
|
|
2765
|
+
actionAvailable: "可用",
|
|
2766
|
+
actionUnavailable: "不可用",
|
|
2767
|
+
connecting: "连接中",
|
|
2768
|
+
inconsistent: "集群中各节点不一致",
|
|
2769
|
+
disconnected: "已断开",
|
|
2770
|
+
message: "消息",
|
|
2771
|
+
event: "事件",
|
|
2772
|
+
dataProcessing: "数据处理",
|
|
2773
|
+
filter: "过滤器",
|
|
2774
|
+
consoleOutput: "控制台输出",
|
|
2775
|
+
republish: "消息重发布",
|
|
2776
|
+
condition: "个条件",
|
|
2777
|
+
systemPrompt: "系统消息",
|
|
2778
|
+
consoleFallbackWrong: "Console 不可作为备选动作",
|
|
2779
|
+
incorrectConnection: "错误的连线",
|
|
2780
|
+
filterFunctionsWrongOrder: "函数节点必须放置在过滤器节点之前,请调整节点位置。",
|
|
2781
|
+
flowEmptyError: "无法保存,Flow 中需要有至少一个 Sink 节点和一个 Source 节点",
|
|
2782
|
+
flowIntegrityError: "无法保存,Flow 中需要有至少一个 {missing} 节点",
|
|
2783
|
+
isolatedNodeError: "Flow 中有未连接的节点,请先连接或将其删除|Flow 中有未连接的节点,请先连接或将其删除",
|
|
2784
|
+
multipleFlowError: "每次仅允许创建一个 Flow",
|
|
2785
|
+
multipleFallbackWrong: "Flow 暂不支持编辑多层级备选动作",
|
|
2786
|
+
incorrectInputOutputConnection: "请确认所有 Source 节点均正确连接到同一数据处理节点",
|
|
2787
|
+
incorrectOutputNodeConnection: "请确认所有 Sink 节点均由同一数据处理节点输出",
|
|
2788
|
+
incorrectDefaultNodeConnection: "请确认所有数据处理节点均按照顺序首尾相连"
|
|
2789
|
+
}, P = {
|
|
2790
|
+
guideSourceNodeLabel: "Source",
|
|
2791
|
+
guideSourceNodeDesc: "Drag in multiple nodes to select message and event inputs",
|
|
2792
|
+
guideProcessingNodeLabel: "Processing (optional)",
|
|
2793
|
+
guideProcessingNodeDesc: "Drag nodes to transform and filter data",
|
|
2794
|
+
guideSinkNodeLabel: "Sink",
|
|
2795
|
+
guideSinkNodeDesc: "Drag in multiple nodes to output data to external integrations",
|
|
2796
|
+
guideFallbackNodeLabel: "Fallback (optional)",
|
|
2797
|
+
guideFallbackNodeDesc: "Drag nodes as fallback actions",
|
|
2798
|
+
actionAvailable: "Available",
|
|
2799
|
+
actionUnavailable: "Unavailable",
|
|
2800
|
+
connecting: "Connecting",
|
|
2801
|
+
inconsistent: "Inconsistent for nodes in the cluster",
|
|
2802
|
+
disconnected: "Disconnected",
|
|
2803
|
+
message: "Message",
|
|
2804
|
+
event: "Event",
|
|
2805
|
+
dataProcessing: "Data Processing",
|
|
2806
|
+
filter: "Filter",
|
|
2807
|
+
consoleOutput: "Console Output",
|
|
2808
|
+
republish: "Republish",
|
|
2809
|
+
condition: "condition | conditions",
|
|
2810
|
+
systemPrompt: "System Message",
|
|
2811
|
+
consoleFallbackWrong: "Console cannot be used as a fallback action",
|
|
2812
|
+
incorrectConnection: "Incorrect connection",
|
|
2813
|
+
filterFunctionsWrongOrder: "Function nodes must be placed before filter nodes. Please adjust node positions.",
|
|
2814
|
+
flowEmptyError: "Unable to save, there must be at least one Sink node and one Source node in the Flow",
|
|
2815
|
+
flowIntegrityError: "Unable to save, at least one {missing} node is required in the Flow",
|
|
2816
|
+
isolatedNodeError: "There are unconnected node in the flow. Please connect or delete them.|There are unconnected nodes in the flow. Please connect or delete them.",
|
|
2817
|
+
multipleFlowError: "Only one flow can be created at a time",
|
|
2818
|
+
multipleFallbackWrong: "Flow does not support editing multi-level fallback actions",
|
|
2819
|
+
incorrectInputOutputConnection: "Please confirm that all source nodes are correctly connected to the same data processing node",
|
|
2820
|
+
incorrectOutputNodeConnection: "Please confirm that all sink nodes are output from the same data processing node",
|
|
2821
|
+
incorrectDefaultNodeConnection: "Please confirm that all data processing nodes are connected in sequence from start to end"
|
|
2822
|
+
}, x = {
|
|
2823
|
+
guideSourceNodeLabel: "ソース",
|
|
2824
|
+
guideSourceNodeDesc: "複数のノードをドラッグしてメッセージとイベント入力を選択",
|
|
2825
|
+
guideProcessingNodeLabel: "処理(任意)",
|
|
2826
|
+
guideProcessingNodeDesc: "ノードをドラッグしてデータを変換・フィルター",
|
|
2827
|
+
guideSinkNodeLabel: "シンク",
|
|
2828
|
+
guideSinkNodeDesc: "複数のノードをドラッグして外部連携にデータを出力",
|
|
2829
|
+
guideFallbackNodeLabel: "フォールバック(任意)",
|
|
2830
|
+
guideFallbackNodeDesc: "ノードをドラッグしてフォールバックアクションとして設定します",
|
|
2831
|
+
actionAvailable: "利用可能",
|
|
2832
|
+
actionUnavailable: "利用不可",
|
|
2833
|
+
connecting: "接続中",
|
|
2834
|
+
inconsistent: "クラスタ内のノードで不一致",
|
|
2835
|
+
disconnected: "切断",
|
|
2836
|
+
message: "メッセージ",
|
|
2837
|
+
event: "イベント",
|
|
2838
|
+
dataProcessing: "データ処理",
|
|
2839
|
+
filter: "フィルター",
|
|
2840
|
+
consoleOutput: "Console Output",
|
|
2841
|
+
// TODO: ja
|
|
2842
|
+
republish: "再パブリッシュ(Republish)",
|
|
2843
|
+
condition: "条件",
|
|
2844
|
+
systemPrompt: "システムメッセージ",
|
|
2845
|
+
consoleFallbackWrong: "Console cannot be used as a fallback action",
|
|
2846
|
+
// TODO: ja
|
|
2847
|
+
incorrectConnection: "不正な接続",
|
|
2848
|
+
filterFunctionsWrongOrder: "関数ノードはフィルターノードより前に配置する必要があります。ノードの位置を調整してください。",
|
|
2849
|
+
flowEmptyError: "保存できません。フローには少なくとも1つのシンクノードと1つのソースノードが必要です。",
|
|
2850
|
+
flowIntegrityError: "保存できません。フローには少なくとも 1 つの{missing}ノードが必要です。",
|
|
2851
|
+
isolatedNodeError: "フローに未接続のノードがあります。接続するか削除してください。",
|
|
2852
|
+
multipleFlowError: "一度に作成できるフローは1つだけです。",
|
|
2853
|
+
multipleFallbackWrong: "フローは多段階のフォールバックアクションの編集をサポートしていません",
|
|
2854
|
+
incorrectInputOutputConnection: "すべてのソースノードが同じデータ処理ノードに正しく接続されていることを確認してください",
|
|
2855
|
+
incorrectOutputNodeConnection: "すべてのシンクノードが同じデータ処理ノードから出力されていることを確認してください",
|
|
2856
|
+
incorrectDefaultNodeConnection: "すべてのデータ処理ノードが開始から終了まで順に接続されていることを確認してください"
|
|
2612
2857
|
};
|
|
2613
2858
|
export {
|
|
2614
2859
|
e as SQLTemplates,
|
|
2615
2860
|
s as authHelpCodeMap,
|
|
2616
2861
|
t as enActionsLabel,
|
|
2862
|
+
T as enAiLog,
|
|
2617
2863
|
p as enCommon,
|
|
2618
2864
|
o as enConnectorsLabel,
|
|
2865
|
+
P as enFlow,
|
|
2619
2866
|
l as enIntegrationDesc,
|
|
2620
2867
|
f as enRuleFunction,
|
|
2621
2868
|
y as enRuleSQL,
|
|
2622
2869
|
d as enStreaming,
|
|
2623
2870
|
i as enSymbolLabel,
|
|
2624
2871
|
_ as jaCommon,
|
|
2872
|
+
x as jaFlow,
|
|
2625
2873
|
g as jaRuleFunction,
|
|
2626
2874
|
k as jaRuleSQL,
|
|
2627
2875
|
u as jaStreaming,
|
|
2628
2876
|
a as zhActionsLabel,
|
|
2877
|
+
S as zhAiLog,
|
|
2629
2878
|
h as zhCommon,
|
|
2630
2879
|
r as zhConnectorsLabel,
|
|
2880
|
+
w as zhFlow,
|
|
2631
2881
|
c as zhIntegrationDesc,
|
|
2632
2882
|
b as zhRuleFunction,
|
|
2633
2883
|
v as zhRuleSQL,
|