﻿jQuery.extend(jQuery.validator.messages, {
required: "<strong>此欄位必填!</strong>",
remote: "<strong>請修正此欄位!</strong>",
email: "<strong>請輸入合法且有效的E-Mail格式!</strong>",
url: "<strong>請輸入有效的網址格式!(例如: http://www.google.com/)</strong>",
date: "<strong>請輸入有效的日期格式!(例如:2009/1/2)</strong>",
dateISO: "<strong>請輸入有效的日期格式!(例如:2009-01-01)</strong>",
dateDE: "<strong>Bitte geben Sie ein gültiges Datum ein.</strong>",
number: "<strong>請輸入有效的數字!</strong>",
numberDE: "<strong>Bitte geben Sie eine Nummer ein.</strong>",
digits: "<strong>請輸入有效的整數!</strong>",
creditcard: "<strong>請輸入合法的信用卡號碼!</strong>",
equalTo: "<strong>兩次密碼輸入不相同!</strong>",
accept: "<strong>請輸入合法的副檔名!</strong>",
maxlength: jQuery.format("<strong>請不要輸入超過 {0} 個字元!</strong>"),
minlength: jQuery.format("<strong>請至少輸入 {0} 個字元!</strong>"),
rangelength: jQuery.format("<strong>請輸入 {0} 到 {1} 個字元!</strong>"),
range: jQuery.format("<strong>請輸入 {0} 到 {1} 範圍的數字!</strong>"),
max: jQuery.format("<strong>請輸入小於或等於 {0} 的數字!</strong>"),
min: jQuery.format("<strong>請輸入大於或等於 {0} 的數字!</strong>")
});
jQuery.extend(jQuery.validator.defaults, {
	messages: {},
		groups: {},
		rules: {},
		errorClass: "field-validation-error",
		validClass: "success",
		errorElement: "span",
		focusInvalid: true,
		errorContainer: $( [] ),
		errorLabelContainer: $( [] ),
		onsubmit: true,
		ignore: [],
		ignoreTitle: false
});
