PluginProbe
The Innovative Form Builder – IvyForms / 1.5
The Innovative Form Builder – IvyForms v1.5
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 1.5, at backend/src/Services/Translations/FrontendStrings.php

171 lines 13.6 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 'am' => __('AM', 'ivyforms'),
27 'am_pm' => __('AM/PM', 'ivyforms'),
28 'api_response_for_field' => __('API response for field {fieldKey}:', 'ivyforms'),
29 'checking_field_with_value' => __('Checking field {fieldKey} (ID: {fieldId}) with value:', 'ivyforms'),
30 'close' => __('Close', 'ivyforms'),
31 'confirmation_label_placeholder' => __('Confirm email', 'ivyforms'),
32 'day' => __('Day', 'ivyforms'),
33 'decrease_value' => __('Decrease value', 'ivyforms'),
34 'duplicate_found_for_field' => __('Duplicate found for field {fieldKey}:', 'ivyforms'),
35 'duplicate_value_error' => __('This value must be unique. Please enter a unique value.', 'ivyforms'),
36 'duplicate_value_error_label' => __('This {label} must be unique. Please use a different value.', 'ivyforms'),
37 'do_not_match' => __(' do not match.', 'ivyforms'),
38 'emails_do_not_match' => __('Email addresses do not match', 'ivyforms'),
39 'enter_email_address' => __('Please enter a valid email address.', 'ivyforms'),
40 'enter_valid_date' => __('Please enter a valid date.', 'ivyforms'),
41 'enter_date_valid_format' => __('Please enter date in valid format.', 'ivyforms'),
42 'enter_valid_date_time' => __('Please enter date and time in valid format.', 'ivyforms'),
43 'date_must_be_after' => __('Date must be after {min}.', 'ivyforms'),
44 'date_must_be_before' => __('Date must be before {max}.', 'ivyforms'),
45 'select_date' => __('Select date', 'ivyforms'),
46 'select_start_date' => __('Select start date', 'ivyforms'),
47 'select_end_date' => __('Select end date', 'ivyforms'),
48 'enter_valid_number' => __('Please enter a valid number.', 'ivyforms'),
49 'enter_phone_number' => __('Please enter a valid phone number.', 'ivyforms'),
50 'enter_valid_time' => __('Please enter a valid time.', 'ivyforms'),
51 'enter_valid_website' => __('Please enter a valid website URL.', 'ivyforms'),
52 'error_checking_duplicates' => __('Error checking for duplicate values. Please try again.', 'ivyforms'),
53 'error_checking_duplicates_for_field'=> __('Error checking duplicates for field {fieldKey}:', 'ivyforms'),
54 'error_submitting_form' => __('Error submitting form:', 'ivyforms'),
55 'error_page_url' => __('Error fetching page URL:', 'ivyforms'),
56 'fields_to_check_for_duplicates' => __('Fields to check for duplicates:', 'ivyforms'),
57 'final_duplicate_errors' => __('Final duplicate errors:', 'ivyforms'),
58 'flag' => __('Country flag icon', 'ivyforms'),
59 'form_data_not_found' => __('Form data not found (wpIvyFormData is undefined)', 'ivyforms'),
60 'form_submitted' => __('Form submitted successfully!', 'ivyforms'),
61 'gdpr_required_default_message' => __('You must accept the agreement to continue.', 'ivyforms'),
62 'hours' => __('Hours', 'ivyforms'),
63 'increase_value' => __('Increase value', 'ivyforms'),
64 'invalid_form_data' => __('Invalid form data:', 'ivyforms'),
65 'invalid_input' => __('Invalid input', 'ivyforms'),
66 'making_api_call_for_field' => __('Making API call for field {fieldKey}', 'ivyforms'),
67 'minutes' => __('Minutes', 'ivyforms'),
68 'month' => __('Month', 'ivyforms'),
69 'next' => __('Next', 'ivyforms'),
70 'previous' => __('Previous', 'ivyforms'),
71 'no_fields_with_no_duplicates' => __('No fields with noDuplicates enabled', 'ivyforms'),
72 'not_selected' => __('Not selected', 'ivyforms'),
73 'number_out_of_range' => __('Value must be between {min} and {max}.', 'ivyforms'),
74 'please_fill_required_fields' => __('Please fill in all required fields before continuing.', 'ivyforms'),
75 'pm' => __('PM', 'ivyforms'),
76 'seconds' => __('Seconds', 'ivyforms'),
77 'number_cannot_be_smaller_than' => __('Value cannot be smaller than {min}.', 'ivyforms'),
78 'number_cannot_be_greater_than' => __('Value cannot be greater than {max}.', 'ivyforms'),
79 'phone_number' => __('Phone number', 'ivyforms'),
80 'range_from' => __('Range from', 'ivyforms'),
81 'range_to' => __('Range to', 'ivyforms'),
82 'recaptcha_complete_verification' => __('Please complete the reCAPTCHA verification', 'ivyforms'),
83 'recaptcha_expired' => __('reCAPTCHA expired. Please try again.', 'ivyforms'),
84 'recaptcha_invisible_failed' => __('Failed to execute reCAPTCHA invisible', 'ivyforms'),
85 'recaptcha_not_configured' => __('reCAPTCHA is not configured. Please contact the site administrator.', 'ivyforms'),
86 'recaptcha_v3_failed' => __('Failed to execute reCAPTCHA v3', 'ivyforms'),
87 'recaptcha_widget_not_initialized' => __('reCAPTCHA widget not initialized', 'ivyforms'),
88 'time_must_be_between' => __('Time must be between', 'ivyforms'),
89 'time_must_be_after' => __('Time must be after {min}', 'ivyforms'),
90 'time_must_be_before' => __('Time must be before {max}', 'ivyforms'),
91 'start_time' => __('Start time', 'ivyforms'),
92 'end_time' => __('End time', 'ivyforms'),
93 'and' => __('and', 'ivyforms'),
94 'turnstile_not_configured_public' => __('Turnstile is not configured. Please contact the site administrator.', 'ivyforms'),
95 'turnstile_expired' => __('Turnstile verification expired. Please try again.', 'ivyforms'),
96 'turnstile_init_failed' => __('Failed to initialize Turnstile', 'ivyforms'),
97 'turnstile_error' => __('Turnstile verification error. Please try again.', 'ivyforms'),
98 'turnstile_complete_verification' => __('Please complete the Turnstile verification.', 'ivyforms'),
99 'turnstile_verification_failed' => __('Turnstile verification failed, please try again.', 'ivyforms'),
100 'hcaptcha_not_configured_public' => __('hCaptcha is not configured. Please contact the site administrator.', 'ivyforms'),
101 'hcaptcha_expired' => __('hCaptcha verification expired. Please try again.', 'ivyforms'),
102 'hcaptcha_init_failed' => __('Failed to initialize hCaptcha', 'ivyforms'),
103 'hcaptcha_error' => __('hCaptcha verification error. Please try again.', 'ivyforms'),
104 'hcaptcha_complete_verification' => __('Please complete the hCaptcha verification.', 'ivyforms'),
105 'hcaptcha_verification_failed' => __('hCaptcha verification failed, please try again.', 'ivyforms'),
106 // IvyEditor (rich text / HTML editor on public forms)
107 'clear' => __('Clear', 'ivyforms'),
108 'failed_to_read_file' => __('Failed to read file', 'ivyforms'),
109 'font_family' => __('Font family select', 'ivyforms'),
110 'editor_font_inter' => __('Inter', 'ivyforms'),
111 'editor_font_comic_sans_ms' => __('Comic Sans MS', 'ivyforms'),
112 'editor_font_sans_serif' => __('Sans Serif', 'ivyforms'),
113 'editor_font_serif' => __('Serif', 'ivyforms'),
114 'editor_font_monospace' => __('Monospace', 'ivyforms'),
115 'editor_font_cursive' => __('Cursive', 'ivyforms'),
116 'heading' => __('Heading {level}', 'ivyforms'),
117 'heading_level' => __('Heading level select', 'ivyforms'),
118 'html' => __('HTML', 'ivyforms'),
119 'image_url' => __('Image URL', 'ivyforms'),
120 'insert_image_by_url' => __('Insert image by URL', 'ivyforms'),
121 'insert_placeholders' => __('Insert placeholders', 'ivyforms'),
122 'invalid_link' => __('Please enter a valid URL (e.g., https://example.com)', 'ivyforms'),
123 'link_required' => __('Link is required', 'ivyforms'),
124 'open_in_new_tab' => __('Open in new tab', 'ivyforms'),
125 'paragraph' => __('Paragraph', 'ivyforms'),
126 'placeholders' => __('Placeholders', 'ivyforms'),
127 'reset' => __('Reset', 'ivyforms'),
128 'save' => __('Save', 'ivyforms'),
129 'text_editor' => __('Text editor', 'ivyforms'),
130 'upload_image' => __('Upload image', 'ivyforms'),
131 'visual' => __('Visual', 'ivyforms'),
132 'required' => __('is required.', 'ivyforms'),
133 'required_field' => __('This field is required.', 'ivyforms'),
134 'select_country' => __('Select country', 'ivyforms'),
135 'skipping_empty_field' => __('Skipping empty field {fieldKey}', 'ivyforms'),
136 'submit' => __('Submit', 'ivyforms'),
137 'file_upload_placeholder_drag_here' => __('Drag file here or | click to upload', 'ivyforms'),
138 'file_upload_error_invalid_type' => __('This file type is not allowed.', 'ivyforms'),
139 'file_upload_remove_file' => __('Remove file', 'ivyforms'),
140 'file_upload_too_many_files_error' => __(
141 'You can upload at most {max} files.',
142 'ivyforms'
143 ),
144 'file_upload_error_size' => __('File size exceeded.', 'ivyforms'),
145 'file_upload_error_too_many' => __('Too many files.', 'ivyforms'),
146 'thank_you' => __('Thank you!', 'ivyforms'),
147 'this_field' => __('This field', 'ivyforms'),
148 'year' => __('Year', 'ivyforms'),
149 'payment_failed' => __('Payment could not be processed. Please check your card and try again.', 'ivyforms'),
150 'payment_tokenization_failed' => __('Could not verify your card. Please check the details and try again.', 'ivyforms'),
151 'payment_processing' => __('Processing payment…', 'ivyforms'),
152 'payment_methods' => __('Payment methods', 'ivyforms'),
153 'paypal' => __('PayPal', 'ivyforms'),
154 'square' => __('Square', 'ivyforms'),
155 'stripe' => __('Stripe', 'ivyforms'),
156 'payment_form_loading' => __('Loading secure payment form…', 'ivyforms'),
157 'payment_form_unavailable' => __('Secure payment form could not be loaded. Please refresh the page or contact the site owner.', 'ivyforms'),
158 'payment_https_required' => __('Payments require HTTPS. Open this form over https:// or test on a site with SSL enabled.', 'ivyforms'),
159 'paypal_connected' => __('PayPal is ready. Submit the form to complete payment.', 'ivyforms'),
160 'paypal_complete_payment' => __('Complete PayPal checkout to continue.', 'ivyforms'),
161 'paypal_complete_form' => __('Fill in the required fields before paying with PayPal.', 'ivyforms'),
162 'paypal_auth_url_failed' => __('Could not start PayPal checkout.', 'ivyforms'),
163 'currency_mismatch' => __(
164 'This form\'s currency does not match the Square account currency. Payments cannot be processed until the currencies match.',
165 'ivyforms'
166 ),
167 ];
168 }
169 }
170
171