diff --git a/app/src/helpers/yunohostArguments.js b/app/src/helpers/yunohostArguments.js index f19ec8b6..0ba1d683 100644 --- a/app/src/helpers/yunohostArguments.js +++ b/app/src/helpers/yunohostArguments.js @@ -145,7 +145,7 @@ export function formatYunoHostArgument (arg) { props: defaultProps.concat(['type', 'autocomplete', 'trim']), callback: function () { if (!arg.help) { - arg.help = 'good_practices_about_admin_password' + arg.help = i18n.t('good_practices_about_admin_password') } arg.example = '••••••••••••' validation.passwordLenght = validators.minLength(8) diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index 242f63b7..6afc2c83 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -405,7 +405,6 @@ "restart": "Restart", "retry": "Retry", "human_routes": { - "adminpw": "Change admin password", "apps": { "action_config": "Run action '{action}' of app '{name}' configuration", "change_label": "Change label of '{prevName}' for '{nextName}'", @@ -514,9 +513,6 @@ "text_selection_is_disabled": "Text selection is disabled. If you want to share this log, please share the *full* log with the 'Share with Yunopaste' button.
Or if you really really want to select text, press these keys: ↓↓↑↑.", "tip_about_user_email": "Users are created with an associated email address (and XMPP account) with the format username@domain.tld. Additional email aliases and email forwards can later be added by the admin and the user.", "tools": "Tools", - "tools_adminpw": "Change administration password", - "tools_adminpw_current": "Current password", - "tools_adminpw_current_placeholder": "Enter your current password", "tools_reboot": "Reboot your server", "tools_reboot_btn": "Reboot", "tools_shutdown": "Shutdown your server", diff --git a/app/src/router/routes.js b/app/src/router/routes.js index 1fb7b81f..0cddd8f7 100644 --- a/app/src/router/routes.js +++ b/app/src/router/routes.js @@ -325,15 +325,6 @@ const routes = [ breadcrumb: ['tool-list', 'tool-firewall'] } }, - { - name: 'tool-adminpw', - path: '/tools/adminpw', - component: () => import(/* webpackChunkName: "views/tools/adminpw" */ '@/views/tool/ToolAdminpw'), - meta: { - args: { trad: 'tools_adminpw' }, - breadcrumb: ['tool-list', 'tool-adminpw'] - } - }, { name: 'tool-webadmin', path: '/tools/webadmin', diff --git a/app/src/views/tool/ToolAdminpw.vue b/app/src/views/tool/ToolAdminpw.vue deleted file mode 100644 index 14417d08..00000000 --- a/app/src/views/tool/ToolAdminpw.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/app/src/views/tool/ToolList.vue b/app/src/views/tool/ToolList.vue index 0b495e82..e326b5fd 100644 --- a/app/src/views/tool/ToolList.vue +++ b/app/src/views/tool/ToolList.vue @@ -24,7 +24,6 @@ export default { { routeName: 'tool-migrations', icon: 'share', translation: 'migrations' }, { routeName: 'service-list', icon: 'gears', translation: 'services' }, { routeName: 'tool-firewall', icon: 'shield', translation: 'firewall' }, - { routeName: 'tool-adminpw', icon: 'key-modern', translation: 'tools_adminpw' }, { routeName: 'tool-settings', icon: 'sliders', translation: 'tools_yunohost_settings' }, { routeName: 'tool-webadmin', icon: 'sliders', translation: 'tools_webadmin_settings' }, { routeName: 'tool-power', icon: 'power-off', translation: 'tools_shutdown_reboot' }