# ivyforms/0.4/backend/src/Services/Translations/FrontendStrings.php

The Innovative Form Builder – IvyForms, version 0.4. 64 lines.

- Page: https://pluginprobe.com/plugins/ivyforms/0.4/code/backend/src/Services/Translations/FrontendStrings.php
- Raw: https://pluginprobe.com/plugins/ivyforms/0.4/raw/backend/src/Services/Translations/FrontendStrings.php
- Modified: 2025-09-25T14:53:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ivyforms/0.4/code/backend/src/Services/Translations/FrontendStrings.php#L10-L20`.

```php
<?php

namespace IvyForms\Services\Translations;

/**
 * Class FrontendStrings
 *
 * @package IvyForms\Translations
 *
 * @SuppressWarnings(ExcessiveMethodLength)
 * @SuppressWarnings(ExcessiveClassLength)
 * @phpcs:disable
 */
class FrontendStrings
{

    /**
     * Returns the array for the form render
     *
     * @return mixed[]
     */
    public static function getFormRenderStrings(): array
    {
        return [
            'all_form_fields'                    => __('All form fields:', 'ivyforms'),
            'api_response_for_field'             => __('API response for field {fieldKey}:', 'ivyforms'),
            'checking_field_with_value'          => __('Checking field {fieldKey} (ID: {fieldId}) with value:', 'ivyforms'),
            'duplicate_found_for_field'          => __('Duplicate found for field {fieldKey}:', 'ivyforms'),
            'duplicate_value_error'              => __('This value must be unique. Please enter a unique value.', 'ivyforms'),
            'duplicate_value_error_label'        => __('This {label} must be unique. Please use a different value.', 'ivyforms'),
            'emails_do_not_match'                => __('Email addresses do not match', 'ivyforms'),
            'enter_email_address'                => __('Please enter a valid email address.', 'ivyforms'),
            'enter_valid_number'                 => __('Please enter a valid number.', 'ivyforms'),
            'enter_phone_number'                 => __('Please enter a valid phone number.', 'ivyforms'),
            'enter_valid_website'                => __('Please enter a valid website URL.', 'ivyforms'),
            'error_checking_duplicates'          => __('Error checking for duplicate values. Please try again.', 'ivyforms'),
            'error_checking_duplicates_for_field'=> __('Error checking duplicates for field {fieldKey}:', 'ivyforms'),
            'error_submitting_form'              => __('Error submitting form:', 'ivyforms'),
            'fields_to_check_for_duplicates'     => __('Fields to check for duplicates:', 'ivyforms'),
            'final_duplicate_errors'             => __('Final duplicate errors:', 'ivyforms'),
            'flag'                              => __('Country flag icon', 'ivyforms'),
            'form_data_not_found'                => __('Form data not found (wpIvyFormData is undefined)', 'ivyforms'),
            'form_submitted'                     => __('Form submitted successfully!', 'ivyforms'),
            'invalid_form_data'                  => __('Invalid form data:', 'ivyforms'),
            'invalid_input'                      => __('Invalid input', 'ivyforms'),
            'making_api_call_for_field'          => __('Making API call for field {fieldKey}', 'ivyforms'),
            'no_fields_with_no_duplicates'       => __('No fields with noDuplicates enabled', 'ivyforms'),
            'number_out_of_range'                => __('Value must be between {min} and {max}.', 'ivyforms'),
            'range_from'                         => __('Range from', 'ivyforms'),
            'range_to'                           => __('Range to', 'ivyforms'),
            'recaptcha_complete_verification'    => __('Please complete the reCAPTCHA verification', 'ivyforms'),
            'recaptcha_expired'                  => __('reCAPTCHA expired. Please try again.', 'ivyforms'),
            'recaptcha_invisible_failed'         => __('Failed to execute reCAPTCHA invisible', 'ivyforms'),
            'recaptcha_not_configured'           => __('reCAPTCHA is not configured. Please contact the site administrator.', 'ivyforms'),
            'recaptcha_v3_failed'                => __('Failed to execute reCAPTCHA v3', 'ivyforms'),
            'recaptcha_widget_not_initialized'   => __('reCAPTCHA widget not initialized', 'ivyforms'),
            'required'                           => __('is required.', 'ivyforms'),
            'skipping_empty_field'               => __('Skipping empty field {fieldKey}', 'ivyforms'),
            'submit'                             => __('Submit', 'ivyforms'),
            'thank_you'                          => __('Thank you!', 'ivyforms'),
            'this_field'                         => __('This field', 'ivyforms'),
        ];
    }
}
```
