diff --git a/packages/i18n/CHANGELOG.md b/packages/i18n/CHANGELOG.md index b9861a0..c63f4e6 100644 --- a/packages/i18n/CHANGELOG.md +++ b/packages/i18n/CHANGELOG.md @@ -1,5 +1,11 @@ # @emqx/shared-ui-i18n +## 0.0.17 + +### Patch Changes + +- Adapt new fields in RocketMQ & Dynamo + ## 0.0.16 ### Patch Changes diff --git a/packages/i18n/lib/enActionsLabel.ts b/packages/i18n/lib/enActionsLabel.ts index 549ba61..47375c7 100644 --- a/packages/i18n/lib/enActionsLabel.ts +++ b/packages/i18n/lib/enActionsLabel.ts @@ -178,6 +178,7 @@ export const enActionsLabel: Record> = { refresh_interval: 'Topic Route Refresh Interval', send_buffer: 'Send Buffer Size', sync_timeout: 'Sync Timeout', + strategy: 'Produce Strategy', }, clickhouse: { batch_value_separator: 'Batch Value Separator', @@ -190,5 +191,7 @@ export const enActionsLabel: Record> = { }, dynamo: { table: 'Table ', + hash_key: 'Hash Key', + range_key: 'Range Key', }, } diff --git a/packages/i18n/lib/enConnectorsLabel.ts b/packages/i18n/lib/enConnectorsLabel.ts index f179002..2812eba 100644 --- a/packages/i18n/lib/enConnectorsLabel.ts +++ b/packages/i18n/lib/enConnectorsLabel.ts @@ -110,6 +110,7 @@ export const enConnectorsLabel: Record> = { url: 'DynamoDB Endpoint', aws_access_key_id: 'AWS Access Key ID', aws_secret_access_key: 'AWS Secret Access Key', + region: 'DynamoDB Region', }, gcp_pubsub_consumer: { pipelining: 'HTTP Pipelining', @@ -128,6 +129,7 @@ export const enConnectorsLabel: Record> = { access_key: 'AccessKey', secret_key: 'SecretKey', security_token: 'Security Token', + namespace: 'Namespace', }, sqlserver: { driver: 'SQL Server Driver Name', diff --git a/packages/i18n/lib/enIntegrationDesc.ts b/packages/i18n/lib/enIntegrationDesc.ts index 43ecc8f..007ab62 100644 --- a/packages/i18n/lib/enIntegrationDesc.ts +++ b/packages/i18n/lib/enIntegrationDesc.ts @@ -74,6 +74,7 @@ export const enIntegrationDesc: Record> = { table: 'DynamoDB Table.', aws_access_key_id: 'Access Key ID for connecting to DynamoDB.', aws_secret_access_key: 'AWS Secret Access Key for connecting to DynamoDB.', + region: 'Region of the AWS dynamo', }, gcp_pubsub_producer: { pipelining: @@ -306,6 +307,10 @@ export const enIntegrationDesc: Record> = { template: "Template, the default value is empty. When this value is empty the whole message will be stored in the RocketMQ.
The template can be any valid string with placeholders, example:
- ${'{'}id{'}'}, ${'{'}username{'}'}, ${'{'}clientid{'}'}, ${'{'}timestamp{'}'}
- {'{'}\"id\" : ${'{'}id{'}'}, \"username\" : ${'{'}username{'}'}{'}'}", sync_timeout: 'Timeout of RocketMQ driver synchronous call.', + namespace: + 'The namespace field MUST be set if you are using the RocketMQ service in aliyun cloud and also the namespace is enabled, or if you have configured a namespace in your RocketMQ server. For RocketMQ in aliyun cloud, the namespace is the instance ID.', + strategy: + 'Produce Strategy. NOTE: Do not use `key_dispatch` if `Message Key` option is set to `none`', }, tdengine: { server: diff --git a/packages/i18n/lib/zhActionsLabel.ts b/packages/i18n/lib/zhActionsLabel.ts index 1652d0d..f8d3dbb 100644 --- a/packages/i18n/lib/zhActionsLabel.ts +++ b/packages/i18n/lib/zhActionsLabel.ts @@ -178,6 +178,7 @@ export const zhActionsLabel: Record> = { refresh_interval: '主题路由更新间隔', send_buffer: '发送消息的缓冲区大小', sync_timeout: '同步调用超时时间', + strategy: 'Produce 策略', }, clickhouse: { batch_value_separator: '分隔符', @@ -190,5 +191,7 @@ export const zhActionsLabel: Record> = { }, dynamo: { table: '表', + hash_key: '哈希键', + range_key: '范围键', }, } diff --git a/packages/i18n/lib/zhConnectorsLabel.ts b/packages/i18n/lib/zhConnectorsLabel.ts index e1fdf83..470a11a 100644 --- a/packages/i18n/lib/zhConnectorsLabel.ts +++ b/packages/i18n/lib/zhConnectorsLabel.ts @@ -110,6 +110,7 @@ export const zhConnectorsLabel: Record> = { url: 'DynamoDB 地址', aws_access_key_id: '连接访问 ID', aws_secret_access_key: '连接访问密钥', + region: 'DynamoDB 区域', }, gcp_pubsub_consumer: { pipelining: 'HTTP 流水线', @@ -128,6 +129,7 @@ export const zhConnectorsLabel: Record> = { access_key: 'AccessKey', secret_key: 'SecretKey', security_token: '安全令牌', + namespace: '命名空间', }, sqlserver: { driver: 'SQL Server Driver 名称', diff --git a/packages/i18n/lib/zhIntegrationDesc.ts b/packages/i18n/lib/zhIntegrationDesc.ts index 8799e68..bf1cc72 100644 --- a/packages/i18n/lib/zhIntegrationDesc.ts +++ b/packages/i18n/lib/zhIntegrationDesc.ts @@ -67,6 +67,7 @@ export const zhIntegrationDesc: Record> = { table: 'DynamoDB 的表。', aws_access_key_id: 'DynamoDB 的访问 ID。', aws_secret_access_key: 'DynamoDB 的访问密钥。', + region: 'AWS DynamoDB 所在的区域', }, gcp_pubsub_producer: { pipelining: @@ -278,6 +279,9 @@ export const zhIntegrationDesc: Record> = { template: "模板, 默认为空,为空时将会将整个消息转发给 RocketMQ。
模板可以是任意带有占位符的合法字符串, 例如:
- ${'{'}id{'}'}, ${'{'}username{'}'}, ${'{'}clientid{'}'}, ${'{'}timestamp{'}'}
- {'{'}\"id\" : ${'{'}id{'}'}, \"username\" : ${'{'}username{'}'}{'}'}", sync_timeout: 'RocketMQ 驱动同步调用的超时时间。', + namespace: + '如果你正在使用阿里云的 RocketMQ 服务并且启用了命名空间,或者你在你自己的 RocketMQ 服务里配置了命名空间,那么你必须配置命名空间字段。对于阿里云的 RocketMQ 服务来说,命名空间就是实例 ID。', + strategy: 'Produce 策略,注意`Message Key`设置为`none`时,不可选用`key_dispatch`策略', }, tdengine: { server: diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 0470045..3e23a91 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@emqx/shared-ui-i18n", - "version": "0.0.16", + "version": "0.0.17", "homepage": "https://emqx.io", "license": "Apache-2.0", "repository": {