Skip to content

Commit

Permalink
[INLONG-6929][Dashboard] Create a new cluster token placeholder confi…
Browse files Browse the repository at this point in the history
…guration i18n (apache#6930)
  • Loading branch information
kinfuy committed Dec 16, 2022
1 parent e72a19c commit 1be4a73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
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

0 comments on commit 1be4a73

Please sign in to comment.