diff --git a/CHANGELOG.md b/CHANGELOG.md index d09fa6ff5..12255c889 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +* **Build 99** (2014-06-05) + - Plugins can now be removed, refreshed and disabled via the back-end. + * **Build 96** (2014-05-29) - Plugin CLI commands are now case insensitive. - Fixes a bug where belongsTo form field relations were not being set. diff --git a/modules/system/controllers/Updates.php b/modules/system/controllers/Updates.php index 4bb82a992..ffd4940d3 100644 --- a/modules/system/controllers/Updates.php +++ b/modules/system/controllers/Updates.php @@ -57,6 +57,7 @@ class Updates extends Controller */ public function manage() { + $this->pageTitle = Lang::get('system::lang.plugins.manage'); PluginManager::instance()->clearDisabledCache(); return $this->getClassExtension('Backend.Behaviors.ListController')->index(); } @@ -407,8 +408,7 @@ class Updates extends Controller } } - Flash::success('Successfully removed those plugins from the system.'); - + Flash::success(Lang::get('system::lang.plugins.remove_success')); } return $this->listRefresh('manage'); @@ -436,7 +436,7 @@ class Updates extends Controller $manager->updatePlugin($pluginCode); } - Flash::success('Successfully refreshed those plugins in the system.'); + Flash::success(Lang::get('system::lang.plugins.refresh_success')); } return $this->listRefresh('manage'); @@ -476,9 +476,9 @@ class Updates extends Controller } if ($disable) - Flash::success('Successfully disabled those plugins.'); + Flash::success(Lang::get('system::lang.plugins.disable_success')); else - Flash::success('Successfully enabled those plugins.'); + Flash::success(Lang::get('system::lang.plugins.enable_success')); return Redirect::to(Backend::url('system/updates/manage')); } diff --git a/modules/system/controllers/updates/_disable_form.htm b/modules/system/controllers/updates/_disable_form.htm index 789854226..b186db481 100644 --- a/modules/system/controllers/updates/_disable_form.htm +++ b/modules/system/controllers/updates/_disable_form.htm @@ -1,7 +1,7 @@ = Form::open(['id' => 'disableForm']) ?>
Plugins selected: = count($checked) ?>
+= e(trans('system::lang.plugins.selected_amount', ['amount'=>count($checked)])) ?>
Plugins that are disabled are ignored by the application.
+= e(trans('system::lang.plugins.disabled_help')) ?>