diff options
author | 2017-08-07 11:39:39 +0800 | |
---|---|---|
committer | 2017-08-07 11:39:39 +0800 | |
commit | 21d72c4a80fe2937d0c4ddd20624b27adbcd989b (patch) | |
tree | e5013ee12f74f8452e01cbff16e7b0158bc456cb /common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_sv.js | |
parent | f533e73e2ae32e010b16abdcf7985abaf31ab843 (diff) |
Upload the ESR GUI seed code
Issue-ID: AAI-68
Change-Id: Ia50ce0570c2fabecd77199d4e8454f56fe587c4e
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
Diffstat (limited to 'common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_sv.js')
-rw-r--r-- | common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_sv.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_sv.js b/common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_sv.js new file mode 100644 index 0000000..758c8a7 --- /dev/null +++ b/common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_sv.js @@ -0,0 +1,31 @@ +(function( factory ) { + if ( typeof define === "function" && define.amd ) { + define( ["jquery", "../jquery.validate"], factory ); + } else { + factory( jQuery ); + } +}(function( $ ) { + +/* + * Translated default messages for the jQuery validation plugin. + * Locale: SV (Swedish; Svenska) + */ +$.extend($.validator.messages, { + required: "Detta fält är obligatoriskt.", + maxlength: $.validator.format("Du får ange högst {0} tecken."), + minlength: $.validator.format("Du måste ange minst {0} tecken."), + rangelength: $.validator.format("Ange minst {0} och max {1} tecken."), + email: "Ange en korrekt e-postadress.", + url: "Ange en korrekt URL.", + date: "Ange ett korrekt datum.", + dateISO: "Ange ett korrekt datum (ÅÅÅÅ-MM-DD).", + number: "Ange ett korrekt nummer.", + digits: "Ange endast siffror.", + equalTo: "Ange samma värde igen.", + range: $.validator.format("Ange ett värde mellan {0} och {1}."), + max: $.validator.format("Ange ett värde som är mindre eller lika med {0}."), + min: $.validator.format("Ange ett värde som är större eller lika med {0}."), + creditcard: "Ange ett korrekt kreditkortsnummer." +}); + +}));
\ No newline at end of file |