Commit dceb9daa authored by Jelle Sebreghts's avatar Jelle Sebreghts
Browse files

Issue #1506188 by michiellucas: Fixed i18n.

parent 08b2f5d4
......@@ -109,43 +109,3 @@ function hook_clientside_validation_rule_alter(&$js_rules, $element, $context) {
break;
}
}
/**
* Translatable strings for localize.drupal.org
*/
t('!title field is required.', array('!title' => 'title'));
t('!title field accepts only numbers.', array('!title' => 'title'));
t('!title field accepts only numbers (use a \'.\' as decimal point).', array('!title' => 'title'));
t('!title field accepts only numbers (use a \',\' as decimal point).', array('!title' => 'title'));
t('!title field has to be between !min and !max.', array('!title' => 'title', '!min' => 1, '!max' => 5));
t('!title field has to be greater than !min.', array('!title' => 'title', '!min' => 1));
t('!title field has to be smaller than !max.', array('!title' => 'title', '!max' => 5));
t('!title field has to have between !min and !max values.', array('!title' => 'title', '!min' => 1, '!max' => 5));
t('!title field has to have minimal !min values.', array('!title' => 'title', '!min' => 1));
t('!title field has to have maximum !max values.', array('!title' => 'title', '!max' => 5));
t('!title field has to have between !min and !max words.', array('!title' => 'title', '!min' => 1, '!max' => 5));
t('!title field has to have minimal !min words.', array('!title' => 'title', '!min' => 1));
t('!title field has to have maximum !max words.', array('!title' => 'title', '!max' => 5));
t('!title field can not contain any HTML tags', array('!title' => 'title'));
t('!title field can not contain any HTML tags exept !allowed', array('!title' => 'title', '!allowed' => 'a'));
t('!title field has to be equal to !firstone.', array('!title' => 'title', '!firstone' => 'title2'));
t('!title field has to different from !firstone', array('!title' => 'title', '!firstone' => 'title2'));
t('!title field has to be one of the following values: !values.', array('!title' => 'title', '!values' => 'value1, value2'));
t('!title field must consist of following elements only: !elements.', array('!title' => 'title', '!elements' => 'element1, element2'));
t('!title field can not consist of following elements: !elements.', array('!title' => 'title', '!elements' => 'element1, element2'));
t('!title field is not a valid EAN number.', array('!title' => 'title'));
t('!title field does not match the required pattern.', array('!title' => 'title'));
t("Only files with a %exts extension are allowed.", array('%exts' => 'png, jpeg, gif'));
t('You can select no more than !max values for !title.', array('!title' => 'title', '!max' => 5));
t('You must select at least !min values for !title.', array('!title' => 'title', '!min' => 1));
t('You must select between !min and !max values for !title.', array('!title' => 'title', '!min' => 1, '!max' => 5));
t('The value in !title is not a valid email address.', array('!title' => 'title'));
t('The value in !title is not a valid url.', array('!title' => 'title'));
t('The value in !title is not a valid phone number.', array('!title' => 'title'));
t('The value in !title is not a valid date.', array('!title' => 'title'));
t('Wrong answer for !title.', array('!title' => 'title'));
t('!title field has to be greater than !min with steps of !step and smaller than !max.', array('!title' => 'title', '!min' => 1, '!step' => 1, '!max' => 5));
t('!title field has to be greater than !min with steps of !step.', array('!title' => 'title', '!min' => 1, '!step' => 1));
t('!title field has to be smaller than !max and must be dividable by !step.', array('!title' => 'title', '!step' => 1, '!max' => 5));
t('!title field must be a valid color code.', array('!title' => 'title'));
<?php
/**
* Translatable strings for localize.drupal.org
*/
t('!title field is required.', array('!title' => 'title'));
t('!title field accepts only numbers.', array('!title' => 'title'));
t('!title field accepts only numbers (use a \'.\' as decimal point).', array('!title' => 'title'));
t('!title field accepts only numbers (use a \',\' as decimal point).', array('!title' => 'title'));
t('!title field has to be between !min and !max.', array('!title' => 'title', '!min' => 1, '!max' => 5));
t('!title field has to be greater than !min.', array('!title' => 'title', '!min' => 1));
t('!title field has to be smaller than !max.', array('!title' => 'title', '!max' => 5));
t('!title field has to have between !min and !max values.', array('!title' => 'title', '!min' => 1, '!max' => 5));
t('!title field has to have minimal !min values.', array('!title' => 'title', '!min' => 1));
t('!title field has to have maximum !max values.', array('!title' => 'title', '!max' => 5));
t('!title field has to have between !min and !max words.', array('!title' => 'title', '!min' => 1, '!max' => 5));
t('!title field has to have minimal !min words.', array('!title' => 'title', '!min' => 1));
t('!title field has to have maximum !max words.', array('!title' => 'title', '!max' => 5));
t('!title field can not contain any HTML tags', array('!title' => 'title'));
t('!title field can not contain any HTML tags exept !allowed', array('!title' => 'title', '!allowed' => 'a'));
t('!title field has to be equal to !firstone.', array('!title' => 'title', '!firstone' => 'title2'));
t('!title field has to different from !firstone', array('!title' => 'title', '!firstone' => 'title2'));
t('!title field has to be one of the following values: !values.', array('!title' => 'title', '!values' => 'value1, value2'));
t('!title field must consist of following elements only: !elements.', array('!title' => 'title', '!elements' => 'element1, element2'));
t('!title field can not consist of following elements: !elements.', array('!title' => 'title', '!elements' => 'element1, element2'));
t('!title field is not a valid EAN number.', array('!title' => 'title'));
t('!title field does not match the required pattern.', array('!title' => 'title'));
t("Only files with a %exts extension are allowed.", array('%exts' => 'png, jpeg, gif'));
t('You can select no more than !max values for !title.', array('!title' => 'title', '!max' => 5));
t('You must select at least !min values for !title.', array('!title' => 'title', '!min' => 1));
t('You must select between !min and !max values for !title.', array('!title' => 'title', '!min' => 1, '!max' => 5));
t('The value in !title is not a valid email address.', array('!title' => 'title'));
t('The value in !title is not a valid url.', array('!title' => 'title'));
t('The value in !title is not a valid phone number.', array('!title' => 'title'));
t('The value in !title is not a valid date.', array('!title' => 'title'));
t('Wrong answer for !title.', array('!title' => 'title'));
t('!title field has to be greater than !min with steps of !step and smaller than !max.', array('!title' => 'title', '!min' => 1, '!step' => 1, '!max' => 5));
t('!title field has to be greater than !min with steps of !step.', array('!title' => 'title', '!min' => 1, '!step' => 1));
t('!title field has to be smaller than !max and must be dividable by !step.', array('!title' => 'title', '!step' => 1, '!max' => 5));
t('!title field must be a valid color code.', array('!title' => 'title'));
......@@ -8,7 +8,6 @@
* Implements hook_clientside_validation_form_alter().
*/
function clientside_validation_states_clientside_validation_form_alter(&$form, &$form_state, &$js_rules) {
clientside_validation_states_after_build_recurse($form['#id'], $form, $form_state, $js_rules);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment