| 1 |
<?php |
| 2 |
|
| 3 |
return array( |
| 4 |
|
| 5 |
//////////////////////////////////////// |
| 6 |
// Localized JS Message Configuration // |
| 7 |
//////////////////////////////////////// |
| 8 |
|
| 9 |
/** |
| 10 |
* Validation Messages |
| 11 |
*/ |
| 12 |
'validation' => array( |
| 13 |
'alphabet' => __('Value needs to be Alphabet', 'wp-ultimate-recipe'), |
| 14 |
'alphanumeric' => __('Value needs to be Alphanumeric', 'wp-ultimate-recipe'), |
| 15 |
'numeric' => __('Value needs to be Numeric', 'wp-ultimate-recipe'), |
| 16 |
'email' => __('Value needs to be Valid Email', 'wp-ultimate-recipe'), |
| 17 |
'url' => __('Value needs to be Valid URL', 'wp-ultimate-recipe'), |
| 18 |
'maxlength' => __('Length needs to be less than {0} characters', 'wp-ultimate-recipe'), |
| 19 |
'minlength' => __('Length needs to be more than {0} characters', 'wp-ultimate-recipe'), |
| 20 |
'maxselected' => __('Select no more than {0} items', 'wp-ultimate-recipe'), |
| 21 |
'minselected' => __('Select at least {0} items', 'wp-ultimate-recipe'), |
| 22 |
'required' => __('This is required', 'wp-ultimate-recipe'), |
| 23 |
), |
| 24 |
|
| 25 |
/** |
| 26 |
* Import / Export Messages |
| 27 |
*/ |
| 28 |
'util' => array( |
| 29 |
'import_success' => __('Import succeed, option page will be refreshed..', 'wp-ultimate-recipe'), |
| 30 |
'import_failed' => __('Import failed', 'wp-ultimate-recipe'), |
| 31 |
'export_success' => __('Export succeed, copy the JSON formatted options', 'wp-ultimate-recipe'), |
| 32 |
'export_failed' => __('Export failed', 'wp-ultimate-recipe'), |
| 33 |
'restore_success' => __('Restoration succeed, option page will be refreshed..', 'wp-ultimate-recipe'), |
| 34 |
'restore_nochanges' => __('Options identical to default', 'wp-ultimate-recipe'), |
| 35 |
'restore_failed' => __('Restoration failed', 'wp-ultimate-recipe'), |
| 36 |
), |
| 37 |
|
| 38 |
/** |
| 39 |
* Control Fields String |
| 40 |
*/ |
| 41 |
'control' => array( |
| 42 |
// select2 select box |
| 43 |
'select2_placeholder' => __('Select option(s)', 'wp-ultimate-recipe'), |
| 44 |
// fontawesome chooser |
| 45 |
'fac_placeholder' => __('Select an Icon', 'wp-ultimate-recipe'), |
| 46 |
), |
| 47 |
|
| 48 |
); |
| 49 |
|
| 50 |
/** |
| 51 |
* EOF |
| 52 |
*/ |