more user-friendly message for installing/uninstalling plugins

This commit is contained in:
psychobunny
2014-10-06 18:01:45 -04:00
parent d7c796fba5
commit c827485de5

View File

@@ -54,7 +54,7 @@ define('forum/admin/extend/plugins', function() {
app.alert({
alert_id: 'plugin_toggled',
title: 'Plugin ' + (status.installed ? 'Installed' : 'Uninstalled'),
message: status.installed ? 'You still have to activate this plugin to use it!' : 'The plugin is also deactivated!',
message: status.installed ? 'Plugin successfully installed, please activate the plugin.' : 'The plugin has been successfully deactivated and uninstalled.',
type: 'info',
timeout: 5000
});