diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index f0886560d..82ef69597 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -844,6 +844,8 @@ "TotalJobLog": "Total job log" }, "ops": { + "Save": "Save", + "Reset": "Reset", "SystemError": "System Error", "RunasHelpText": "Fill in the user name to run the script", "RunasPolicyHelpText": "Indicates the account selection strategy when there is no running user on the current asset", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index c0c6cb06f..04cbe9f2f 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -840,6 +840,8 @@ "Weekly": "週ごと" }, "ops": { + "Save": "保存#ホゾン#", + "Reset": "リストア", "SystemError": "システムエラー", "RunasHelpText": "スクリプトを実行するユーザー名を入力", "RunasPolicyHelpText": "現在の資産にこの実行ユーザーが存在しない場合にアカウント選択ポリシーを実行することを示します", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index 1a03ab0b5..5263b1b8a 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -839,6 +839,8 @@ "Weekly": "按周" }, "ops": { + "Save": "保存", + "Reset": "还原", "SystemError": "系统错误", "RunasHelpText": "填写运行脚本的用户名", "RunasPolicyHelpText": "表示当前资产上没此运行用户时,采取什么账号选择策略", diff --git a/src/views/ops/Template/Playbook/PlaybookDetail/Workspace.vue b/src/views/ops/Template/Playbook/PlaybookDetail/Workspace.vue index 27dd57294..b0e5a1e1d 100644 --- a/src/views/ops/Template/Playbook/PlaybookDetail/Workspace.vue +++ b/src/views/ops/Template/Playbook/PlaybookDetail/Workspace.vue @@ -78,6 +78,7 @@ export default { type: 'button', align: 'left', icon: 'fa fa-save', + tip: this.$tc('ops.Save'), el: { type: 'primary' }, @@ -88,7 +89,8 @@ export default { reset: { type: 'button', align: 'left', - icon: 'fa fa-refresh', + icon: 'fa fa-undo', + tip: this.$tc('ops.Reset'), el: { type: 'primary' },