Skip to content

Commit fe288cd

Browse files
committed
feat: Added enable/disable all for modules and plugins
1 parent 380fe8a commit fe288cd

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

language/english/admin/core_lang.php

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,15 @@
408408
$lang['admin_modules_delete_confirm'] = 'Are you sure you want to delete the module: <strong>%s</strong>?';
409409
$lang['admin_modules_delete_error'] = 'Unable to delete the module.';
410410
$lang['admin_modules_delete_success'] = 'Module successfully deleted.';
411+
$lang['admin_modules_disable_all_confirm'] = 'Are you sure you want to disable all modules?';
412+
$lang['admin_modules_disable_all_error'] = 'Unable to disable all modules.';
413+
$lang['admin_modules_disable_all_success'] = 'All modules were successfully disabled.';
411414
$lang['admin_modules_disable_confirm'] = 'Are you sure you want to disable the module: <strong>%s</strong>?';
412415
$lang['admin_modules_disable_error'] = 'Unable to deactivate the module.';
413416
$lang['admin_modules_disable_success'] = 'Module successfully deactivated.';
417+
$lang['admin_modules_enable_all_confirm'] = 'Are you sure you want to enable all modules?';
418+
$lang['admin_modules_enable_all_error'] = 'Unable to enable all modules.';
419+
$lang['admin_modules_enable_all_success'] = 'All modules were successfully enabled.';
414420
$lang['admin_modules_enable_confirm'] = 'Are you sure you want to enable the module: <strong>%s</strong>?';
415421
$lang['admin_modules_enable_error'] = 'Unable to activate the module.';
416422
$lang['admin_modules_enable_success'] = 'Module successfully activated.';
@@ -436,9 +442,15 @@
436442
$lang['admin_plugins_delete_confirm'] = 'Are you sure you want to delete the plugin: <strong>%s</strong>?';
437443
$lang['admin_plugins_delete_error'] = 'Unable to delete the plugin.';
438444
$lang['admin_plugins_delete_success'] = 'Plugin successfully deleted.';
445+
$lang['admin_plugins_disable_all_confirm'] = 'Are you sure you want to disable all plugins?';
446+
$lang['admin_plugins_disable_all_error'] = 'Unable to disable all plugins.';
447+
$lang['admin_plugins_disable_all_success'] = 'All plugins were successfully disabled.';
439448
$lang['admin_plugins_disable_confirm'] = 'Are you sure you want to disable the plugin: <strong>%s</strong>?';
440449
$lang['admin_plugins_disable_error'] = 'Unable to deactivate the plugin.';
441450
$lang['admin_plugins_disable_success'] = 'Plugin successfully deactivated.';
451+
$lang['admin_plugins_enable_all_confirm'] = 'Are you sure you want to enable all plugins?';
452+
$lang['admin_plugins_enable_all_error'] = 'Unable to enable all plugins.';
453+
$lang['admin_plugins_enable_all_success'] = 'All plugins were successfully enabled.';
442454
$lang['admin_plugins_enable_confirm'] = 'Are you sure you want to enable the plugin: <strong>%s</strong>?';
443455
$lang['admin_plugins_enable_error'] = 'Unable to activate the plugin.';
444456
$lang['admin_plugins_enable_success'] = 'Plugin successfully activated.';
@@ -487,14 +499,14 @@
487499
$lang['admin_languages_default_success'] = 'Default language successfully changed.';
488500
$lang['admin_languages_disable_all_confirm'] = 'Are you sure you want to disable all languages?';
489501
$lang['admin_languages_disable_all_error'] = 'Unable to disable all languages.';
490-
$lang['admin_languages_disable_all_success'] = 'All languages disabled successfully.';
502+
$lang['admin_languages_disable_all_success'] = 'All languages were successfully disabled.';
491503
$lang['admin_languages_disable_confirm'] = 'Are you sure you want to disable the language: <strong>%s</strong>?';
492504
$lang['admin_languages_disable_error'] = 'Unable to disable language.';
493505
$lang['admin_languages_disable_error_nochange'] = 'This language is already disabled.';
494506
$lang['admin_languages_disable_success'] = 'Language successfully disabled.';
495507
$lang['admin_languages_enable_all_confirm'] = 'Are you sure you want to enable all languages?';
496508
$lang['admin_languages_enable_all_error'] = 'Unable to enable all languages.';
497-
$lang['admin_languages_enable_all_success'] = 'All languages enabled successfully.';
509+
$lang['admin_languages_enable_all_success'] = 'All languages were successfully enabled.';
498510
$lang['admin_languages_enable_confirm'] = 'Are you sure you want to enable the language: <strong>%s</strong>?';
499511
$lang['admin_languages_enable_error'] = 'Unable to enable language.';
500512
$lang['admin_languages_enable_error_nochange'] = 'This language is already enabled.';

0 commit comments

Comments
 (0)