2 * Copyright 2016 2015-2016 ZTE, Inc. and others. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 * Author: Zhaoxing Meng
17 * email: meng.zhaoxing1@zte.com.cn
19 (function( factory ) {
20 if ( typeof define === "function" && define.amd ) {
21 define( ["jquery", "../jquery.validate"], factory );
28 * Translated default messages for the jQuery validation plugin.
29 * Locale: JA (Japanese; 日本語)
31 $.extend($.validator.messages, {
32 required: "このフィールドは必須です。",
33 remote: "このフィールドを修正してください。",
34 email: "有効なEメールアドレスを入力してください。",
35 url: "有効なURLを入力してください。",
36 date: "有効な日付を入力してください。",
37 dateISO: "有効な日付(ISO)を入力してください。",
38 number: "有効な数字を入力してください。",
39 digits: "数字のみを入力してください。",
40 creditcard: "有効なクレジットカード番号を入力してください。",
41 equalTo: "同じ値をもう一度入力してください。",
42 extension: "有効な拡張子を含む値を入力してください。",
43 maxlength: $.validator.format("{0} 文字以内で入力してください。"),
44 minlength: $.validator.format("{0} 文字以上で入力してください。"),
45 rangelength: $.validator.format("{0} 文字から {1} 文字までの値を入力してください。"),
46 range: $.validator.format("{0} から {1} までの値を入力してください。"),
47 max: $.validator.format("{0} 以下の値を入力してください。"),
48 min: $.validator.format("{0} 以上の値を入力してください。")