PluginProbe
The Innovative Form Builder – IvyForms / 0.4
The Innovative Form Builder – IvyForms v0.4
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / backend / src / Services / Translations / FrontendStrings.php

FrontendStrings.php in The Innovative Form Builder – IvyForms 0.4, at backend/src/Services/Translations/FrontendStrings.php

64 lines 4.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace IvyForms\Services\Translations;
4
5 /**
6 * Class FrontendStrings
7 *
8 * @package IvyForms\Translations
9 *
10 * @SuppressWarnings(ExcessiveMethodLength)
11 * @SuppressWarnings(ExcessiveClassLength)
12 * @phpcs:disable
13 */
14 class FrontendStrings
15 {
16
17 /**
18 * Returns the array for the form render
19 *
20 * @return mixed[]
21 */
22 public static function getFormRenderStrings(): array
23 {
24 return [
25 'all_form_fields' => __('All form fields:', 'ivyforms'),
26 'api_response_for_field' => __('API response for field {fieldKey}:', 'ivyforms'),
27 'checking_field_with_value' => __('Checking field {fieldKey} (ID: {fieldId}) with value:', 'ivyforms'),
28 'duplicate_found_for_field' => __('Duplicate found for field {fieldKey}:', 'ivyforms'),
29 'duplicate_value_error' => __('This value must be unique. Please enter a unique value.', 'ivyforms'),
30 'duplicate_value_error_label' => __('This {label} must be unique. Please use a different value.', 'ivyforms'),
31 'emails_do_not_match' => __('Email addresses do not match', 'ivyforms'),
32 'enter_email_address' => __('Please enter a valid email address.', 'ivyforms'),
33 'enter_valid_number' => __('Please enter a valid number.', 'ivyforms'),
34 'enter_phone_number' => __('Please enter a valid phone number.', 'ivyforms'),
35 'enter_valid_website' => __('Please enter a valid website URL.', 'ivyforms'),
36 'error_checking_duplicates' => __('Error checking for duplicate values. Please try again.', 'ivyforms'),
37 'error_checking_duplicates_for_field'=> __('Error checking duplicates for field {fieldKey}:', 'ivyforms'),
38 'error_submitting_form' => __('Error submitting form:', 'ivyforms'),
39 'fields_to_check_for_duplicates' => __('Fields to check for duplicates:', 'ivyforms'),
40 'final_duplicate_errors' => __('Final duplicate errors:', 'ivyforms'),
41 'flag' => __('Country flag icon', 'ivyforms'),
42 'form_data_not_found' => __('Form data not found (wpIvyFormData is undefined)', 'ivyforms'),
43 'form_submitted' => __('Form submitted successfully!', 'ivyforms'),
44 'invalid_form_data' => __('Invalid form data:', 'ivyforms'),
45 'invalid_input' => __('Invalid input', 'ivyforms'),
46 'making_api_call_for_field' => __('Making API call for field {fieldKey}', 'ivyforms'),
47 'no_fields_with_no_duplicates' => __('No fields with noDuplicates enabled', 'ivyforms'),
48 'number_out_of_range' => __('Value must be between {min} and {max}.', 'ivyforms'),
49 'range_from' => __('Range from', 'ivyforms'),
50 'range_to' => __('Range to', 'ivyforms'),
51 'recaptcha_complete_verification' => __('Please complete the reCAPTCHA verification', 'ivyforms'),
52 'recaptcha_expired' => __('reCAPTCHA expired. Please try again.', 'ivyforms'),
53 'recaptcha_invisible_failed' => __('Failed to execute reCAPTCHA invisible', 'ivyforms'),
54 'recaptcha_not_configured' => __('reCAPTCHA is not configured. Please contact the site administrator.', 'ivyforms'),
55 'recaptcha_v3_failed' => __('Failed to execute reCAPTCHA v3', 'ivyforms'),
56 'recaptcha_widget_not_initialized' => __('reCAPTCHA widget not initialized', 'ivyforms'),
57 'required' => __('is required.', 'ivyforms'),
58 'skipping_empty_field' => __('Skipping empty field {fieldKey}', 'ivyforms'),
59 'submit' => __('Submit', 'ivyforms'),
60 'thank_you' => __('Thank you!', 'ivyforms'),
61 'this_field' => __('This field', 'ivyforms'),
62 ];
63 }
64 }