PluginProbe
The Innovative Form Builder – IvyForms / 0.5
The Innovative Form Builder – IvyForms v0.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 / BackendStrings.php

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

882 lines 64.4 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 // phpcs:disable PSR1.Files.SideEffects
6 if (!defined('ABSPATH')) {
7 exit; // Exit if accessed directly
8 }
9
10 /**
11 * Class BackendStrings
12 *
13 * @package IvyForms\Translations
14 *
15 * @SuppressWarnings(ExcessiveMethodLength)
16 * @SuppressWarnings(ExcessiveClassLength)
17 * @phpcs:disable
18 */
19 class BackendStrings
20 {
21 /**
22 * Returns the array for the common strings
23 *
24 * @return mixed[]
25 */
26 public static function getCommonStrings(): array
27 {
28 return [
29 '24_hour' => __('24 Hour', 'ivyforms'),
30 'action' => __('Action', 'ivyforms'),
31 'action_cannot_be_undone' => __('This action cannot be undone.', 'ivyforms'),
32 'all_entries' => __('All Entries', 'ivyforms'),
33 'all_forms' => __('All Forms', 'ivyforms'),
34 'am' => __('AM', 'ivyforms'),
35 'am_pm' => __('Am/Pm', 'ivyforms'),
36 'back' => __('Back', 'ivyforms'),
37 'build' => __('Build', 'ivyforms'),
38 'cancel' => __('Cancel', 'ivyforms'),
39 'close_notification' => __('Close notification', 'ivyforms'),
40 'column_visibility' => __('Column Visibility', 'ivyforms'),
41 'delete' => __('Delete', 'ivyforms'),
42 'decrease_value' => __('Decrease value', 'ivyforms'),
43 'empty_search_subtitle' => __('Try again with different keywords and filters', 'ivyforms'),
44 'empty_search_title' => __('Oops! Looks like there\'s nothing here!', 'ivyforms'),
45 'entries' => __('Entries', 'ivyforms'),
46 'form_desc' => __('Form Description', 'ivyforms'),
47 'form_duplicated' => __('Form duplicated successfully', 'ivyforms'),
48 'form_name' => __('Form Name', 'ivyforms'),
49 'form_updated' => __('Form updated successfully', 'ivyforms'),
50 'increase_value' => __('Increase value', 'ivyforms'),
51 'invalid_form_id' => __('Invalid form ID.', 'ivyforms'),
52 'invalid_request_data' => __('Invalid request data.', 'ivyforms'),
53 'leave' => __('Leave', 'ivyforms'),
54 'learn_more' => __('Learn more', 'ivyforms'),
55 'name' => __('Name', 'ivyforms'),
56 'new_form' => __('New Form', 'ivyforms'),
57 'no_results_for' => __('No results found for', 'ivyforms'),
58 'not_selected' => __('Not Selected', 'ivyforms'),
59 'ok' => __('OK', 'ivyforms'),
60 'pm' => __('PM', 'ivyforms'),
61 'save' => __('Save', 'ivyforms'),
62 'security' => __('Security', 'ivyforms'),
63 'settings' => __('Settings', 'ivyforms'),
64 'starred' => __('Starred', 'ivyforms'),
65 'status' => __('Status', 'ivyforms'),
66 'stay' => __('Stay', 'ivyforms'),
67 'style' => __('Style', 'ivyforms'),
68 'submit' => __('Submit', 'ivyforms'),
69 'text' => __('Text', 'ivyforms'),
70 'time_format' => __('Time Format', 'ivyforms'),
71 'try_adjusting_search' => __('Try adjusting your search to find what you are looking for.', 'ivyforms'),
72 'upgrade_pro' => __('Upgrade', 'ivyforms'),
73 'update' => __('Update', 'ivyforms'),
74 'validation' => __('Validation', 'ivyforms'),
75 ];
76 }
77
78 /**
79 * Returns the array for the settings strings
80 *
81 * @return mixed[]
82 */
83 public static function getSettingsStrings(): array
84 {
85 return [
86 'activation_activated' => __('Plugin has been activated', 'ivyforms'),
87 'activation_deactivated' => __('Plugin has been deactivated', 'ivyforms'),
88 'activation_settings_domains_limit' => __('You have reached maximum number of registered domains', 'ivyforms'),
89 'activation_settings_hidden_code' => __('Your purchase code has been hidden for security reasons. You can find it on your store page', 'ivyforms'),
90 'activation_settings_invalid_code' => __('The purchase code is invalid or it has expired', 'ivyforms'),
91 'all_settings_retrieved' => __('All settings retrieved successfully', 'ivyforms'),
92 'clear_settings' => __('Clear Settings', 'ivyforms'),
93 'error_loading_settings' => __('Error loading settings', 'ivyforms'),
94 'error_saving_settings' => __('Error saving settings', 'ivyforms'),
95 'failed_to_load_settings' => __('Failed to load settings', 'ivyforms'),
96 'failed_to_save_settings' => __('Failed to save settings', 'ivyforms'),
97 'secret_key_missing' => __('Secret key is missing', 'ivyforms'),
98 'setting_retrieved' => __('Setting retrieved successfully', 'ivyforms'),
99 'settings_category_or_option_missing'=> __('Settings category and option must be provided.', 'ivyforms'),
100 'settings_option_updated' => __('Settings option updated successfully', 'ivyforms'),
101 'settings_saved' => __('Settings saved successfully', 'ivyforms'),
102 'site_key_invalid' => __('Site key format is invalid. Please check your reCAPTCHA site key.', 'ivyforms'),
103 'wcag_compliance_settings' => __('WCAG-compliant backend layout', 'ivyforms'),
104 ];
105 }
106
107 /**
108 * Returns the array for the dashboard strings
109 *
110 * @return mixed[]
111 */
112 public static function getDashboardStrings(): array
113 {
114 return [
115 'dashboard' => __('Dashboard', 'ivyforms'),
116 ];
117 }
118
119 /**
120 * Returns the array for the "All Forms" page strings
121 *
122 * @return mixed[]
123 */
124 public static function getAllFormsStrings(): array
125 {
126 return [
127 'actions' => __('Actions', 'ivyforms'),
128 'action_undone' => __('This action can\'t be undone', 'ivyforms'),
129 'add_new_form' => __('Add new Form', 'ivyforms'),
130 'admin_notification_email' => __('Admin Notification Email', 'ivyforms'),
131 'are_you_sure_delete_form' => __('Are you sure you want to Delete this Form?', 'ivyforms'),
132 'are_you_sure_delete_forms' => __('Are you sure you want to Delete these Forms?', 'ivyforms'),
133 'author' => __('Author', 'ivyforms'),
134 'close' => __('Close', 'ivyforms'),
135 'copied_shortcode' => __('Copied shortcode to clipboard', 'ivyforms'),
136 'copy_shorcode_table_form' => __('Copy shortcode for the form', 'ivyforms'),
137 'date_created' => __('Date Created', 'ivyforms'),
138 'date_edited' => __('Date Edited', 'ivyforms'),
139 'date_filters' => __('Date filter', 'ivyforms'),
140 'delete_form' => __('Are you sure you want to Delete this Form?', 'ivyforms'),
141 'duplicate_form' => __('Duplicate this Form?', 'ivyforms'),
142 'duplicate_form_subtitle' => __('An exact copy will be added to your forms.', 'ivyforms'),
143 'duplicate_notification' => __('Duplicate this Notification?', 'ivyforms'),
144 'duplicate_notification_subtitle'=> __('An exact copy will be added to your notifications.', 'ivyforms'),
145 'duplicated_failed' => __('Failed to duplicate form', 'ivyforms'),
146 'edit_columns' => __('Select the columns to show in the table', 'ivyforms'),
147 'edit_table' => __('Edit Table', 'ivyforms'),
148 'empty_state_all_forms_subtitle' => __('Once you create a form it will appear here', 'ivyforms'),
149 'empty_state_all_forms_title' => __('We didn\'t find any forms', 'ivyforms'),
150 'error_deleting_form' => __('Error deleting form:', 'ivyforms'),
151 'error_deleting_forms' => __('Error deleting forms:', 'ivyforms'),
152 'error_duplicating_forms' => __('Error duplicating form:', 'ivyforms'),
153 'error_fetching_forms' => __('Error fetching forms:', 'ivyforms'),
154 'error_refreshing' => __('Error refreshing data', 'ivyforms'),
155 'error_updating_forms' => __('Error updating form:', 'ivyforms'),
156 'failed_to_create_form' => __('Failed to create form.', 'ivyforms'),
157 'failed_to_delete_form' => __('Failed to delete form:', 'ivyforms'),
158 'failed_to_delete_forms' => __('Failed to delete forms:', 'ivyforms'),
159 'failed_to_duplicate_form' => __('Failed to duplicate form.', 'ivyforms'),
160 'failed_to_star_form' => __('Failed to favorite form', 'ivyforms'),
161 'failed_to_unstar_form' => __('Failed to unfavorite form', 'ivyforms'),
162 'failed_to_update_form' => __('Failed to update form', 'ivyforms'),
163 'filters' => __('Filters for all forms', 'ivyforms'),
164 'flag' => __('Country flag icon', 'ivyforms'),
165 'form' => __('Form', 'ivyforms'),
166 'form_deleted' => __('Form deleted successfully', 'ivyforms'),
167 'form_loaded' => __('Form loaded successfully', 'ivyforms'),
168 'form_published' => __('Form published successfully', 'ivyforms'),
169 'form_starred' => __('Form moved to favorites', 'ivyforms'),
170 'form_unpublished' => __('Form unpublished successfully', 'ivyforms'),
171 'form_unstarred' => __('Form removed from favorites', 'ivyforms'),
172 'forms_deleted' => __('Forms deleted successfully', 'ivyforms'),
173 'get_current_state_err' => __('The getCurrentState method must be implemented by the store that uses this handler:', 'ivyforms'),
174 'id' => __('ID', 'ivyforms'),
175 'menu_button_element_not_found' => __('Menu button element not found', 'ivyforms'),
176 'reset_filters' => __('Reset filters', 'ivyforms'),
177 'select_all_forms' => __('Select All Forms', 'ivyforms'),
178 'select_form_header' => __('Select Form', 'ivyforms'),
179 'shortcode' => __('Shortcode', 'ivyforms'),
180 'show_all_forms' => __('Show/Hide All', 'ivyforms'),
181 'status_switch' => __('Switch to publish or unpublish the form', 'ivyforms'),
182 'thanks_reaching' => __('Thanks for reaching out! We’ve received your message and will get back to you shortly', 'ivyforms'),
183 'try_adjusting_criteria' => __('Try adjusting your search criteria', 'ivyforms'),
184 'unable_to_add_data' => __('Unable to add data in ', 'ivyforms'),
185 'unable_to_save_data' => __('Unable to save data in ', 'ivyforms'),
186 'unknown_entity' => __('Unknown entityPageName:', 'ivyforms'),
187 'unsaved_changes' => __('You have unsaved changes. If you leave now, your changes will be lost.', 'ivyforms'),
188 ];
189 }
190
191 /**
192 * Returns the array for the "New Form" page strings
193 *
194 * @return mixed[]
195 */
196 public static function getNewFormStrings(): array
197 {
198 return [
199 'add_field' => __('Add Field', 'ivyforms'),
200 'add_option' => __('Add Option', 'ivyforms'),
201 'address' => __('Address', 'ivyforms'),
202 'address_line_2' => __('Address Line 2', 'ivyforms'),
203 'advanced' => __('Advanced', 'ivyforms'),
204 'build' => __('Build', 'ivyforms'),
205 'characters' => __('Characters', 'ivyforms'),
206 'checkbox' => __('Checkbox', 'ivyforms'),
207 'city' => __('City', 'ivyforms'),
208 'clear_selection' => __('Clear Selection', 'ivyforms'),
209 'confirmation_label' => __('Confirmation Label', 'ivyforms'),
210 'confirmation_label_placeholder' => __('Confirm Email', 'ivyforms'),
211 'confirmation_placeholder' => __('Confirmation Placeholder', 'ivyforms'),
212 'confirmation_placeholder_placeholder' => __('Re-enter your email', 'ivyforms'),
213 'email_confirmation_label' => __('Email Confirmation Label', 'ivyforms'),
214 'email_confirmation_label_placeholder' => __('Confirm Email', 'ivyforms'),
215 'email_confirmation_placeholder' => __('Email Confirmation Placeholder', 'ivyforms'),
216 'email_confirmation_placeholder_placeholder' => __('Re-enter your email', 'ivyforms'),
217 'hide_email_confirmation_label' => __('Hide Email Confirmation Label', 'ivyforms'),
218 'copy_label' => __(' (copy)', 'ivyforms'),
219 'country' => __('Country', 'ivyforms'),
220 'css_classes' => __('CSS Classes', 'ivyforms'),
221 'css_classes_placeholder' => __('Add custom CSS class', 'ivyforms'),
222 'css_classes_tooltip' => __('Add custom CSS classes to style this field', 'ivyforms'),
223 'custom_validation_message' => __('Custom Validation Message', 'ivyforms'),
224 'custom_validation_placeholder' => __('{{field_name}} is invalid', 'ivyforms'),
225 'default' => __('Default', 'ivyforms'),
226 'default_value' => __('Default Value', 'ivyforms'),
227 'default_value_tooltip' => __('Set a default value for this field', 'ivyforms'),
228 'description' => __('Description', 'ivyforms'),
229 'description_message' => __('Description message', 'ivyforms'),
230 'dropdown' => __('Dropdown', 'ivyforms'),
231 'email' => __('Email', 'ivyforms'),
232 'empty_state_title' => __('Add a field to start building your form', 'ivyforms'),
233 'enable_confirmation' => __('Enable Confirmation', 'ivyforms'),
234 'enable_email_confirmation' => __('Enable Email Confirmation', 'ivyforms'),
235 'enable_auto_country_detection' => __('Enable Auto Country Detection', 'ivyforms'),
236 'enter_description_here' => __('Enter description here', 'ivyforms'),
237 'enter_email_address' => __('Please enter a valid email address.', 'ivyforms'),
238 'enter_phone_number' => __('Please enter a valid phone number.', 'ivyforms'),
239 'enter_text_here' => __('Enter text here', 'ivyforms'),
240 'enter_tooltip_message_here' => __('Enter tooltip message here', 'ivyforms'),
241 'enter_valid_website' => __('Please enter a valid website URL.', 'ivyforms'),
242 'error_loading_form' => __('Error loading form', 'ivyforms'),
243 'failed_to_fetch_form' => __('Failed to fetch form', 'ivyforms'),
244 'failed_to_load_form' => __('Failed to load the selected form', 'ivyforms'),
245 'failed_to_tab_form' => __('Failed to load form', 'ivyforms'),
246 'field_desc_placeholder' => __('Write your field description here', 'ivyforms'),
247 'field_required' => __('field is required', 'ivyforms'),
248 'first_name' => __('First Name', 'ivyforms'),
249 'first_save_form' => __('Please save the form before previewing', 'ivyforms'),
250 'general' => __('General', 'ivyforms'),
251 'hide_confirmation_label' => __('Hide Confirmation Label', 'ivyforms'),
252 'hide_label' => __('Hide label', 'ivyforms'),
253 'hours' => __('Hours', 'ivyforms'),
254 'input' => __('Input', 'ivyforms'),
255 'inside' => __('Inside', 'ivyforms'),
256 'label' => __('Label', 'ivyforms'),
257 'label_position' => __('Label Position', 'ivyforms'),
258 'label_position_default' => __('Default', 'ivyforms'),
259 'label_position_inside' => __('Inside', 'ivyforms'),
260 'label_position_left' => __('Left', 'ivyforms'),
261 'label_position_right' => __('Right', 'ivyforms'),
262 'label_position_top' => __('Top', 'ivyforms'),
263 'label_tooltip' => __('Label Tooltip', 'ivyforms'),
264 'last_name' => __('Last Name', 'ivyforms'),
265 'limit_maximum_length' => __('Limit Maximum Length', 'ivyforms'),
266 'maximum_length' => __('Maximum Length', 'ivyforms'),
267 'middle_name' => __('Middle Name', 'ivyforms'),
268 'minutes' => __('Minutes', 'ivyforms'),
269 'name' => __('Name', 'ivyforms'),
270 'name_field' => __('Name Field', 'ivyforms'),
271 'name_field_1' => __('Name Field 1', 'ivyforms'),
272 'name_field_2' => __('Name Field 2', 'ivyforms'),
273 'name_field_3' => __('Name Field 3', 'ivyforms'),
274 'name_field_4' => __('Name Field 4', 'ivyforms'),
275 'name_field_5' => __('Name Field 5', 'ivyforms'),
276 'no_duplicates' => __('No Duplicates', 'ivyforms'),
277 'no_field_selected' => __('No field selected', 'ivyforms'),
278 'number' => __('Number', 'ivyforms'),
279 'number_format' => __('Format', 'ivyforms'),
280 'number_format_none' => __('None', 'ivyforms'),
281 'number_format_us_decimal' => __('US Style with Decimal (Ex: 123,456.00)', 'ivyforms'),
282 'number_format_us_int' => __('US Style without Decimal (Ex: 123,456,789)', 'ivyforms'),
283 'number_format_eu_decimal' => __('EU Style with Decimal (Ex: 123.456,00)', 'ivyforms'),
284 'number_format_eu_int' => __('EU Style without Decimal (Ex: 123.456.789)', 'ivyforms'),
285 'options' => __('Options', 'ivyforms'),
286 'options_list' => __('Options List', 'ivyforms'),
287 'paragraph' => __('Paragraph', 'ivyforms'),
288 'partonomic_name' => __('Partonomic Name', 'ivyforms'),
289 'phone' => __('Phone', 'ivyforms'),
290 'phone_format' => __('Phone Format', 'ivyforms'),
291 'phone_format_e164' => __('E.164', 'ivyforms'),
292 'phone_format_international' => __('International', 'ivyforms'),
293 'phone_format_national' => __('National', 'ivyforms'),
294 'phone_number' => __('Phone number', 'ivyforms'),
295 'password' => __('Password', 'ivyforms'),
296 'placeholder' => __('Placeholder', 'ivyforms'),
297 'please_select_field' => __('Please select a field to view its options.', 'ivyforms'),
298 'prefix' => __('Prefix', 'ivyforms'),
299 'preview_form' => __('Preview form', 'ivyforms'),
300 'radio_button' => __('Radio Button', 'ivyforms'),
301 'range_from' => __('Range from', 'ivyforms'),
302 'range_to' => __('Range to', 'ivyforms'),
303 'read_only' => __('Read Only', 'ivyforms'),
304 'require_pro_plan' => __('This feature requires Pro plugin. Please upgrade your plan to access this feature.', 'ivyforms'),
305 'require_starter_plan' => __('This feature requires at least the Starter plan. Please upgrade your plan to access this feature..', 'ivyforms'),
306 'required' => __('Required', 'ivyforms'),
307 'required_message' => __('Required message', 'ivyforms'),
308 'required_message_placeholder' => __('Write your field required message here', 'ivyforms'),
309 'results' => __('Results', 'ivyforms'),
310 'rows' => __('rows', 'ivyforms'),
311 'select_form' => __('Select a form', 'ivyforms'),
312 'show_layouts' => __('Show Layouts', 'ivyforms'),
313 'signature' => __('Signature', 'ivyforms'),
314 'smart_logic' => __('Smart Logic', 'ivyforms'),
315 'state' => __('State / Province', 'ivyforms'),
316 'step' => __('Step', 'ivyforms'),
317 'street_address' => __('Street Address', 'ivyforms'),
318 'style' => __('Style', 'ivyforms'),
319 'sublabel' => __('Sublabel', 'ivyforms'),
320 'submit' => __('Submit', 'ivyforms'),
321 'suffix' => __('Suffix', 'ivyforms'),
322 'support' => __('Support', 'ivyforms'),
323 'text' => __('Text', 'ivyforms'),
324 'text_area_size' => __('Text area size', 'ivyforms'),
325 'this_field_is_required' => __('This field is required', 'ivyforms'),
326 'validation' => __('Validation', 'ivyforms'),
327 'time_dropdown' => __('Time (Dropdown)', 'ivyforms'),
328 'time_field_type' => __('Time Field Type', 'ivyforms'),
329 'time_format' => __('Time Format', 'ivyforms'),
330 'time_input' => __('Time (Input)', 'ivyforms'),
331 'time_picker' => __('Time Picker', 'ivyforms'),
332 'top' => __('Top', 'ivyforms'),
333 'website' => __('Website/Url', 'ivyforms'),
334 'website_prefix_placeholder' => __('https://', 'ivyforms'),
335 'website_suffix_placeholder' => __('.com', 'ivyforms'),
336 'zip' => __('Zip / Postal Code', 'ivyforms'),
337 ];
338 }
339
340 /**
341 * Returns the array for the "Settings form builder" page strings
342 *
343 * @return mixed[]
344 */
345 public static function getSettingsFormBuilderStrings(): array
346 {
347 return [
348 'after_form_submission' => __('After Form Submission:', 'ivyforms'),
349 'allow_ivy_mailchimp_integration' => __('Allow IvyForms to be used as a data source in Mailchimp', 'ivyforms'),
350 'allow_ivy_wpdatatables_integration' => __('Allow IvyForms to be used as a data source in wpDataTables', 'ivyforms'),
351 'are_you_sure_delete_field' => __('Are you sure you want to Delete this Field?', 'ivyforms'),
352 'are_you_sure_delete_notification' => __('Are you sure you want to Delete this Notification?', 'ivyforms'),
353 'blank_form' => __('Blank form', 'ivyforms'),
354 'confirmations' => __('Confirmations', 'ivyforms'),
355 'create_confirmation' => __('Confirmation created successfully', 'ivyforms'),
356 'create_notification' => __('Notification created successfully', 'ivyforms'),
357 'custom_url' => __('Custom URL', 'ivyforms'),
358 'date' => __('Date', 'ivyforms'),
359 'duplicated_notification' => __('Notification duplicated successfully', 'ivyforms'),
360 'empty_state_notification_subtitle' => __('Once you create a notification it will appear here', 'ivyforms'),
361 'empty_state_notification_title' => __('We didn\'t find any notifications', 'ivyforms'),
362 'enable_confirmation' => __('Enable or disable this confirmation', 'ivyforms'),
363 'enable_general' => __('Enable or disable this form', 'ivyforms'),
364 'enable_notification' => __('Enable or disable this notification', 'ivyforms'),
365 'enabled_status' => __('Enabled', 'ivyforms'),
366 'enter_url' => __('Enter URL', 'ivyforms'),
367 'error_creating_confirmation' => __('Error creating confirmation:', 'ivyforms'),
368 'error_creating_notification' => __('Error creating notification:', 'ivyforms'),
369 'error_deleting_notification' => __('Error deleting notification:', 'ivyforms'),
370 'error_duplicate_confirmation' => __('Error duplicating confirmation:', 'ivyforms'),
371 'error_duplicate_notification' => __('Error duplicating notification:', 'ivyforms'),
372 'error_loading_data_confirmation' => __('Error loading data:', 'ivyforms'),
373 'error_loading_notification' => __('Error loading notification:', 'ivyforms'),
374 'error_save_form' => __('Error saving form:', 'ivyforms'),
375 'error_saving_notification' => __('Error saving notification:', 'ivyforms'),
376 'error_to_update_confirmation' => __('Error updating confirmation', 'ivyforms'),
377 'error_updating_notification' => __('Error updating notification:', 'ivyforms'),
378 'example' => __('example', 'ivyforms'),
379 'failed_to_create_confirmation' => __('Failed to create confirmation.', 'ivyforms'),
380 'failed_to_create_default_notification' => __('Failed to create default notification', 'ivyforms'),
381 'failed_to_create_notification' => __('Failed to create notification', 'ivyforms'),
382 'failed_to_delete_notification' => __('Failed to delete notification', 'ivyforms'),
383 'failed_to_duplicate_confirmation' => __('Failed to duplicate confirmation:', 'ivyforms'),
384 'failed_to_duplicate_notification' => __('Failed to duplicate notification', 'ivyforms'),
385 'failed_to_fetch_notification' => __('Failed to fetch notification:', 'ivyforms'),
386 'failed_to_load_confirmation' => __('Failed to load confirmation:', 'ivyforms'),
387 'failed_to_load_notification' => __('Failed to load notification:', 'ivyforms'),
388 'failed_to_save_form' => __('Failed to save form', 'ivyforms'),
389 'failed_to_update_confirmation' => __('Failed to update confirmation', 'ivyforms'),
390 'failed_to_update_notification' => __('Failed to update notification', 'ivyforms'),
391 'filtered_data_notification' => __('Filtered Data:', 'ivyforms'),
392 'form_description' => __('Write your description here', 'ivyforms'),
393 'form_saved' => __('Form saved successfully!', 'ivyforms'),
394 'form_updated' => __('Form updated successfully!', 'ivyforms'),
395 'general_settings' => __('General Settings', 'ivyforms'),
396 'hide_form' => __('Hide Form', 'ivyforms'),
397 'integrate_wpdatatables' => __('Integrate wpDataTables', 'ivyforms'),
398 'mailchimp_integration_settings' => __('Mailchimp Integration Settings', 'ivyforms'),
399 'message' => __('Message', 'ivyforms'),
400 'message_tooltip' => __('Message displayed to the user after a successful form submission.', 'ivyforms'),
401 'new_notification' => __('New Notification', 'ivyforms'),
402 'notification_deleted' => __('Notification deleted successfully', 'ivyforms'),
403 'notification_duplicated' => __('Notification duplicated successfully', 'ivyforms'),
404 'notification_loaded' => __('Notifications loaded successfully', 'ivyforms'),
405 'notifications' => __('Notifications', 'ivyforms'),
406 'overridden_warn' => __('HTML formatting may be overridden by plain text formatting upon switching between modes', 'ivyforms'),
407 'receiver' => __('Receiver', 'ivyforms'),
408 'redirect_to_custom_url' => __('Redirect to Custom URL', 'ivyforms'),
409 'redirect_to_page' => __('Redirect to Page', 'ivyforms'),
410 'redirection_url_tooltip' => __('Enter the custom URL to redirect users after form submission.', 'ivyforms'),
411 'reset_form' => __('Reset Form', 'ivyforms'),
412 'search_notifications' => __('Search Notifications', 'ivyforms'),
413 'select_page' => __('Select page', 'ivyforms'),
414 'select_tooltip' => __('Select the page where users will be redirected after form submission.', 'ivyforms'),
415 'send_from' => __('Send from', 'ivyforms'),
416 'send_to' => __('Send to', 'ivyforms'),
417 'show_form_description' => __('Show the form description', 'ivyforms'),
418 'show_form_title' => __('Show the form title', 'ivyforms'),
419 'store_entries_db' => __('Store entries in Database', 'ivyforms'),
420 'subject' => __('Subject', 'ivyforms'),
421 'success_message' => __('Success Message', 'ivyforms'),
422 'time' => __('Time', 'ivyforms'),
423 'time_picker' => __('Time (Picker)', 'ivyforms'),
424 'unexpected_response_structure' => __('Unexpected response structure', 'ivyforms'),
425 'update_confirmation' => __('Confirmation updated successfully', 'ivyforms'),
426 'update_notification' => __('Notification updated successfully', 'ivyforms'),
427 'updated_form' => __('Updated form', 'ivyforms'),
428 'updating_duplicated_confirmation' => __('Confirmation duplicated successfully', 'ivyforms'),
429 'wpdatatables_integration_settings' => __('wpDataTables Integration Settings', 'ivyforms'),
430 ];
431 }
432
433 /**
434 * Returns the array for the "Results Form Builder" page strings
435 *
436 * @return mixed[]
437 */
438 public static function getResultsFormBuilderStrings(): array
439 {
440 return [
441 'insights' => __('Insights', 'ivyforms'),
442 'report' => __('Report', 'ivyforms'),
443 ];
444 }
445
446 /**
447 * Returns the array for the "Empty States" parts strings
448 *
449 * @return mixed[]
450 */
451 public static function getEmptyStatesStrings(): array
452 {
453 return [
454 'clipboard_api_not_supported' => __('Clipboard API not supported', 'ivyforms'),
455 'collapse' => __('Collapse', 'ivyforms'),
456 'copy_shortcode' => __('Copy shortcode', 'ivyforms'),
457 'coming_soon' => __('Coming Soon...', 'ivyforms'),
458 'dark_theme' => __('Dark Theme', 'ivyforms'),
459 'expand_collapse' => __('Expand or collapse the content area to make better use of your screen space.', 'ivyforms'),
460 'form_id_not_found' => __('Form ID not found, please save the form first.', 'ivyforms'),
461 'full_screen' => __('Full Screen', 'ivyforms'),
462 'get_help' => __('Get help or contact our support team for assistance with any issues or questions.', 'ivyforms'),
463 'light_theme' => __('Light Theme', 'ivyforms'),
464 'shortcode_copied' => __('Shortcode copied!', 'ivyforms'),
465 'we_are_working_on_it' => __('We are working on it.', 'ivyforms'),
466 ];
467 }
468
469 /**
470 * Returns the array for the "Entries" page strings
471 *
472 * @return mixed[]
473 */
474 public static function getEntriesStrings(): array
475 {
476 return [
477 'all_entries' => __('All Entries', 'ivyforms'),
478 'are_you_sure_delete_entries' => __('Are you sure you want to Delete these Entries?', 'ivyforms'),
479 'are_you_sure_delete_entry' => __('Are you sure you want to Delete this Entry?', 'ivyforms'),
480 'browser' => __('Browser', 'ivyforms'),
481 'date_submitted' => __('Date Submitted', 'ivyforms'),
482 'date_created' => __('Date Created', 'ivyforms'),
483 'entries' => __('Entries', 'ivyforms'),
484 'entries_deleted' => __('Entries deleted successfully', 'ivyforms'),
485 'empty_state_all_entries_title' => __('We didn\'t find any entries', 'ivyforms'),
486 'empty_state_all_entries_subtitle' => __('Once your forms start receiving submissions, entries will appear here.', 'ivyforms'),
487 'empty_state_filters_all_entries_title' => __('Oops! Looks like there’s nothing here.', 'ivyforms'),
488 'empty_state_filters_all_entries_subtitle' => __('Try again with different keywords or filters.', 'ivyforms'),
489 'entry' => __('Entry', 'ivyforms'),
490 'entry_deleted' => __('Entry deleted successfully', 'ivyforms'),
491 'entry_id' => __('Entry ID', 'ivyforms'),
492 'entry_read' => __('Entry marked as read', 'ivyforms'),
493 'entry_starred' => __('Entry moved to favorites', 'ivyforms'),
494 'entry_unread' => __('Entry marked as unread', 'ivyforms'),
495 'entry_unstarred' => __('Entry removed from favorites', 'ivyforms'),
496 'entry_updated' => __('Entry updated successfully', 'ivyforms'),
497 'error_deleting_entries' => __('Error deleting entries:', 'ivyforms'),
498 'error_fetching_entries' => __('Error fetching entries:', 'ivyforms'),
499 'error_updating_entry' => __('Error updating entry:', 'ivyforms'),
500 'failed_to_delete_entry' => __('Failed to delete entry:', 'ivyforms'),
501 'failed_to_delete_entries' => __('Failed to delete entries:', 'ivyforms'),
502 'failed_to_get_entry' => __('Failed to get entry:', 'ivyforms'),
503 'failed_to_update_entry' => __('Failed to update entry', 'ivyforms'),
504 'failed_to_update_entry_status' => __('Failed to update entry status', 'ivyforms'),
505 'failed_to_star_entry' => __('Failed to favorite entry', 'ivyforms'),
506 'failed_to_unstar_entry' => __('Failed to unfavorite entry', 'ivyforms'),
507 'form_id' => __('Form ID', 'ivyforms'),
508 'form_name' => __('Form Name', 'ivyforms'),
509 'general_details' => __('General Details', 'ivyforms'),
510 'id' => __('ID', 'ivyforms'),
511 'ip_address' => __('IP Address', 'ivyforms'),
512 'show_all_entries' => __('Show/Hide All', 'ivyforms'),
513 'show_empty_fields' => __('Show Empty Fields', 'ivyforms'),
514 'source_url' => __('Source URL', 'ivyforms'),
515 'starred' => __('Starred', 'ivyforms'),
516 'status' => __('Status', 'ivyforms'),
517 'submitted_on' => __('Submitted On', 'ivyforms'),
518 'unknown' => __('Unknown', 'ivyforms'),
519 'user_agent' => __('User Agent', 'ivyforms'),
520 'user_information' => __('User Information', 'ivyforms'),
521 'user_id' => __('User ID', 'ivyforms'),
522 'user_ip' => __('User IP', 'ivyforms'),
523 ];
524 }
525
526 /**
527 * Returns the array for the "Integrations" page strings
528 *
529 * @return mixed[]
530 */
531 public static function getIntegrationsStrings(): array
532 {
533 return [
534 'all' => __('All', 'ivyforms'),
535 'integrations' => __('Integrations', 'ivyforms'),
536 'integrations_section_title' => __('Manage Integrations', 'ivyforms'),
537 'integrations_section_body' => __('Here is the list of all IvyForms integrations. You can enable or disable the integrations based on your needs.', 'ivyforms'),
538 'lite' => __('Lite', 'ivyforms'),
539 'mailchimp' => __('Mailchimp', 'ivyforms'),
540 'mailchimp_integration_description' => __('Connect your forms to Mailchimp and grow your email list effortlessly.', 'ivyforms'),
541 'premium' => __('Premium', 'ivyforms'),
542 'pro' => __('Pro', 'ivyforms'),
543 'soon' => __('Soon', 'ivyforms'),
544 'wpdatatables' => __('wpDataTables', 'ivyforms'),
545 'wpdatatables_integration_description' => __('Easily export form submissions to wpDataTables for advanced data management and visualization.', 'ivyforms'),
546 ];
547 }
548
549 /**
550 * Returns the array for the "Security" page strings
551 *
552 * @return mixed[]
553 */
554 public static function getSecurityStrings(): array
555 {
556 return [
557 'browser_default' => __('Browser default', 'ivyforms'),
558 'configure_now' => __('Configure now', 'ivyforms'),
559 'captcha_secret_key' => __('Secret Key', 'ivyforms'),
560 'captcha_site_key' => __('Site Key', 'ivyforms'),
561 'enter_secret_key' => __('Enter secret key', 'ivyforms'),
562 'enter_site_key' => __('Enter site key', 'ivyforms'),
563 'enable_honeypot_protection' => __('Enable Honeypot Protection', 'ivyforms'),
564 'enter_hcaptcha_secret_key' => __('Enter hCaptcha secret key', 'ivyforms'),
565 'enter_hcaptcha_site_key' => __('Enter hCaptcha site key', 'ivyforms'),
566 'enter_turnstile_secret_key' => __('Enter Turnstile secret key', 'ivyforms'),
567 'enter_turnstile_site_key' => __('Enter Turnstile site key', 'ivyforms'),
568 'honeypot_protection' => __('Honeypot Protection', 'ivyforms'),
569 'honeypot_protection_description' => __('Honeypot protection adds hidden fields to your forms to catch spam bots.', 'ivyforms'),
570 'not_a_robot' => __('I\'m not a robot', 'ivyforms'),
571 'no_captcha_provider' => __('No CAPTCHA provider specified', 'ivyforms'),
572 'protected_by' => __('protected by', 'ivyforms'),
573 'privacy' => __('Privacy', 'ivyforms'),
574 'recaptcha' => __('reCaptcha', 'ivyforms'),
575 'recaptcha_configured' => __('reCAPTCHA is configured and ready to use', 'ivyforms'),
576 'recaptcha_invisible' => __('Invisible reCAPTCHA', 'ivyforms'),
577 'recaptcha_language' => __('reCAPTCHA Language', 'ivyforms'),
578 'recaptcha_type' => __('reCAPTCHA Type', 'ivyforms'),
579 'recaptcha_v2' => __('reCAPTCHA v2', 'ivyforms'),
580 'recaptcha_v3' => __('reCAPTCHA v3', 'ivyforms'),
581 'recaptcha_verification' => __('reCAPTCHA Verification', 'ivyforms'),
582 'recaptcha_v2_description' => __('I\'m not a robot checkbox verification', 'ivyforms'),
583 'recaptcha_v3_description' => __('Invisible background verification', 'ivyforms'),
584 'recaptcha_invisible_description' => __('Invisible verification', 'ivyforms'),
585 'recaptcha_not_configured' => __('reCAPTCHA needs to be configured in security settings first.', 'ivyforms'),
586 'recaptcha_required' => __('reCAPTCHA verification is required.', 'ivyforms'),
587 'recaptcha_instruction' => __('To use the reCAPTCHA field, you first need to generate a free site key and secret key via reCAPTCHA', 'ivyforms'),
588 // Validation messages
589 'recaptcha_keys_required' => __('Both site key and secret key are required', 'ivyforms'),
590 'recaptcha_invalid_key_format' => __('Invalid key format. Please check your reCAPTCHA keys', 'ivyforms'),
591 'recaptcha_validation_network_error' => __('Unable to validate keys due to network error', 'ivyforms'),
592 'recaptcha_invalid_secret_key' => __('Invalid secret key. Please verify your reCAPTCHA secret key', 'ivyforms'),
593 'recaptcha_invalid_site_key' => __('Invalid site key. Please verify your reCAPTCHA site key', 'ivyforms'),
594 'recaptcha_keys_validated' => __('reCAPTCHA keys validated successfully', 'ivyforms'),
595 'recaptcha_keys_format_valid' => __('reCAPTCHA keys format appears valid', 'ivyforms'),
596 'recaptcha_settings_incomplete' => __('reCAPTCHA settings are incomplete', 'ivyforms'),
597 'recaptcha_invalid_type' => __('Invalid reCAPTCHA type selected', 'ivyforms'),
598 'recaptcha_validation_failed' => __('reCAPTCHA validation failed. Settings not saved', 'ivyforms'),
599 'recaptcha_credentials_valid' => __('Credentials are valid', 'ivyforms'),
600 'recaptcha_unable_to_validate' => __('Unable to validate credentials with Google reCAPTCHA service', 'ivyforms'),
601 // Exception messages
602 'recaptcha_verification_required' => __('reCAPTCHA verification required.', 'ivyforms'),
603 'recaptcha_verification_failed' => __('reCAPTCHA verification failed. Please try again.', 'ivyforms'),
604 // Google API error messages
605 'recaptcha_error_missing_secret' => __('The secret parameter is missing.', 'ivyforms'),
606 'recaptcha_error_invalid_secret' => __('The secret parameter is invalid or malformed.', 'ivyforms'),
607 'recaptcha_error_missing_response' => __('The response parameter is missing.', 'ivyforms'),
608 'recaptcha_error_invalid_response' => __('The response parameter is invalid or malformed.', 'ivyforms'),
609 'recaptcha_error_bad_request' => __('The request is invalid or malformed.', 'ivyforms'),
610 'recaptcha_error_timeout_duplicate' => __('The response is no longer valid: either is too old or has been used previously.', 'ivyforms'),
611 'recaptcha_error_unknown' => __('Unknown error: %s', 'ivyforms'),
612 // Test token generation
613 'test_token_prefix' => __('test-token', 'ivyforms'),
614 // Frontend error messages
615 'recaptcha_not_initialized' => __('reCAPTCHA not initialized', 'ivyforms'),
616 'recaptcha_widget_not_initialized' => __('Invisible reCAPTCHA widget not initialized', 'ivyforms'),
617 'recaptcha_execution_timeout' => __('reCAPTCHA execution timeout', 'ivyforms'),
618 'recaptcha_execute_not_supported' => __('Execute is only supported for v3 and invisible reCAPTCHA', 'ivyforms'),
619 'recaptcha_widget_not_initialized_field' => __('reCAPTCHA widget not initialized', 'ivyforms'),
620 'recaptcha_v3_failed' => __('reCAPTCHA v3 execution failed', 'ivyforms'),
621 'recaptcha_init_failed' => __('Failed to initialize reCAPTCHA', 'ivyforms'),
622 'recaptcha_initialization_failed' => __('reCAPTCHA initialization failed', 'ivyforms'),
623 'recaptcha_invisible_failed' => __('reCAPTCHA invisible execution failed', 'ivyforms'),
624 'recaptcha_complete_verification' => __('Please complete the reCAPTCHA verification', 'ivyforms'),
625 'unknown_captcha_provider' => __('Unknown CAPTCHA provider', 'ivyforms'),
626 'unknown_captcha_provider_with_name' => __('Unknown CAPTCHA provider: %s', 'ivyforms'),
627 'terms' => __('Terms', 'ivyforms'),
628 ];
629 }
630
631 /**
632 * Returns the array for the entities modal
633 *
634 * @return mixed[]
635 */
636 public static function getEntityFormStrings(): array
637 {
638 return [
639 'duplicate' => __('Duplicate', 'ivyforms'),
640 'loader_message' => __('Please Wait', 'ivyforms'),
641 'visible' => __('Visible', 'ivyforms'),
642 ];
643 }
644
645 /**
646 * Returns the array for the components
647 *
648 * @return mixed[]
649 */
650 public static function getComponentsStrings(): array
651 {
652 return [
653 'action_button' => __('Action button', 'ivyforms'),
654 'address_fields' => __('Address Fields', 'ivyforms'),
655 'add_choice' => __('Add Choice', 'ivyforms'),
656 'add_option' => __('Add Option', 'ivyforms'),
657 'add_star' => __('Add star', 'ivyforms'),
658 'add_subfolder' => __('Add subfolder', 'ivyforms'),
659 'admin_email' => __('Admin Email', 'ivyforms'),
660 'allow_search_options' => __('Allow users to search options.', 'ivyforms'),
661 'adjusting_your_search_phone' => __('Try adjusting your search to find what you\'re looking for.', 'ivyforms'),
662 'all_data' => __('All data', 'ivyforms'),
663 'bulk_edit' => __('Bulk Edit', 'ivyforms'),
664 'choice_1' => __('Choice 1', 'ivyforms'),
665 'choice_2' => __('Choice 2', 'ivyforms'),
666 'choice_3' => __('Choice 3', 'ivyforms'),
667 'choice_type' => __('Choice Type', 'ivyforms'),
668 'clear' => __('Clear', 'ivyforms'),
669 'configure_options_field' => __('Configure the options for this field.', 'ivyforms'),
670 'default' => __('Default', 'ivyforms'),
671 'date' => __('Date', 'ivyforms'),
672 'download' => __('Download', 'ivyforms'),
673 'edit' => __('Edit', 'ivyforms'),
674 'entry_id' => __('Entry ID', 'ivyforms'),
675 'enable_search' => __('Enable Search', 'ivyforms'),
676 'export' => __('Export', 'ivyforms'),
677 'fields' => __('Fields', 'ivyforms'),
678 'font_family' => __('Font Family Select', 'ivyforms'),
679 'go_to' => __('Go to', 'ivyforms'),
680 'go_to_settings' => __('Go to Settings', 'ivyforms'),
681 'header_button' => __('Header button', 'ivyforms'),
682 'heading_level' => __('Heading Level Select', 'ivyforms'),
683 'html' => __('HTML', 'ivyforms'),
684 'image_url' => __('Image Url', 'ivyforms'),
685 'import' => __('Import', 'ivyforms'),
686 'indicator_button' => __('Indicator button', 'ivyforms'),
687 'insert_image_by_url' => __('Insert Image By URL', 'ivyforms'),
688 'insert_placeholders' => __('Insert Placeholders', 'ivyforms'),
689 'install' => __('Install', 'ivyforms'),
690 'items_per_page' => __('Items per page', 'ivyforms'),
691 'locate' => __('Locate', 'ivyforms'),
692 'mark_as_read' => __('Mark as read', 'ivyforms'),
693 'mark_as_spam' => __('Mark as spam', 'ivyforms'),
694 'mark_as_unread' => __('Mark as unread', 'ivyforms'),
695 'move_down' => __('Move down', 'ivyforms'),
696 'move_to_folder' => __('Move to folder', 'ivyforms'),
697 'move_to_folder_clicked' => __('Move to folder clicked', 'ivyforms'),
698 'move_up' => __('Move up', 'ivyforms'),
699 'multiple_choice' => __('Multiple Choice', 'ivyforms'),
700 'none' => __('None', 'ivyforms'),
701 'next' => __('Next', 'ivyforms'),
702 'no_fields_available' => __('No fields available', 'ivyforms'),
703 'no_placeholders_available' => __('No placeholders available', 'ivyforms'),
704 'off' => __('Off', 'ivyforms'),
705 'on' => __('On', 'ivyforms'),
706 'open_in_new_tab' => __('Open in new tab', 'ivyforms'),
707 'option1' => __('option1', 'ivyforms'),
708 'option2' => __('option2', 'ivyforms'),
709 'option_1' => __('Option 1', 'ivyforms'),
710 'option_2' => __('Option 2', 'ivyforms'),
711 'option_button' => __('Option button', 'ivyforms'),
712 'option_label' => __('Option Label', 'ivyforms'),
713 'option_value' => __('Option Value', 'ivyforms'),
714 'option_list' => __('Option List:', 'ivyforms'),
715 'pagination_navigation' => __('Pagination navigation', 'ivyforms'),
716 'post_id' => __('Post ID', 'ivyforms'),
717 'post_permalink' => __('Post Permalink', 'ivyforms'),
718 'post_title' => __('Post Title', 'ivyforms'),
719 'preview' => __('Preview', 'ivyforms'),
720 'previous' => __('Previous', 'ivyforms'),
721 'print' => __('Print', 'ivyforms'),
722 'published' => __('Published', 'ivyforms'),
723 'randomize_order_options' => __('Randomize the order of options each time.', 'ivyforms'),
724 'referer_url' => __('Referer URL', 'ivyforms'),
725 'remove_star' => __('Remove star', 'ivyforms'),
726 'rename' => __('Rename', 'ivyforms'),
727 'resend_notification' => __('Resend notification', 'ivyforms'),
728 'reset' => __('Reset', 'ivyforms'),
729 'restore' => __('Restore', 'ivyforms'),
730 'save_as_draft' => __('Save as draft', 'ivyforms'),
731 'scrollable_content' => __('Scrollable content', 'ivyforms'),
732 'search' => __('Search', 'ivyforms'),
733 'search_placeholder' => __('Search Placeholder', 'ivyforms'),
734 'select' => __('Select', 'ivyforms'),
735 'select_options' => __('Select options', 'ivyforms'),
736 'show_all' => __('Show all', 'ivyforms'),
737 'show_values' => __('Show Values', 'ivyforms'),
738 'shuffle_options' => __('Shuffle the available options', 'ivyforms'),
739 'single_choice' => __('Single Choice', 'ivyforms'),
740 'site_title' => __('Site Title', 'ivyforms'),
741 'site_url' => __('Site URL', 'ivyforms'),
742 'sort_by' => __('Sort by', 'ivyforms'),
743 'theme_switch' => __('Theme Switch', 'ivyforms'),
744 'toggle_switch' => __('Toggle Switch', 'ivyforms'),
745 'tooltip' => __('Tooltip', 'ivyforms'),
746 'total' => __('Total', 'ivyforms'),
747 'translate' => __('Translate', 'ivyforms'),
748 'trash' => __('Trash', 'ivyforms'),
749 'uninstall' => __('Uninstall', 'ivyforms'),
750 'upgrade' => __('Upgrade', 'ivyforms'),
751 'unpublished' => __('Unpublished', 'ivyforms'),
752 'unread' => __('Unread', 'ivyforms'),
753 'unstarred' => __('Unstarred', 'ivyforms'),
754 'upload_image' => __('Upload Image', 'ivyforms'),
755 'user_agent' => __('User Agent', 'ivyforms'),
756 'user_email' => __('User Email', 'ivyforms'),
757 'user_first_name' => __('User First Name', 'ivyforms'),
758 'user_id' => __('User ID', 'ivyforms'),
759 'user_ip' => __('User IP', 'ivyforms'),
760 'user_last_name' => __('User Last Name', 'ivyforms'),
761 'user_name' => __('User Name', 'ivyforms'),
762 'visual' => __('Visual', 'ivyforms'),
763 'read' => __('Read', 'ivyforms'),
764 'with_icons' => __('With Icons', 'ivyforms'),
765 'with_image' => __('With Image', 'ivyforms'),
766 ];
767 }
768
769 /**
770 * Returns the array for the exception strings
771 *
772 * @return mixed[]
773 */
774 public static function getExceptionStrings(): array {
775 return [
776 'active_notif_not_found' => __('Active notifications not found.', 'ivyforms'),
777 'autoload_not_found' => __('Autoload file not found.', 'ivyforms'),
778 'confirmation_id_required' => __('Confirmation ID is required.', 'ivyforms'),
779 'confirmation_not_found' => __('Confirmation not found.', 'ivyforms'),
780 'container_not_found' => __('Container file not found.', 'ivyforms'),
781 'duplicate_value_exists' => __('This value must be unique. Please use a different value.', 'ivyforms'),
782 'entry_id_required' => __('Entry ID is required.', 'ivyforms'),
783 'entry_not_found' => __('Entry not found.', 'ivyforms'),
784 'error_log_failed_send' => __('Failed to send email notification for form ID: %s', 'ivyforms'),
785 'error_log_invalid_email' => __('Invalid sender or receiver email after placeholder replacement. Sender: %s Receiver: %s', 'ivyforms'),
786 'error_in_before_save_field_hook'=> __('Error in beforeSaveFields hook:', 'ivyforms'),
787 'error_in_field_init_hook' => __('Error in field init hook:', 'ivyforms'),
788 'failed_delete_by_foreign_key' => __('Failed to delete records with foreign key %s from table %s', 'ivyforms'),
789 'failed_delete_by_foreign_keys' => __('Failed to delete records with foreign keys %s from table %s', 'ivyforms'),
790 'failed_delete_by_id' => __('Failed to delete record with ID %s from table %s', 'ivyforms'),
791 'failed_check_duplicates' => __('Failed to check duplicates: %s', 'ivyforms'),
792 'failed_delete_by_ids' => __('Failed to delete records with IDs %s from table %s', 'ivyforms'),
793 'field_id_required' => __('Field ID is required.', 'ivyforms'),
794 'form_id_required' => __('Form ID is required.', 'ivyforms'),
795 'form_not_found' => __('Form not found.', 'ivyforms'),
796 'id_positive_integer' => __('ID must be a positive integer.', 'ivyforms'),
797 'int_positive_integer' => __('Value must be a positive integer.', 'ivyforms'),
798 'invalid_column_name_deletion' => __('Invalid column name provided for deletion.', 'ivyforms'),
799 'invalid_entry_id' => __('Invalid entry ID.', 'ivyforms'),
800 'invalid_field_id' => __('Invalid field ID.', 'ivyforms'),
801 'invalid_field_type' => __('Invalid field type.', 'ivyforms'),
802 'invalid_foreign_column' => __('Invalid foreign column provided.', 'ivyforms'),
803 'invalid_form_data' => __('Invalid form data.', 'ivyforms'),
804 'invalid_form_id' => __('Invalid Form ID.', 'ivyforms'),
805 'invalid_id' => __('Invalid ID.', 'ivyforms'),
806 'invalid_nonce' => __('Invalid nonce.', 'ivyforms'),
807 'invalid_request_data' => __('Invalid request data.', 'ivyforms'),
808 'ivyforms_not_installed' => __('IvyForms plugin is not installed or activated', 'ivyforms'),
809 'no_confirmation_ids_provided' => __('No confirmation IDs provided for deletion.', 'ivyforms'),
810 'no_entry_ids_provided' => __('No entry IDs provided for deletion.', 'ivyforms'),
811 'no_field_ids_provided' => __('No field IDs provided for deletion.', 'ivyforms'),
812 'no_form_ids_provided' => __('No form IDs provided for deletion.', 'ivyforms'),
813 'no_notification_ids_provided' => __('No notification IDs provided for deletion.', 'ivyforms'),
814 'notification_id_required' => __('Notification ID is required.', 'ivyforms'),
815 'notification_ids_required' => __('Notification IDs are required and must be an array.', 'ivyforms'),
816 'notification_not_found' => __('Notification not found.', 'ivyforms'),
817 'parentId_positive_integer' => __('The parentId must be a positive integer or null.', 'ivyforms'),
818 'property_positive_integer' => __('The property must be a positive integer.', 'ivyforms'),
819 'please_enter_a_url' => __('Please enter a URL.', 'ivyforms'),
820 'please_enter_a_valid_url' => __('Please enter a valid URL.', 'ivyforms'),
821 'please_select_a_page' => __('Please select a page.', 'ivyforms'),
822 'table_name_not_provided' => __('Table name is not provided.', 'ivyforms'),
823 'time_conversion_failed' => __('Failed to create timestamp from time components', 'ivyforms'),
824 'unexpected_http_status' => __('Unexpected HTTP status code', 'ivyforms'),
825 'wp_timezone_not_exist' => __('WordPress function wp_timezone() does not exist', 'ivyforms'),
826 'unable_find_by_id' => __('Unable to find by id in ', 'ivyforms'),
827 'unable_get_entry_fields' => __('Unable to fetch entry fields in ', 'ivyforms'),
828 'unable_get_form_names' => __('Unable to fetch form names for entries in ', 'ivyforms'),
829 'unable_search_entries' => __('Unable to search entries in ', 'ivyforms'),
830 'unable_to_add_data' => __('Unable to add data in ', 'ivyforms'),
831 'unable_update_data' => __('Unable to update data in ', 'ivyforms'),
832 'unable_update_starred' => __('Unable to update starred status in ', 'ivyforms'),
833 'unable_update_status' => __('Unable to update entry status in ', 'ivyforms'),
834 'unknown_error' => __('Unknown error', 'ivyforms'),
835 ];
836 }
837
838 /**
839 * Returns the array for the templates
840 *
841 * @return mixed[]
842 */
843 public static function getTemplateStrings(): array
844 {
845 return [
846 'contact_form' => __('Contact Form', 'ivyforms'),
847 'contact_form_desc' => __('A simple contact form with essential fields', 'ivyforms'),
848 'generate_with_ai' => __('Generate with AI', 'ivyforms'),
849 'generate_with_ai_desc' => __('Generate a form automatically with the help of AI.', 'ivyforms'),
850 'failed_to_create_template'=> __('Failed to create form from template.', 'ivyforms'),
851 'failed_to_fetch_template' => __('Failed to fetch templates', 'ivyforms'),
852 'no_templates_found' => __('No templates found', 'ivyforms'),
853 'required_template_id' => __('Template ID is required.', 'ivyforms'),
854 'select_a_template' => __('Select a template', 'ivyforms'),
855 'select_template_desc' => __('To get started quickly, you can pick from our ready-made template', 'ivyforms'),
856 'search_template' => __('Search a form template', 'ivyforms'),
857 'start_scratch' => __('Start from scratch', 'ivyforms'),
858 'start_with_blank_desc' => __('Start with a blank form and build it your way.', 'ivyforms'),
859 'template_not_found' => __('Template not found.', 'ivyforms'),
860 'template_fetch_error' => __('Template fetch error:', 'ivyforms'),
861 'use_this_template' => __('Use this template', 'ivyforms'),
862 ];
863 }
864
865 /**
866 * Returns the array for changelog strings
867 *
868 * @return mixed[]
869 */
870 public static function getChangelogStrings(): array
871 {
872 return [
873 'whats_new_in_ivyforms' => __('What\'s New in IvyForms', 'ivyforms'),
874 'new_features' => __('New Features', 'ivyforms'),
875 'improvements' => __('Improvements', 'ivyforms'),
876 'bug_fixes' => __('Bug Fixes', 'ivyforms'),
877 'got_it_thanks' => __('Got it, thanks!', 'ivyforms'),
878 'changelog_modal_alt_logo' => __('IvyForms Logo', 'ivyforms'),
879 ];
880 }
881 }
882