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): remove some useless label for type GCP Consumer #24

Merged
merged 3 commits into from
Feb 26, 2024
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
9 changes: 6 additions & 3 deletions packages/i18n/lib/enActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
ordering_key_template: 'Ordering Key template',
payload_template: 'Payload Template',
},
gcp_pubsub_consumer: {
topic: 'GCP PubSub Topic',
},
syskeeper_forwarder: {
target_topic: 'Topic',
target_qos: 'QoS',
Expand Down Expand Up @@ -117,9 +120,6 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
value: 'Value',
data: 'Write Data',
},
gcp_pubsub_consumer: {
payload_template: 'Payload Template',
},
hstreamdb: {
stream: 'Stream',
partition_key: 'Partition Key',
Expand Down Expand Up @@ -172,4 +172,7 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
content: 'Object Content',
key: 'Object Key',
},
dynamo: {
table: 'Table ',
},
}
16 changes: 6 additions & 10 deletions packages/i18n/lib/enConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,12 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
},
dynamo: {
url: 'DynamoDB Endpoint',
table: 'Table ',
aws_access_key_id: 'AWS Access Key ID',
aws_secret_access_key: 'AWS Secret Access Key',
},
gcp_pubsub_consumer: {
consumer_pubsub_topic: 'GCP PubSub Topic',
consumer_mqtt_topic: 'MQTT Topic',
consumer_qos: 'QoS',
pipelining: 'HTTP Pipelining',
service_account_json: 'GCP Service Account Credentials',
topic_mapping: 'Topic Mapping',
pull_max_messages: 'Maximum Messages to Pull',
},
hstreamdb: {
Expand Down Expand Up @@ -164,11 +159,12 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
retention_period: 'Retention Period',
send_buffer: 'Socket Send Buffer Size',
max_batch_bytes: 'Max Batch Bytes',
buffer_mode: 'Buffer Mode',
buffer_per_partition_limit: 'Per-partition Buffer Limit',
buffer_segment_bytes: 'Segment File Bytes',
buffer_memory_overload_protection: 'Memory Overload Protection',
authentication_jwt: 'JWT',
mode: 'Buffer Mode',
per_partition_limit: 'Per-partition Buffer Limit',
segment_bytes: 'Segment File Bytes',
memory_overload_protection: 'Memory Overload Protection',
jwt: 'JWT',
authentication: 'Authentication',
},
kinesis: {
aws_access_key_id: 'AWS Access Key ID',
Expand Down
9 changes: 6 additions & 3 deletions packages/i18n/lib/zhActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
ordering_key_template: '排序键模板',
payload_template: 'HTTP 请求消息体模板',
},
gcp_pubsub_consumer: {
topic: 'GCP PubSub 主题',
},
syskeeper_forwarder: {
target_topic: '主题',
target_qos: 'QoS',
Expand Down Expand Up @@ -117,9 +120,6 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
value: '值',
data: '写入数据',
},
gcp_pubsub_consumer: {
payload_template: 'HTTP 请求消息体模板',
},
hstreamdb: {
stream: 'Stream',
partition_key: '分区键',
Expand Down Expand Up @@ -172,4 +172,7 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
content: '对象内容',
key: '对象键',
},
dynamo: {
table: '表',
},
}
16 changes: 6 additions & 10 deletions packages/i18n/lib/zhConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,12 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
},
dynamo: {
url: 'DynamoDB 地址',
table: '表',
aws_access_key_id: '连接访问 ID',
aws_secret_access_key: '连接访问密钥',
},
gcp_pubsub_consumer: {
consumer_pubsub_topic: 'GCP PubSub 主题',
consumer_mqtt_topic: 'MQTT 主题',
consumer_qos: 'QoS',
pipelining: 'HTTP 流水线',
service_account_json: 'GCP 服务账户凭证',
topic_mapping: '主题映射',
pull_max_messages: '拉取的最大消息数',
},
hstreamdb: {
Expand Down Expand Up @@ -164,11 +159,12 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
retention_period: '保留期',
send_buffer: 'Socket 发送缓存大小',
max_batch_bytes: '最大批量字节数',
buffer_mode: '缓存模式',
buffer_per_partition_limit: 'Pulsar 分区缓存上限',
buffer_segment_bytes: '缓存文件大小',
buffer_memory_overload_protection: '内存过载保护',
authentication_jwt: 'JWT',
mode: '缓存模式',
per_partition_limit: 'Pulsar 分区缓存上限',
segment_bytes: '缓存文件大小',
memory_overload_protection: '内存过载保护',
jwt: 'JWT',
authentication: '认证',
},
kinesis: {
aws_access_key_id: 'AWS 访问密钥 ID',
Expand Down
Loading