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