mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
more user-friendly message for installing/uninstalling plugins
This commit is contained in:
@@ -54,7 +54,7 @@ define('forum/admin/extend/plugins', function() {
|
|||||||
app.alert({
|
app.alert({
|
||||||
alert_id: 'plugin_toggled',
|
alert_id: 'plugin_toggled',
|
||||||
title: 'Plugin ' + (status.installed ? 'Installed' : 'Uninstalled'),
|
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',
|
type: 'info',
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user