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): update text in streaming #77

Merged
merged 1 commit into from
Dec 5, 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
2 changes: 1 addition & 1 deletion packages/i18n/lib/enStreaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const enStreaming = {
},
usernameRule: `Can contain letters, numbers and some special characters (_, -, /, +, #, $, %, {'@'}, & and .), up to 128 characters`,
aclDescription: `It refers to the permission control of the resources that Kafka clients can manipulate, including topics, consumer groups and clusters.
The default mode is blacklist, meaning that entries added to the list are filtered by the rule, while those not added are allowed by default.`,
The default mode is whitelist, meaning that entries added to the list are allowed through, while those not added are denied by default.`,
networkType: 'Network Type',
securityProtocol: 'Security Protocol',
metricTitleDic: {
Expand Down
3 changes: 2 additions & 1 deletion packages/i18n/lib/jaStreaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ export const jaStreaming = {
ALTER: '変更する',
},
usernameRule: `アルファベット、数字、「_」、「-」、「/」、「+」、「#」、「$」、「%」、「{'@'}」、「&」および「.」のみ使え、最長 128 文字です`,
aclDescription: `Kafka クライアントが操作できるリソース(トピック、コンシューマーグループ、クラスタなど)の権限制御を指します。デフォルトのモードはブラックリストであり、リストに追加されたエントリはルールによってフィルタリングされ、追加されていないものはデフォルトで許可されます。`,
// TODO: ja
aclDescription: `It refers to the permission control of the resources that Kafka clients can manipulate, including topics, consumer groups and clusters.
The default mode is whitelist, meaning that entries added to the list are allowed through, while those not added are denied by default.`,
networkType: 'Network Type',
securityProtocol: 'Security Protocol',
metricTitleDic: {
Expand Down
6 changes: 3 additions & 3 deletions packages/i18n/lib/zhStreaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const zhStreaming = {
'匹配主题过滤器的 MQTT 消息会被保存到对应的 Default 类型的 Stream 中。Free 类型的 Stream 不与 MQTT 主题过滤器关联。',
streamNameTip: 'Kafka 客户端看到的 Kafka Topic 的名称和 Stream 名称相同。',
retention: '保留天数',
consumerGroups: '消费者群组',
consumerGroups: '消费者组',
groupID: '组 ID',
streamNum: 'Stream 数量',
consumerNum: '消费者数量',
Expand Down Expand Up @@ -66,13 +66,13 @@ export const zhStreaming = {
},
usernameRule: `可包含字母、数字和部分特殊字符(_、-、/、+、#、$、%、{'@'}、& 和 .),最长 128 个字符`,
aclDescription:
'是指对 Kafka 客户端所能操作的资源,包括主题、消费者组和集群等的权限控制。采用黑名单模式,即对添加的条目进行特殊判断,没有添加则默认通过。',
'是指对 Kafka 客户端所能操作的资源,包括主题、消费者组和集群等的权限控制。采用白名单模式,即只有在白名单中的条目才能通过,未在白名单中的则默认被拒绝。',
networkType: '网络类型',
securityProtocol: '安全协议',
metricTitleDic: {
stream_count: 'Stream 数',
partition_count: '分区数',
group_count: '消费者群组数',
group_count: '消费者组数',
total_messages_in_rate: '消息流入速率',
total_messages_out_rate: '消息流出速率',
},
Expand Down
Loading