added missing uninstall strings

This commit is contained in:
Andy Miller
2015-08-19 16:53:21 -06:00
parent f8d47edbbd
commit 7cd4e5b0a6
2 changed files with 4 additions and 2 deletions

View File

@@ -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);

View File

@@ -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