diff options
Diffstat (limited to 'discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_id.js')
-rw-r--r-- | discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_id.js | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_id.js b/discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_id.js new file mode 100644 index 0000000..bef4a4a --- /dev/null +++ b/discovery-ui/src/main/resources/iui/microservices/js/jquery-validation/localization/messages_id.js @@ -0,0 +1,47 @@ +/* + * Copyright 2016 ZTE, Inc. and others. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +(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: ID (Indonesia; Indonesian) + */ +$.extend($.validator.messages, { + required: "Kolom ini diperlukan.", + remote: "Harap benarkan kolom ini.", + email: "Silakan masukkan format email yang benar.", + url: "Silakan masukkan format URL yang benar.", + date: "Silakan masukkan format tanggal yang benar.", + dateISO: "Silakan masukkan format tanggal(ISO) yang benar.", + number: "Silakan masukkan angka yang benar.", + digits: "Harap masukan angka saja.", + creditcard: "Harap masukkan format kartu kredit yang benar.", + equalTo: "Harap masukkan nilai yg sama dengan sebelumnya.", + maxlength: $.validator.format("Input dibatasi hanya {0} karakter."), + minlength: $.validator.format("Input tidak kurang dari {0} karakter."), + rangelength: $.validator.format("Panjang karakter yg diizinkan antara {0} dan {1} karakter."), + range: $.validator.format("Harap masukkan nilai antara {0} dan {1}."), + max: $.validator.format("Harap masukkan nilai lebih kecil atau sama dengan {0}."), + min: $.validator.format("Harap masukkan nilai lebih besar atau sama dengan {0}.") +}); + +}));
\ No newline at end of file |