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 / FrontendStrings.php

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

39 lines 1.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 /**
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 'enter_email_address' => __('Please enter a valid email address.', 'ivyforms'),
26 'enter_phone_number' => __('Please enter a valid phone number.', 'ivyforms'),
27 'error_submitting_form' => __('Error submitting form:', 'ivyforms'),
28 'flag' => __('Country flag icon', 'ivyforms'),
29 'form_data_not_found' => __('Form data not found (wpIvyFormData is undefined)', 'ivyforms'),
30 'form_submitted' => __('Form submitted successfully!', 'ivyforms'),
31 'invalid_form_data' => __('Invalid form data:', 'ivyforms'),
32 'invalid_input' => __('Invalid input', 'ivyforms'),
33 'required' => __('is required.', 'ivyforms'),
34 'submit' => __('Submit', 'ivyforms'),
35 'thank_you' => __('Thank you!', 'ivyforms'),
36 'this_field' => __('This field', 'ivyforms'),
37 ];
38 }
39 }