diff --git a/framework/core/js/src/admin/components/ExtensionPage.js b/framework/core/js/src/admin/components/ExtensionPage.js index dc18f0348..c4c43c342 100644 --- a/framework/core/js/src/admin/components/ExtensionPage.js +++ b/framework/core/js/src/admin/components/ExtensionPage.js @@ -141,8 +141,8 @@ export default class ExtensionPage extends AdminPage { items.add('version', {this.extension.version}); if (!this.isEnabled()) { - const uninstall = () => { - if (confirm(app.translator.trans('core.admin.extension.confirm_uninstall'))) { + const purge = () => { + if (confirm(app.translator.trans('core.admin.extension.confirm_purge'))) { app .request({ url: app.forum.attribute('apiUrl') + '/extensions/' + this.extension.id, @@ -154,10 +154,11 @@ export default class ExtensionPage extends AdminPage { } }; + // TODO v2.0: rename `uninstall` to `purge` items.add( 'uninstall', - ); } diff --git a/framework/core/locale/core.yml b/framework/core/locale/core.yml index 8b7e1c820..807679061 100644 --- a/framework/core/locale/core.yml +++ b/framework/core/locale/core.yml @@ -115,7 +115,7 @@ core: # These translations are used on default extension pages. extension: configure_scopes: Configure Scopes - confirm_uninstall: Uninstalling will remove all database entries and assets related to the extension. Are you sure you want to continue? + confirm_purge: Purging will remove all database entries and assets related to the extension. It will not uninstall the extension; that must be done via Composer. Are you sure you want to continue? disabled: Disabled enable_to_see: Enable the extension to view and change settings. enabled: Enabled @@ -130,7 +130,7 @@ core: no_settings: This extension has no settings. open_modal: Open Settings permissions_title: Permissions - uninstall_button: Uninstall + purge_button: Purge # These translations are used in the secondary header. header: