Translations for the submission value manager class.
Description
Source
File: src/translations/translations-submission-value-manager.php
class Translations_Submission_Value_Manager extends Translations_Manager { /** * Initializes the translation strings. * * @since 1.0.0 */ protected function init() { $this->translations = array( /* --- Submission Value --- */ 'db_insert_error' => __( 'Could not insert submission value into the database.', 'torro-forms' ), 'db_update_error' => __( 'Could not update submission value in the database.', 'torro-forms' ), /* translators: %s: meta key */ 'meta_delete_error' => __( 'Could not delete submission value metadata for key “%s”.', 'torro-forms' ), /* translators: %s: meta key */ 'meta_update_error' => __( 'Could not update submission value metadata for key “%s”.', 'torro-forms' ), 'db_fetch_error_missing_id' => __( 'Could not fetch submission value from the database because it is missing an ID.', 'torro-forms' ), 'db_fetch_error' => __( 'Could not fetch submission value from the database.', 'torro-forms' ), 'db_delete_error_missing_id' => __( 'Could not delete submission value from the database because it is missing an ID.', 'torro-forms' ), 'db_delete_error' => __( 'Could not delete submission value from the database.', 'torro-forms' ), 'meta_delete_all_error' => __( 'Could not delete the submission value metadata. The submission value itself was deleted successfully though.', 'torro-forms' ), /* --- REST Submission Values controller --- */ 'rest_invalid_id' => __( 'Invalid submission value ID.', 'torro-forms' ), 'rest_item_exists' => __( 'Cannot create an existing submission value.', 'torro-forms' ), 'rest_invalid_page_number' => _x( 'The page number requested is larger than the number of pages available.', 'submission value endpoint', 'torro-forms' ), 'rest_cannot_edit_items' => __( 'Sorry, you are not allowed to edit submission values.', 'torro-forms' ), 'rest_cannot_read_items' => __( 'Sorry, you are not allowed to view submission values.', 'torro-forms' ), 'rest_cannot_edit_item' => __( 'Sorry, you are not allowed to edit this submission value.', 'torro-forms' ), 'rest_cannot_read_item' => __( 'Sorry, you are not allowed to view this submission value.', 'torro-forms' ), 'rest_cannot_create_items' => __( 'Sorry, you are not allowed to create submission values.', 'torro-forms' ), 'rest_cannot_delete_item' => __( 'Sorry, you are not allowed to delete this submission value.', 'torro-forms' ), 'rest_cannot_publish_item' => __( 'Sorry, you are not allowed to publish this submission value.', 'torro-forms' ), 'rest_item_id_description' => __( 'Unique identifier for the submission value.', 'torro-forms' ), 'rest_collection_include_description' => __( 'Limit result set to specific submission value IDs.', 'torro-forms' ), 'rest_collection_exclude_description' => __( 'Ensure result set excludes specific submission value IDs.', 'torro-forms' ), 'rest_collection_orderby_description' => __( 'Sort collection by submission value attribute.', 'torro-forms' ), 'rest_collection_order_description' => __( 'Order submission value sort attribute ascending or descending.', 'torro-forms' ), ); } }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |
Methods
- init — Initializes the translation strings.