PluginProbe
The Innovative Form Builder – IvyForms / 0.2
The Innovative Form Builder – IvyForms v0.2
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.2, at backend/src/Services/Translations/BackendStrings.php

393 lines 23.7 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 'action_cannot_be_undone' => __('This action cannot be undone.', 'ivyforms'),
30 'all_forms' => __('All Forms', 'ivyforms'),
31 'back' => __('Back', 'ivyforms'),
32 'cancel' => __('Cancel', 'ivyforms'),
33 'delete' => __('Delete', 'ivyforms'),
34 'empty_search_subtitle' => __('Try again with different keywords and filters', 'ivyforms'),
35 'empty_search_title' => __('Oops! Looks like there\'s nothing here!', 'ivyforms'),
36 'entries' => __('Entries', 'ivyforms'),
37 'form_desc' => __('Form Description', 'ivyforms'),
38 'form_duplicated' => __('Form duplicated successfully', 'ivyforms'),
39 'form_name' => __('Form Name', 'ivyforms'),
40 'form_updated' => __('Form updated successfully', 'ivyforms'),
41 'leave' => __('Leave', 'ivyforms'),
42 'name' => __('Name', 'ivyforms'),
43 'new_form' => __('New Form', 'ivyforms'),
44 'no_results_for' => __('No results found for', 'ivyforms'),
45 'ok' => __('OK', 'ivyforms'),
46 'save' => __('Save', 'ivyforms'),
47 'security' => __('Security', 'ivyforms'),
48 'settings' => __('Settings', 'ivyforms'),
49 'starred' => __('Starred', 'ivyforms'),
50 'status' => __('Status', 'ivyforms'),
51 'stay' => __('Stay', 'ivyforms'),
52 'try_adjusting_search' => __('Try adjusting your search to find what you are looking for.', 'ivyforms'),
53 'update' => __('Update', 'ivyforms'),
54 ];
55 }
56
57 /**
58 * Returns the array for the settings strings
59 *
60 * @return mixed[]
61 */
62 public static function getSettingsStrings(): array
63 {
64 return [
65 'activation_activated' => __('Plugin has been activated', 'ivyforms'),
66 'activation_deactivated' => __('Plugin has been deactivated', 'ivyforms'),
67 'activation_settings_domains_limit' => __('You have reached maximum number of registered domains', 'ivyforms'),
68 'activation_settings_hidden_code' => __('Your purchase code has been hidden for security reasons. You can find it on your store page', 'ivyforms'),
69 'activation_settings_invalid_code' => __('The purchase code is invalid or it has expired', 'ivyforms'),
70 ];
71 }
72
73 /**
74 * Returns the array for the dashboard strings
75 *
76 * @return mixed[]
77 */
78 public static function getDashboardStrings(): array
79 {
80 return [
81 'dashboard' => __('Dashboard', 'ivyforms'),
82 ];
83 }
84
85 /**
86 * Returns the array for the "All Forms" page strings
87 *
88 * @return mixed[]
89 */
90 public static function getAllFormsStrings(): array
91 {
92 return [
93 'action_undone' => __('This action can\'t be undone', 'ivyforms'),
94 'actions' => __('Actions', 'ivyforms'),
95 'admin_notification_email' => __('Admin Notification Email', 'ivyforms'),
96 'are_you_sure_delete_form' => __('Are you sure you want to Delete this Form?', 'ivyforms'),
97 'are_you_sure_delete_forms' => __('Are you sure you want to Delete these Forms?', 'ivyforms'),
98 'author' => __('Author', 'ivyforms'),
99 'cancel' => __('Cancel', 'ivyforms'),
100 'close' => __('Close', 'ivyforms'),
101 'copied_shortcode' => __('Copied shortcode to clipboard', 'ivyforms'),
102 'copy_shorcode_table_form' => __('Copy shortcode for the form', 'ivyforms'),
103 'date_created' => __('Date Created', 'ivyforms'),
104 'date_edited' => __('Date Edited', 'ivyforms'),
105 'date_filters' => __('Date filter for all forms', 'ivyforms'),
106 'delete' => __('Delete', 'ivyforms'),
107 'delete_form' => __('Are you sure you want to Delete this Form?', 'ivyforms'),
108 'duplicate_form' => __('Duplicate this Form?', 'ivyforms'),
109 'duplicate_form_subtitle' => __('An exact copy will be added to your forms.', 'ivyforms'),
110 'duplicate_notification' => __('Duplicate this Notification?', 'ivyforms'),
111 'duplicate_notification_subtitle'=> __('An exact copy will be added to your notifications.', 'ivyforms'),
112 'duplicated_failed' => __('Failed to duplicate form', 'ivyforms'),
113 'edit_columns' => __('Select the columns to show in the table', 'ivyforms'),
114 'edit_table' => __('Edit Table', 'ivyforms'),
115 'empty_state_all_forms_subtitle' => __('Once you create a form it will appear here', 'ivyforms'),
116 'empty_state_all_forms_title' => __('We didn\'t find any forms', 'ivyforms'),
117 'error_deleting_form' => __('Error deleting form:', 'ivyforms'),
118 'error_deleting_forms' => __('Error deleting forms:', 'ivyforms'),
119 'error_duplicating_forms' => __('Error duplicating form:', 'ivyforms'),
120 'error_fetching_forms' => __('Error fetching forms:', 'ivyforms'),
121 'error_refreshing' => __('Error refreshing data', 'ivyforms'),
122 'error_updating_forms' => __('Error updating form:', 'ivyforms'),
123 'failed_to_create_form' => __('Failed to create form.', 'ivyforms'),
124 'failed_to_delete_form' => __('Failed to delete form:', 'ivyforms'),
125 'failed_to_delete_forms' => __('Failed to delete forms:', 'ivyforms'),
126 'failed_to_duplicate_form' => __('Failed to duplicate form.', 'ivyforms'),
127 'failed_to_update_form' => __('Failed to update form', 'ivyforms'),
128 'filters' => __('Filters for all forms', 'ivyforms'),
129 'flag' => __('Country flag icon', 'ivyforms'),
130 'form' => __('Form', 'ivyforms'),
131 'form_deleted' => __('Form deleted successfully', 'ivyforms'),
132 'form_duplicated' => __('Form duplicated successfully', 'ivyforms'),
133 'form_loaded' => __('Form loaded successfully', 'ivyforms'),
134 'forms_deleted' => __('Forms deleted successfully', 'ivyforms'),
135 'get_current_state_err' => __('The getCurrentState method must be implemented by the store that uses this handler:', 'ivyforms'),
136 'id' => __('ID', 'ivyforms'),
137 'menu_button_element_not_found' => __('Menu button element not found', 'ivyforms'),
138 'reset_filters' => __('Reset filters', 'ivyforms'),
139 'select_all_forms' => __('Select All Forms', 'ivyforms'),
140 'select_form_header' => __('Select Form', 'ivyforms'),
141 'shortcode' => __('Shortcode', 'ivyforms'),
142 'show_all_forms' => __('Show/Hide All', 'ivyforms'),
143 'status_switch' => __('Switch to publish or unpublish the form', 'ivyforms'),
144 'thanks_reaching' => __('Thanks for reaching out! We’ve received your message and will get back to you shortly', 'ivyforms'),
145 'unable_to_add_data' => __('Unable to add data in ', 'ivyforms'),
146 'unable_to_save_data' => __('Unable to save data in ', 'ivyforms'),
147 'unknown_entity' => __('Unknown entityPageName:', 'ivyforms'),
148 'unsaved_changes' => __('You have unsaved changes. If you leave now, your changes will be lost.', 'ivyforms'),
149 ];
150 }
151
152 /**
153 * Returns the array for the "New Form" page strings
154 *
155 * @return mixed[]
156 */
157 public static function getNewFormStrings(): array
158 {
159 return [
160 'add_field' => __('Add Field', 'ivyforms'),
161 'advanced' => __('Advanced', 'ivyforms'),
162 'build' => __('Build', 'ivyforms'),
163 'checkbox' => __('Checkbox', 'ivyforms'),
164 'default_value' => __('Default Value', 'ivyforms'),
165 'dropdown' => __('Dropdown', 'ivyforms'),
166 'email' => __('Email', 'ivyforms'),
167 'empty_state_title' => __('Add a field to start building your form', 'ivyforms'),
168 'error_loading_form' => __('Error loading form', 'ivyforms'),
169 'failed_to_fetch_form' => __('Failed to fetch form', 'ivyforms'),
170 'failed_to_load_form' => __('Failed to load the selected form', 'ivyforms'),
171 'failed_to_tab_form' => __('Failed to load form', 'ivyforms'),
172 'first_save_form' => __('Please save the form before previewing', 'ivyforms'),
173 'general' => __('General', 'ivyforms'),
174 'label' => __('Label', 'ivyforms'),
175 'no_field_selected' => __('No field selected', 'ivyforms'),
176 'number' => __('Number', 'ivyforms'),
177 'options' => __('Options', 'ivyforms'),
178 'paragraph' => __('Paragraph', 'ivyforms'),
179 'phone' => __('Phone', 'ivyforms'),
180 'placeholder' => __('Placeholder', 'ivyforms'),
181 'please_select_field' => __('Please select a field to view its options.', 'ivyforms'),
182 'preview_form' => __('Preview form', 'ivyforms'),
183 'radio_button' => __('Radio Button', 'ivyforms'),
184 'required' => __('Required', 'ivyforms'),
185 'results' => __('Results', 'ivyforms'),
186 'select_form' => __('Select a form', 'ivyforms'),
187 'smart_logic' => __('Smart Logic', 'ivyforms'),
188 'style' => __('Style', 'ivyforms'),
189 'submit' => __('Submit', 'ivyforms'),
190 'text' => __('Text', 'ivyforms'),
191 ];
192 }
193
194 /**
195 * Returns the array for the "Settings form builder" page strings
196 *
197 * @return mixed[]
198 */
199 public static function getSettingsFormBuilderStrings(): array
200 {
201 return [
202 'after_form_submission' => __('After Form Submission:', 'ivyforms'),
203 'are_you_sure_delete_field' => __('Are you sure you want to Delete this Field?', 'ivyforms'),
204 'are_you_sure_delete_notification' => __('Are you sure you want to Delete this Notification?', 'ivyforms'),
205 'blank_form' => __('Blank form', 'ivyforms'),
206 'confirmations' => __('Confirmations', 'ivyforms'),
207 'create_confirmation' => __('Confirmation created successfully', 'ivyforms'),
208 'create_notification' => __('Notification created successfully', 'ivyforms'),
209 'duplicated_notification' => __('Notification duplicated successfully', 'ivyforms'),
210 'empty_state_notification_subtitle'=> __('Once you create a notification it will appear here', 'ivyforms'),
211 'empty_state_notification_title' => __('We didn\'t find any notifications', 'ivyforms'),
212 'enable_confirmation' => __('Enable or disable this confirmation', 'ivyforms'),
213 'enable_general' => __('Enable or disable this form', 'ivyforms'),
214 'enable_notification' => __('Enable or disable this notification', 'ivyforms'),
215 'enabled_status' => __('Enabled', 'ivyforms'),
216 'error_creating_confirmation' => __('Error creating confirmation:', 'ivyforms'),
217 'error_creating_notification' => __('Error creating notification:', 'ivyforms'),
218 'error_deleting_notification' => __('Error deleting notification:', 'ivyforms'),
219 'error_duplicate_confirmation' => __('Error duplicating confirmation:', 'ivyforms'),
220 'error_duplicate_notification' => __('Error duplicating notification:', 'ivyforms'),
221 'error_loading_data_confirmation' => __('Error loading data:', 'ivyforms'),
222 'error_loading_notification' => __('Error loading notification:', 'ivyforms'),
223 'error_save_form' => __('Error saving form:', 'ivyforms'),
224 'error_saving_notification' => __('Error saving notification:', 'ivyforms'),
225 'error_to_update_confirmation' => __('Error updating confirmation', 'ivyforms'),
226 'error_updating_notification' => __('Error updating notification:', 'ivyforms'),
227 'example' => __('example', 'ivyforms'),
228 'failed_to_create_confirmation' => __('Failed to create confirmation.', 'ivyforms'),
229 'failed_to_create_default_notification'=> __('Failed to create default notification', 'ivyforms'),
230 'failed_to_create_notification' => __('Failed to create notification', 'ivyforms'),
231 'failed_to_delete_notification' => __('Failed to delete notification', 'ivyforms'),
232 'failed_to_duplicate_confirmation' => __('Failed to duplicate confirmation:', 'ivyforms'),
233 'failed_to_duplicate_notification' => __('Failed to duplicate notification', 'ivyforms'),
234 'failed_to_fetch_notification' => __('Failed to fetch notification:', 'ivyforms'),
235 'failed_to_load_confirmation' => __('Failed to load confirmation:', 'ivyforms'),
236 'failed_to_load_notification' => __('Failed to load notification:', 'ivyforms'),
237 'failed_to_save_form' => __('Failed to save form', 'ivyforms'),
238 'failed_to_update_confirmation' => __('Failed to update confirmation', 'ivyforms'),
239 'failed_to_update_notification' => __('Failed to update notification', 'ivyforms'),
240 'filtered_data_notification' => __('Filtered Data:', 'ivyforms'),
241 'form_description' => __('Write your description here', 'ivyforms'),
242 'form_saved' => __('Form saved successfully!', 'ivyforms'),
243 'form_updated' => __('Form updated successfully!', 'ivyforms'),
244 'general_settings' => __('General Settings', 'ivyforms'),
245 'hide_form' => __('Hide Form', 'ivyforms'),
246 'message' => __('Message', 'ivyforms'),
247 'new_notification' => __('New Notification', 'ivyforms'),
248 'notification_deleted' => __('Notification deleted successfully', 'ivyforms'),
249 'notification_duplicated' => __('Notification duplicated successfully', 'ivyforms'),
250 'notification_loaded' => __('Notifications loaded successfully', 'ivyforms'),
251 'notifications' => __('Notifications', 'ivyforms'),
252 'receiver' => __('Receiver', 'ivyforms'),
253 'redirect_to_custom_url' => __('Redirect to Custom URL', 'ivyforms'),
254 'redirect_to_page' => __('Redirect to Page', 'ivyforms'),
255 'reset_form' => __('Reset Form', 'ivyforms'),
256 'search_notifications' => __('Search Notifications', 'ivyforms'),
257 'select_page' => __('Select a page', 'ivyforms'),
258 'select_url' => __('Select URL', 'ivyforms'),
259 'send_from' => __('Send from', 'ivyforms'),
260 'send_to' => __('Send to', 'ivyforms'),
261 'show_form_description' => __('Show the form description', 'ivyforms'),
262 'show_form_title' => __('Show the form title', 'ivyforms'),
263 'subject' => __('Subject', 'ivyforms'),
264 'success_message' => __('Success Message', 'ivyforms'),
265 'update_confirmation' => __('Confirmation updated successfully', 'ivyforms'),
266 'update_notification' => __('Notification updated successfully', 'ivyforms'),
267 'updated_form' => __('Updated form', 'ivyforms'),
268 'unexpected_response_structure' => __('Unexpected response structure', 'ivyforms'),
269 'updating_duplicated_confirmation' => __('Confirmation duplicated successfully', 'ivyforms'),
270 ];
271 }
272
273 /**
274 * Returns the array for the "Empty States" parts strings
275 *
276 * @return mixed[]
277 */
278 public static function getEmptyStatesStrings(): array
279 {
280 return [
281 'clipboard_api_not_supported' => __('Clipboard API not supported', 'ivyforms'),
282 'collapse' => __('Collapse', 'ivyforms'),
283 'copy_shortcode' => __('Copy shortcode', 'ivyforms'),
284 'dark_theme' => __('Dark Theme', 'ivyforms'),
285 'expand_collapse' => __('Expand or collapse the content area to make better use of your screen space.', 'ivyforms'),
286 'form_id_not_found' => __('Form ID not found, please save the form first.', 'ivyforms'),
287 'full_screen' => __('Full Screen', 'ivyforms'),
288 'get_help' => __('Get help or contact our support team for assistance with any issues or questions.', 'ivyforms'),
289 'light_theme' => __('Light Theme', 'ivyforms'),
290 'shortcode_copied' => __('Shortcode copied!', 'ivyforms'),
291 ];
292 }
293
294 /**
295 * Returns the array for the "Entries" page strings
296 *
297 * @return mixed[]
298 */
299 public static function getEntriesStrings(): array
300 {
301 return [
302 ];
303 }
304
305 /**
306 * Returns the array for the "Integrations" page strings
307 *
308 * @return mixed[]
309 */
310 public static function getIntegrationsStrings(): array
311 {
312 return [
313 'integrations' => __('Integrations', 'ivyforms'),
314 ];
315 }
316
317
318 /**
319 * Returns the array for the entities modal
320 *
321 * @return mixed[]
322 */
323 public static function getEntityFormStrings(): array
324 {
325 return [
326 'duplicate' => __('Duplicate', 'ivyforms'),
327 'loader_message' => __('Please Wait', 'ivyforms'),
328 'visible' => __('Visible', 'ivyforms'),
329 ];
330 }
331
332 /**
333 * Returns the array for the components
334 *
335 * @return mixed[]
336 */
337 public static function getComponentsStrings(): array
338 {
339 return [
340 'action_button' => __('Action button', 'ivyforms'),
341 'add_star' => __('Add star', 'ivyforms'),
342 'add_subfolder' => __('Add subfolder', 'ivyforms'),
343 'adjusting_your_search_phone' => __('Try adjusting your search to find what you\'re looking for.', 'ivyforms'),
344 'clear' => __('Clear', 'ivyforms'),
345 'download' => __('Download', 'ivyforms'),
346 'edit' => __('Edit', 'ivyforms'),
347 'export' => __('Export', 'ivyforms'),
348 'font_family' => __('Font Family Select', 'ivyforms'),
349 'header_button' => __('Header button', 'ivyforms'),
350 'heading_level' => __('Heading Level Select', 'ivyforms'),
351 'html' => __('HTML', 'ivyforms'),
352 'image_url' => __('Image Url', 'ivyforms'),
353 'import' => __('Import', 'ivyforms'),
354 'indicator_button' => __('Indicator button', 'ivyforms'),
355 'insert_image_by_url' => __('Insert Image By URL', 'ivyforms'),
356 'locate' => __('Locate', 'ivyforms'),
357 'mark_as_read' => __('Mark as read', 'ivyforms'),
358 'mark_as_spam' => __('Mark as spam', 'ivyforms'),
359 'mark_as_unread' => __('Mark as unread', 'ivyforms'),
360 'move_down' => __('Move down', 'ivyforms'),
361 'move_to_folder' => __('Move to folder', 'ivyforms'),
362 'move_to_folder_clicked' => __('Move to folder clicked', 'ivyforms'),
363 'move_up' => __('Move up', 'ivyforms'),
364 'off' => __('Off', 'ivyforms'),
365 'on' => __('On', 'ivyforms'),
366 'open_in_new_tab' => __('Open in new tab', 'ivyforms'),
367 'option_button' => __('Option button', 'ivyforms'),
368 'preview' => __('Preview', 'ivyforms'),
369 'print' => __('Print', 'ivyforms'),
370 'published' => __('Published', 'ivyforms'),
371 'remove_star' => __('Remove star', 'ivyforms'),
372 'rename' => __('Rename', 'ivyforms'),
373 'resend_notification' => __('Resend notification', 'ivyforms'),
374 'reset' => __('Reset', 'ivyforms'),
375 'restore' => __('Restore', 'ivyforms'),
376 'save_as_draft' => __('Save as draft', 'ivyforms'),
377 'search' => __('Search', 'ivyforms'),
378 'select' => __('Select', 'ivyforms'),
379 'show_all' => __('Show all', 'ivyforms'),
380 'sort_by' => __('Sort by', 'ivyforms'),
381 'theme_switch' => __('Theme Switch', 'ivyforms'),
382 'toggle_switch' => __('Toggle Switch', 'ivyforms'),
383 'tooltip' => __('Tooltip', 'ivyforms'),
384 'translate' => __('Translate', 'ivyforms'),
385 'trash' => __('Trash', 'ivyforms'),
386 'unpublished' => __('Unpublished', 'ivyforms'),
387 'unstarred' => __('Unstarred', 'ivyforms'),
388 'upload_image' => __('Upload Image', 'ivyforms'),
389 'visual' => __('Visual', 'ivyforms'),
390 ];
391 }
392 }
393