diff --git a/src/utils/language.js b/src/utils/language.js index 3028c78..82f5456 100644 --- a/src/utils/language.js +++ b/src/utils/language.js @@ -59,6 +59,12 @@ export function lang() { reset_settings: '恭喜! 个性化设置成功', reset_pwd_failed: '密码不能为空', reset_pwd_successful: '恭喜! 新的密码已经应用' + }, + reset_dialog: { + title: '警告', + content: '该操作不可复原,是否继续', + confirm: '继续', + cancel: '取消' } }, EN: { @@ -79,6 +85,12 @@ export function lang() { reset_settings: 'Congratulations! Reset settings completed', reset_pwd_failed: 'Password can not be none', reset_pwd_successful: 'Congratulations! New password set up successfully' + }, + reset_dialog: { + title: 'Warning', + content: 'This operation cannot be undone, whether to continue', + confirm: 'Continue', + cancel: 'Cancel' } } }, @@ -282,6 +294,14 @@ export function lang() { CHS:{ title: '更新日志', timeline: [ + { + label: '设置中的重置功能优化', + tag:'功能更新', + content: [ + '所有重置操作之前会进行弹窗提醒,防止误操作', + '2020-03-08' + ] + }, { label: '设置中的重置主密码功能启用', tag:'功能更新', @@ -383,6 +403,14 @@ export function lang() { EN:{ title: 'Update Log', timeline: [ + { + label: 'Optimization of reset function in settings', + tag:'Feature update', + content: [ + 'Pop-up window reminder before all reset operations to prevent misoperation', + '2020-03-08' + ] + }, { label: 'The reset master password function is enabled in the settings', tag:'Feature update', diff --git a/src/views/Settings/Settings.vue b/src/views/Settings/Settings.vue index 779e609..59752d2 100644 --- a/src/views/Settings/Settings.vue +++ b/src/views/Settings/Settings.vue @@ -13,19 +13,19 @@