source.js
48 lines
| 1 | const { __ } = wp.i18n; |
| 2 | |
| 3 | const label = { |
| 4 | enable_dev_mode: __( 'Enable Dev-Mode', 'jet-form-builder' ), |
| 5 | disable_next_button: __( 'Disable "Next" button', 'jet-form-builder' ), |
| 6 | clear_on_uninstall: __( |
| 7 | 'Clear plugin data after the uninstall', |
| 8 | 'jet-form-builder', |
| 9 | ), |
| 10 | scroll_on_next: __( |
| 11 | 'Scroll to the top on page change', |
| 12 | 'jet-form-builder', |
| 13 | ), |
| 14 | auto_focus: __( |
| 15 | 'Automatic focus', |
| 16 | 'jet-form-builder', |
| 17 | ), |
| 18 | }; |
| 19 | |
| 20 | const help = { |
| 21 | enable_dev_mode: __( |
| 22 | 'With developer mode enabled, errors from the form will be saved.', |
| 23 | 'jet-form-builder', |
| 24 | ), |
| 25 | disable_next_button: __( |
| 26 | `If this option is active, the Next button in a multi-step |
| 27 | form won't become clickable until all the required fields are completed.`, |
| 28 | 'jet-form-builder', |
| 29 | ), |
| 30 | clear_on_uninstall: __( |
| 31 | `If this option is active, when the plugin is deleted, |
| 32 | all custom sql-tables, all options and files will also be deleted. |
| 33 | In particular, those that were uploaded using Media Field.`, |
| 34 | 'jet-form-builder', |
| 35 | ), |
| 36 | scroll_on_next: __( |
| 37 | `Automatic scrolling to the top of the form when |
| 38 | switching between form pages.`, |
| 39 | 'jet-form-builder', |
| 40 | ), |
| 41 | auto_focus: __( |
| 42 | `Indicates invalid field and prevents the user from |
| 43 | going to the next page or submitting the form unless filled.`, |
| 44 | 'jet-form-builder', |
| 45 | ), |
| 46 | }; |
| 47 | |
| 48 | export { label, help }; |