You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.9 KiB
52 lines
1.9 KiB
2 months ago
|
if ($.fn.pagination){
|
||
|
$.fn.pagination.defaults.beforePageText = 'Bladsy';
|
||
|
$.fn.pagination.defaults.afterPageText = 'Van {pages}';
|
||
|
$.fn.pagination.defaults.displayMsg = 'Wys (from) tot (to) van (total) items';
|
||
|
}
|
||
|
if ($.fn.datagrid){
|
||
|
$.fn.datagrid.defaults.loadMsg = 'Verwerking, wag asseblief ...';
|
||
|
}
|
||
|
if ($.fn.treegrid && $.fn.datagrid){
|
||
|
$.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg;
|
||
|
}
|
||
|
if ($.messager){
|
||
|
$.messager.defaults.ok = 'Ok';
|
||
|
$.messager.defaults.cancel = 'Die styl';
|
||
|
}
|
||
|
if ($.fn.validatebox){
|
||
|
$.fn.validatebox.defaults.missingMessage = "Die veld is verpligtend.";
|
||
|
$.fn.validatebox.defaults.rules.email.message = "Gee 'n geldige e-pos adres.";
|
||
|
$.fn.validatebox.defaults.rules.url.message = "Gee 'n geldige URL nie.";
|
||
|
$.fn.validatebox.defaults.rules.length.message = "Voer 'n waarde tussen {0} en {1}.";
|
||
|
}
|
||
|
if ($.fn.numberbox){
|
||
|
$.fn.numberbox.defaults.missingMessage = 'Die veld is verpligtend.';
|
||
|
}
|
||
|
if ($.fn.combobox){
|
||
|
$.fn.combobox.defaults.missingMessage = 'Die veld is verpligtend.';
|
||
|
}
|
||
|
if ($.fn.combotree){
|
||
|
$.fn.combotree.defaults.missingMessage = 'Die veld is verpligtend.';
|
||
|
}
|
||
|
if ($.fn.combogrid){
|
||
|
$.fn.combogrid.defaults.missingMessage = 'Die veld is verpligtend.';
|
||
|
}
|
||
|
if ($.fn.calendar){
|
||
|
$.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S'];
|
||
|
$.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
||
|
}
|
||
|
if ($.fn.datebox){
|
||
|
$.fn.datebox.defaults.currentText = 'Vandag';
|
||
|
$.fn.datebox.defaults.closeText = 'Sluit';
|
||
|
$.fn.datebox.defaults.okText = 'Ok';
|
||
|
$.fn.datebox.defaults.missingMessage = 'Die veld is verpligtend.';
|
||
|
}
|
||
|
if ($.fn.datetimebox && $.fn.datebox){
|
||
|
$.extend($.fn.datetimebox.defaults,{
|
||
|
currentText: $.fn.datebox.defaults.currentText,
|
||
|
closeText: $.fn.datebox.defaults.closeText,
|
||
|
okText: $.fn.datebox.defaults.okText,
|
||
|
missingMessage: $.fn.datebox.defaults.missingMessage
|
||
|
});
|
||
|
}
|