source.js
20 lines
| 1 | const { __ } = wp.i18n; |
| 2 | |
| 3 | const label = { |
| 4 | key: __( 'Site Key', 'jet-form-builder' ), |
| 5 | secret: __( 'Secret Key', 'jet-form-builder' ), |
| 6 | threshold: __( 'Score Threshold', 'jet-form-builder' ), |
| 7 | }; |
| 8 | |
| 9 | const help = { |
| 10 | threshold: __( |
| 11 | `It should be a value between 0 and 1, default 0.5 |
| 12 | (1.0 is very likely a good interaction, 0.0 is very likely a bot).`, |
| 13 | 'jet-form-builder' |
| 14 | ), |
| 15 | apiPref: __( 'Register reCAPTCHA v3 keys' ), |
| 16 | apiLinkLabel: __( 'here' ), |
| 17 | apiLink: 'https://www.google.com/recaptcha/admin/create' |
| 18 | }; |
| 19 | |
| 20 | export { label, help }; |