diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index c071601af..f830583cb 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -86,7 +86,7 @@ "AccountPushExecutionList": "Execution list", "AccountPushCreate": "Account push create", "AccountPushUpdate": "Account push update", - "AutoPushHelpText": "Please select an asset or node before setting it up", + "AutoPushHelpText": "The push parameter settings are currently only effective for assets with a platform type of host.", "AccountPushList": "Account push list" }, "AccountBackup": { diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index 71c90b4d6..fc9890b59 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -86,7 +86,7 @@ "AccountPushExecutionList": "実行リスト", "AccountPushCreate": "アカウントのプッシュ作成", "AccountPushUpdate": "アカウントプッシュ更新", - "AutoPushHelpText": "まず資産またはノードを選択して設定してください", + "AutoPushHelpText": "Pushパラメータの設定は、プラットフォームの種類がホストである資産に対してのみ有効です。", "AccountPushList": "アカウントプッシュ" }, "AccountBackup": { diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index 8be844475..28183aaed 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -21,7 +21,7 @@ "AccountPushList": "账号推送", "AccountPushCreate": "账号推送创建", "AccountPushUpdate": "账号推送更新", - "AutoPushHelpText": "请先选择资产或者节点再进行设置", + "AutoPushHelpText": "推送参数设置,目前仅对平台种类为主机的资产生效。", "AccountPushExecutionList": "执行列表" }, "AccountBackup": { diff --git a/src/views/accounts/AccountPush/AccountAutoPush.vue b/src/views/accounts/AccountPush/AccountAutoPush.vue index 30563eab5..615b52469 100644 --- a/src/views/accounts/AccountPush/AccountAutoPush.vue +++ b/src/views/accounts/AccountPush/AccountAutoPush.vue @@ -12,7 +12,7 @@ v-if="visible" width="60%" :visible.sync="visible" - :title="$tc('assets.AutoPush')" + :title="title" :show-cancel="false" :show-confirm="false" :destroy-on-close="true" @@ -43,6 +43,12 @@ export default { type: Object, default: () => ({}) }, + title: { + type: String, + default: function() { + return this.$t('assets.PushParams') + } + }, assets: { type: Array, default: () => [] diff --git a/src/views/accounts/AccountPush/AccountPushCreateUpdate.vue b/src/views/accounts/AccountPush/AccountPushCreateUpdate.vue index ba84d311a..66d168151 100644 --- a/src/views/accounts/AccountPush/AccountPushCreateUpdate.vue +++ b/src/views/accounts/AccountPush/AccountPushCreateUpdate.vue @@ -97,7 +97,7 @@ export default { }, params: { component: AccountAutoPush, - label: this.$t('assets.AutoPush'), + label: this.$t('assets.PushParams'), el: { assets: this.asset_ids, nodes: this.node_ids