|
| 1 | +<?php |
| 2 | +/* |
| 3 | + * Plugin Name: YourCode for MyBB 1.6.x |
| 4 | + * Copyright 2013 WildcardSearch |
| 5 | + * http://www.wildcardsworld.com |
| 6 | + */ |
| 7 | + |
| 8 | +$l['yourcode'] = "YourCode"; |
| 9 | +$l['yourcode_plugin_description'] = "Forget MyCode. Take control of YourCode's more powerful way to manage custom BB codes and even the internally cached MyCodes."; |
| 10 | + |
| 11 | +// general |
| 12 | +$l['yourcode_yes'] = "Yes"; |
| 13 | +$l['yourcode_no'] = "No"; |
| 14 | + |
| 15 | +// columns and labels |
| 16 | +$l['yourcode_activate'] = "Activate"; |
| 17 | +$l['yourcode_add'] = "Add"; |
| 18 | +$l['yourcode_backup'] = "Backup"; |
| 19 | +$l['yourcode_controls'] = "Controls"; |
| 20 | +$l['yourcode_deactivate'] = "Deactivate"; |
| 21 | +$l['yourcode_delete'] = "Delete"; |
| 22 | +$l['yourcode_description'] = "Description"; |
| 23 | +$l['yourcode_edit'] = "Edit"; |
| 24 | +$l['yourcode_export'] = "Export"; |
| 25 | +$l['yourcode_import'] = "Import"; |
| 26 | +$l['yourcode_inactive'] = "Inactive"; |
| 27 | +$l['yourcode_options'] = "Options"; |
| 28 | +$l['yourcode_quick_links'] = "Quick Links"; |
| 29 | +$l['yourcode_regex'] = "Regex"; |
| 30 | +$l['yourcode_restore'] = "Restore"; |
| 31 | +$l['yourcode_save'] = "Save"; |
| 32 | +$l['yourcode_title'] = "Title"; |
| 33 | +$l['yourcode_type'] = "Type"; |
| 34 | +$l['yourcode_update'] = "Update"; |
| 35 | +$l['yourcode_restore_select_file'] = $l['yourcode_import_select_file'] = "Select a local file:"; |
| 36 | + |
| 37 | +// actions |
| 38 | +$l['yourcode_added'] = "added"; |
| 39 | +$l['yourcode_exported'] = "exported"; |
| 40 | +$l['yourcode_updated'] = "updated"; |
| 41 | + |
| 42 | +// acp |
| 43 | +$l['yourcode_admin_permissions_desc'] = "Can use YourCode?"; |
| 44 | +$l['yourcode_admin_view'] = "Manage YourCode"; |
| 45 | +$l['yourcode_admin_view_desc'] = "view and manage YourCode"; |
| 46 | +$l['yourcode_admin_edit'] = "Add YourCode"; |
| 47 | +$l['yourcode_admin_edit_desc'] = "add and edit YourCode"; |
| 48 | +$l['yourcode_admin_tools'] = "Tools"; |
| 49 | +$l['yourcode_admin_tools_desc'] = "import, export and further manage YourCode"; |
| 50 | +$l['yourcode_admin_import'] = "Import Manager"; |
| 51 | +$l['yourcode_admin_import_desc'] = "confirm your import choices"; |
| 52 | + |
| 53 | +// messages |
| 54 | +$l['yourcode_no_code'] = "no YourCode"; |
| 55 | + |
| 56 | +// sandbox |
| 57 | +$l['yourcode_sandbox'] = "Sandbox"; |
| 58 | +$l['yourcode_sandbox_desc'] = "You can use this area to test the regular expression and replacement above before saving your changes.<br /><br />NOTE: To test custom regex modifier settings (nesting, single/multi, etc.) you must first save YourCode."; |
| 59 | +$l['yourcode_test_value'] = "Test Value"; |
| 60 | +$l['yourcode_test_value_desc'] = "Enter in text to be tested in the box below."; |
| 61 | +$l['yourcode_test'] = "Test"; |
| 62 | +$l['yourcode_result_html'] = "HTML Result"; |
| 63 | +$l['yourcode_result_html_desc'] = "The text area below shows the resulting HTML using the regular expression on the test value."; |
| 64 | +$l['yourcode_result_actual'] = "Actual Result"; |
| 65 | +$l['yourcode_result_actual_desc'] = "The area below shows the actual result when the HTML is rendered."; |
| 66 | +$l['yourcode_sandbox_test_no_save_warning'] = "Test results below. Warning: Your changes (if any) have not been saved"; |
| 67 | + |
| 68 | +// edit |
| 69 | +$l['yourcode_regular_expression'] = "Regular Expression"; |
| 70 | +$l['yourcode_regular_expression_desc'] = "Enter a regular expression that will search for a specific combination of characters. You must make sure the regular expression is valid and safe — no validation is performed."; |
| 71 | +$l['yourcode_example'] = "Example"; |
| 72 | +$l['yourcode_replacement'] = "Replacement"; |
| 73 | +$l['yourcode_alternate_replacement'] = "Alternate Replacement"; |
| 74 | +$l['yourcode_alternate_replacement_desc'] = "This replacement is used for those who do not have permission to view this YourCode (will have no effect unless view permissions are set)"; |
| 75 | +$l['yourcode_replacement_desc'] = "Enter a replacement for the regular expression."; |
| 76 | +$l['yourcode_parse_order'] = "Parse Order"; |
| 77 | +$l['yourcode_parse_order_desc'] = "YourCodes will be parsed in ascending order relative to other YourCodes."; |
| 78 | +$l['yourcode_nestable'] = "Nestable"; |
| 79 | +$l['yourcode_nestable_title'] = "Nestable?"; |
| 80 | +$l['yourcode_nestable_desc'] = "In this mode the tag can contain instances of itself."; |
| 81 | +$l['yourcode_case_sensitive'] = "Case-sensitive?"; |
| 82 | +$l['yourcode_case_sensitive_desc'] = "In this mode tag case must match exactly."; |
| 83 | +$l['yourcode_single_line'] = "Single line mode?"; |
| 84 | +$l['yourcode_single_line_desc'] = "In this mode, the dot matches newlines."; |
| 85 | +$l['yourcode_multi_line'] = "Multi-line mode?"; |
| 86 | +$l['yourcode_multi_line_desc'] = "In this mode, the caret (^) and dollar ($) match before and after newlines."; |
| 87 | +$l['yourcode_eval'] = "eval()'d?"; |
| 88 | +$l['yourcode_eval_desc'] = "In this mode the replacement is eval()'d after it has been matched. (Set this option to 'No' unless you know what you are doing.)"; |
| 89 | +$l['yourcode_active'] = "Active"; |
| 90 | +$l['yourcode_active_desc'] = "Should this YourCode be effective now?"; |
| 91 | +$l['yourcode_allowed_user_groups_use'] = "Who can use this YourCode?"; |
| 92 | +$l['yourcode_allowed_user_groups_use_desc'] = "When users that aren't allowed attempt to use the YourCode it is blanked from their post before it is inserted."; |
| 93 | +$l['yourcode_allowed_user_groups_view'] = "Who can view this YourCode?"; |
| 94 | +$l['yourcode_allowed_user_groups_view_desc'] = "When users that aren't allowed view posts in which the YourCode is used an alternate replacement is used."; |
| 95 | +$l['yourcode_all_user_groups'] = "All User Groups"; |
| 96 | + |
| 97 | +// messages |
| 98 | +$l['yourcode_message_success'] = "{1} {2} successfully"; |
| 99 | +$l['yourcode_message_fail'] = "{1} couldn't be {2} successfully"; |
| 100 | +$l['yourcode_message_active_status'] = "YourCode is currently {1}, click to {2}"; |
| 101 | + |
| 102 | +// import |
| 103 | +$l['yourcode_import_select_file_desc'] = "Use this form to import YourCode that was exported from this plugin."; |
| 104 | + |
| 105 | +$l['yourcode_import_no_file'] = "No file to import."; |
| 106 | +$l['yourcode_import_file_error'] = "Bad or empty file."; |
| 107 | +$l['yourcode_import_selection_error'] = "You did not select any YourCode from the list."; |
| 108 | +$l['yourcode_import_file_upload_error'] = "There was a problem uploading the file."; |
| 109 | +$l['yourcode_import_file_empty'] = "The file you uploaded is empty or currupt."; |
| 110 | +$l['yourcode_import_save_success'] = "Successfully imported {1} YourCode."; |
| 111 | + |
| 112 | +$l['yourcode_delete_warning_clear'] = "Proceeding will result in all YourCode being deleted.\\nIt is recommended to backup first to avoid losing your work.\\nProceed?"; |
| 113 | +$l['yourcode_delete_warning_simple'] = "Do you want to permanently delete this YourCode?"; |
| 114 | +$l['yourcode_delete_warning_default'] = "This action will restore all the YourCodes from their respective derivatives in the state which they were in previous to installation and will result in losing any customizations you have made.\\n\\nIt is recommended to backup your work. Proceed?"; |
| 115 | +$l['yourcode_delete_warning_restore'] = "You are about to replace all YourCode with the contents of this XML file losing any customizations you have made.\\nIt is recommended to backup your work.\\nProceed?"; |
| 116 | + |
| 117 | +// restore (from file) |
| 118 | +$l['yourcode_restore_select_file_desc'] = "Use this form to import a mass backup of YourCode. All of the existing codes will be removed to avoid redundancy beforehand. It is advisable to create a secure backup first."; |
| 119 | +$l['yourcode_restore_fail'] = "Couldn't restore YourCode from backup."; |
| 120 | +$l['yourcode_restore_success'] = "YourCode restored from backup."; |
| 121 | + |
| 122 | +// restore (to defaults) |
| 123 | +$l['yourcode_default'] = "Restore all defaults"; |
| 124 | +$l['yourcode_default_fin'] = " and Custom MyCodes to installation point"; |
| 125 | +$l['yourcode_default_success'] = "All YourCode restored from defaults."; |
| 126 | +$l['yourcode_default_fail'] = "Couldn't restore YourCode from defaults."; |
| 127 | + |
| 128 | +// backup |
| 129 | +$l['yourcode_backup_fin'] = " all of your existing YourCode into one file"; |
| 130 | + |
| 131 | +// clear |
| 132 | +$l['yourcode_clear'] = "Clear"; |
| 133 | +$l['yourcode_clear_fin'] = " all of the YourCode and start over"; |
| 134 | +$l['yourcode_clear_success'] = "All YourCode deleted."; |
| 135 | +$l['yourcode_clear_fail'] = $l['yourcode_restore_fail_clear'] = "Couldn't clear existing YourCode."; |
| 136 | + |
| 137 | +?> |
0 commit comments