aboutsummaryrefslogtreecommitdiffstats
path: root/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_sv.js
diff options
context:
space:
mode:
authorHuabing Zhao <zhao.huabing@zte.com.cn>2016-08-13 09:04:30 +0000
committerGerrit Code Review <gerrit@open-o.org>2016-08-13 09:04:30 +0000
commit230628860edf5ff489dd59e299d35c80d1329a5d (patch)
treeff51edcca2435a31c0cc7ee22b70348c74aa118d /apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_sv.js
parent1ae0c8d11018ac804be96062c34fcf0d9015ef35 (diff)
parent4ed15bda06c8e9a407c12d527b8224737ba339d5 (diff)
Merge "Initial code import"
Diffstat (limited to 'apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_sv.js')
-rw-r--r--apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_sv.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_sv.js b/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_sv.js
new file mode 100644
index 0000000..758c8a7
--- /dev/null
+++ b/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/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&auml;lt &auml;r obligatoriskt.",
+ maxlength: $.validator.format("Du f&aring;r ange h&ouml;gst {0} tecken."),
+ minlength: $.validator.format("Du m&aring;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 (&Aring;&Aring;&Aring;&Aring;-MM-DD).",
+ number: "Ange ett korrekt nummer.",
+ digits: "Ange endast siffror.",
+ equalTo: "Ange samma v&auml;rde igen.",
+ range: $.validator.format("Ange ett v&auml;rde mellan {0} och {1}."),
+ max: $.validator.format("Ange ett v&auml;rde som &auml;r mindre eller lika med {0}."),
+ min: $.validator.format("Ange ett v&auml;rde som &auml;r st&ouml;rre eller lika med {0}."),
+ creditcard: "Ange ett korrekt kreditkortsnummer."
+});
+
+})); \ No newline at end of file