mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-01-03 14:20:43 +01:00
added missing uninstall strings
This commit is contained in:
@@ -792,9 +792,9 @@ class AdminController
|
||||
$result = \Grav\Plugin\Admin\Gpm::uninstall($package, []);
|
||||
|
||||
if ($result) {
|
||||
$this->admin->setMessage($this->admin->translate('PLUGIN_ADMIN.INSTALLATION_SUCCESSFUL'), 'info');
|
||||
$this->admin->setMessage($this->admin->translate('PLUGIN_ADMIN.UNINSTALL_SUCCESSFUL'), 'info');
|
||||
} else {
|
||||
$this->admin->setMessage($this->admin->translate('PLUGIN_ADMIN.INSTALLATION_FAILED'), 'error');
|
||||
$this->admin->setMessage($this->admin->translate('PLUGIN_ADMIN.UNINSTALL_FAILED'), 'error');
|
||||
}
|
||||
|
||||
$this->post = array('_redirect' => $this->view);
|
||||
|
||||
@@ -136,6 +136,8 @@ en:
|
||||
SUCCESSFULLY_CHANGED_THEME: Successfully changed default theme
|
||||
INSTALLATION_FAILED: Installation failed
|
||||
INSTALLATION_SUCCESSFUL: Installation successful
|
||||
UNINSTALL_FAILED: Uninstall failed
|
||||
UNINSTALL_SUCCESSFUL: Uninstall successful
|
||||
SUCCESSFULLY_SAVED: Successfully saved
|
||||
SUCCESSFULLY_COPIED: Successfully copied
|
||||
REORDERING_WAS_SUCCESSFUL: Reordering was successful
|
||||
|
||||
Reference in New Issue
Block a user