|
10 | 10 | $_lang['events'] = 'Events';
|
11 | 11 | $_lang['plugin'] = 'Plugin';
|
12 | 12 | $_lang['plugin_add'] = 'Add Plugin';
|
13 |
| -$_lang['plugin_code'] = 'Plugin code (php)'; |
| 13 | +$_lang['plugin_category_desc'] = 'Use to group Plugins within the Elements tree.'; |
14 | 14 | $_lang['plugin_config'] = 'Plugin configuration';
|
15 |
| -$_lang['plugin_desc'] = 'Description'; |
16 |
| -$_lang['plugin_desc_category'] = 'The Category this Plugin belongs in.'; |
17 |
| -$_lang['plugin_desc_description'] = 'A short description of this Plugin.'; |
18 |
| -$_lang['plugin_desc_name'] = 'The name of this Plugin.'; |
19 | 15 | $_lang['plugin_delete_confirm'] = 'Are you sure you want to delete this plugin?';
|
20 |
| -$_lang['plugin_disabled'] = 'Inactive plugin'; |
21 |
| -$_lang['plugin_disabled_msg'] = 'Plugin is deactivated and will not respond to events.'; |
22 | 16 | $_lang['plugin_duplicate_confirm'] = 'Are you sure you want to duplicate this plugin?';
|
23 | 17 | $_lang['plugin_err_create'] = 'An error occurred while creating the plugin.';
|
24 | 18 | $_lang['plugin_err_ae'] = 'A plugin already exists with the name "[[+name]]".';
|
|
37 | 31 | $_lang['plugin_event_msg'] = 'Select the events that you would like this plugin to listen to.';
|
38 | 32 | $_lang['plugin_event_plugin_remove_confirm'] = 'Are you sure you want to delete this plugin from this event?';
|
39 | 33 | $_lang['plugin_lock'] = 'Plugin locked for editing';
|
40 |
| -$_lang['plugin_lock_msg'] = 'Users must have the edit_locked attribute in order to edit this plugin.'; |
| 34 | +$_lang['plugin_lock_desc'] = 'Only users with “edit_locked” permissions can edit this Plugin.'; |
41 | 35 | $_lang['plugin_locked_message'] = 'This plugin is locked.';
|
42 | 36 | $_lang['plugin_management_msg'] = 'Here you can choose which plugin you wish to edit.';
|
43 |
| -$_lang['plugin_msg'] = 'Here you can create/edit plugins. Plugins are \'raw\' PHP codes that are invoked whenever the selected System Events are triggered.'; |
44 |
| -$_lang['plugin_name'] = 'Plugin name'; |
| 37 | +$_lang['plugin_name_desc'] = 'The name of this Plugin.'; |
45 | 38 | $_lang['plugin_new'] = 'Create Plugin';
|
46 | 39 | $_lang['plugin_priority'] = 'Edit Plugin Execution Order by Event';
|
47 | 40 | $_lang['plugin_properties'] = 'Plugin Properties';
|
| 41 | +$_lang['plugin_tab_general_desc'] = 'Here you can enter the basic attributes for this <em>Plugin</em> as well as its content. The content must be PHP, either placed in the <a href="#x-form-el-modx-plugin-plugincode">Plugin Code</a> field below or in a static external file. The PHP code entered runs in response to one or more MODX System Events that you specify.'; |
48 | 42 | $_lang['plugin_title'] = 'Create/edit plugin';
|
49 | 43 | $_lang['plugin_untitled'] = 'Untitled plugin';
|
50 | 44 | $_lang['plugins'] = 'Plugins';
|
| 45 | + |
| 46 | +// Temporarily match old keys to new ones to ensure compatibility |
| 47 | +// --fields |
| 48 | +$_lang['plugin_desc_category'] = $_lang['plugin_category_desc']; |
| 49 | +$_lang['plugin_desc_name'] = $_lang['plugin_name_desc']; |
| 50 | +$_lang['plugin_lock_msg'] = $_lang['plugin_lock_desc']; |
| 51 | + |
| 52 | +// --tabs |
| 53 | +$_lang['plugin_msg'] = $_lang['plugin_tab_general_desc']; |
| 54 | + |
| 55 | +/* |
| 56 | + Refer to default.inc.php for the keys below. |
| 57 | + (Placement in this default file necessary to allow |
| 58 | + quick create/edit panels access to them when opened |
| 59 | + outside the context of their respective element types) |
| 60 | +
|
| 61 | + plugin_code |
| 62 | + plugin_description_desc |
| 63 | + plugin_disabled |
| 64 | + plugin_disabled_desc |
| 65 | +*/ |
0 commit comments