Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(i18n): adapt token in tdengine #94

Merged
merged 2 commits into from
Mar 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/i18n/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @emqx/shared-ui-i18n

## 0.0.40

### Patch Changes

- New config in TDEngine connector

## 0.0.39

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/lib/enConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
disable_prepared_statements: 'Disable Prepared Statements',
health_check_topic: 'Health Check Topic',
max_inactive: 'Max Inactive',
token: 'Token',
},
kafka_producer: {
kerberos_principal: 'Kerberos Principal',
Expand Down Expand Up @@ -80,7 +81,6 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
parameters: 'Version of InfluxDB',
bucket: 'Bucket',
org: 'Organization',
token: 'Token',
},
iotdb: {
base_url: 'IoTDB REST Service Base URL',
Expand Down
2 changes: 2 additions & 0 deletions packages/i18n/lib/enIntegrationDesc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
server:
'The IPv4 or IPv6 address or the hostname to connect to.<br/>A host entry has the following form: `Host[:Port]`.<br/>The TDengine default port 6041 is used if `[:Port]` is not specified.',
sql: 'SQL Template',
token:
'The token used when connecting to TDengine Cloud. <br/>If this value is provided, it will override the authentication method of Username and Password.',
},
sqlserver: {
server:
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/lib/zhConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
disable_prepared_statements: '禁用预处理语句',
health_check_topic: '健康检查主题',
max_inactive: '最大空闲时间',
token: 'Token',
},
kafka_producer: {
kerberos_principal: 'Kerberos Principal',
Expand Down Expand Up @@ -80,7 +81,6 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
parameters: 'InfluxDB 版本',
bucket: 'Bucket',
org: '组织',
token: 'Token',
},
iotdb: {
base_url: 'IoTDB REST 服务基础 URL',
Expand Down
2 changes: 2 additions & 0 deletions packages/i18n/lib/zhIntegrationDesc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
server:
'将要连接的 IPv4 或 IPv6 地址,或者主机名。<br/>主机名具有以下形式:`Host[:Port]`。<br/>如果未指定 `[:Port]`,则使用 TDengine 默认端口 6041。',
sql: 'SQL 模板',
token:
'连接到 TDengine Cloud 时使用的令牌。<br/>如果提供了令牌,它将覆盖用户名和密码的认证方式。',
},
sqlserver: {
server:
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emqx/shared-ui-i18n",
"version": "0.0.39",
"version": "0.0.40",
"homepage": "https://emqx.io",
"license": "Apache-2.0",
"repository": {
Expand Down