Skip to content

Commit

Permalink
refactor(i18n): new fields in snowflake
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and ysfscream committed Sep 26, 2024
1 parent 84153b8 commit 44657fa
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/i18n/lib/enActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,8 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
stage: 'Stage',
pipe: 'Pipe',
pipe_user: 'Pipe User',
proxy: 'Proxy',
host: 'Proxy Host',
port: 'Proxy Port',
},
}
3 changes: 3 additions & 0 deletions packages/i18n/lib/enConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,8 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
snowflake: {
account: 'Account',
dsn: 'Data Source Name (DSN)',
proxy: 'Proxy',
host: 'Proxy Host',
port: 'Proxy Port',
},
}
1 change: 1 addition & 0 deletions packages/i18n/lib/enIntegrationDesc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,5 +537,6 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
pipe: "Name of the Pipe that'll be used to ingest data into the table.",
pipe_user:
'A username which has a role with permissions over the Pipe to be used. The minimum permissions are `operate` and `monitor`.',
proxy: 'Proxy configuration. Only HTTP proxies are currently supported (no HTTPS).',
},
}
2 changes: 2 additions & 0 deletions packages/i18n/lib/enSymbolLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,6 @@ export const enSymbolLabel: Record<string, string> = {
protocol_v3: 'v3',
influxdb_v1: 'InfluxDB Line Protocol',
aggregated: 'Aggregated Upload',
parameters_proxy_none: 'None',
parameters_proxy_proxy_config: 'Enable Proxy',
}
3 changes: 3 additions & 0 deletions packages/i18n/lib/zhActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,8 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
stage: '存储区',
pipe: '管道',
pipe_user: '管道用户',
proxy: '代理',
host: '代理主机',
port: '代理端口',
},
}
3 changes: 3 additions & 0 deletions packages/i18n/lib/zhConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,8 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
snowflake: {
account: '账户',
dsn: '数据源名称',
proxy: '代理',
host: '代理主机',
port: '代理端口',
},
}
1 change: 1 addition & 0 deletions packages/i18n/lib/zhIntegrationDesc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,5 +486,6 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
stage: '用于将数据文件加载到 Snowflake 的 Stage 名称。',
pipe: '用于将数据摄取到表中的 Pipe 名称。',
pipe_user: '具有使用 Pipe 权限的角色的用户名。最低要求的权限是`operate`和`monitor`。',
proxy: '代理配置。当前仅支持 HTTP 代理(不支持 HTTPS)。',
},
}
2 changes: 2 additions & 0 deletions packages/i18n/lib/zhSymbolLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,6 @@ export const zhSymbolLabel: Record<string, string> = {
protocol_v3: 'v3',
influxdb_v1: 'InfluxDB 行协议',
aggregated: '聚合上传',
parameters_proxy_none: '无',
parameters_proxy_proxy_config: '开启代理',
}

0 comments on commit 44657fa

Please sign in to comment.