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

[INLONG-6930][Dashboard]Create a new cluster token placeholder configuration i18n #6932

Merged
merged 1 commit into from
Dec 19, 2022
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
1 change: 1 addition & 0 deletions inlong-dashboard/src/locales/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@
"pages.Clusters.Node.PortRule": "请输入正确的端口",
"pages.Clusters.Node.ProtocolTypeRule": "请输入正确的协议类型",
"pages.Clusters.Pulsar.Tenant": "默认租户",
"pages.Clusters.Pulsar.TokenPlaceholder": "如果群集配置了令牌,则为必需",
"pages.Clusters.Kafka.ClusterUrl": "集群 URL",
"pages.Clusters.Pulsar.ServiceUrlHelper": "用于生产和消费数据",
"pages.Clusters.Pulsar.AdminUrlHelper": "用于管理(如:创建、修改)租户、命名空间、Topic 和订阅组",
Expand Down
1 change: 1 addition & 0 deletions inlong-dashboard/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@
"pages.Clusters.Node.PortRule": "Please enter the port address correctly",
"pages.Clusters.Node.ProtocolTypeRule": "Please enter the protocol type correctly",
"pages.Clusters.Pulsar.Tenant": "Default Tenant",
"pages.Clusters.Pulsar.TokenPlaceholder": "Required if the cluster is configured with Token",
"pages.Clusters.Kafka.ClusterUrl": "Cluster URL",
"pages.Clusters.Pulsar.ServiceUrlHelper": "For producing and consuming data",
"pages.Clusters.Pulsar.AdminUrlHelper": "Used to manage (e.g. create, modify) tenants, namespaces, topics and subscription groups",
Expand Down
2 changes: 1 addition & 1 deletion inlong-dashboard/src/metas/clusters/defaults/Pulsar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class PulsarCluster
@FieldDecorator({
type: 'input',
props: {
placeholder: 'Required if the cluster is configured with Token',
placeholder: i18n.t('pages.Clusters.Pulsar.TokenPlaceholder'),
},
})
@I18n('Token')
Expand Down