Blame view

assets/global/plugins/easyui/locale/easyui-lang-pl.js 1.74 KB
6eb38308   Andy   add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
  if ($.fn.pagination){
  	$.fn.pagination.defaults.beforePageText = 'Strona';
  	$.fn.pagination.defaults.afterPageText = 'z {pages}';
  	$.fn.pagination.defaults.displayMsg = 'Wyświetlono elementy od {from} do {to} z {total}';
  }
  if ($.fn.datagrid){
  	$.fn.datagrid.defaults.loadMsg = 'Przetwarzanie, proszę czekać ...';
  }
  if ($.fn.treegrid && $.fn.datagrid){
  	$.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg;
  }
  if ($.messager){
  	$.messager.defaults.ok = 'Ok';
  	$.messager.defaults.cancel = 'Cancel';
  }
  $.map(['validatebox','textbox','passwordbox','filebox','searchbox',
  		'combo','combobox','combogrid','combotree',
  		'datebox','datetimebox','numberbox',
  		'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){
  	if ($.fn[plugin]){
  		$.fn[plugin].defaults.missingMessage = 'To pole jest wymagane.';
  	}
  });
  if ($.fn.validatebox){
  	$.fn.validatebox.defaults.rules.email.message = 'Wprowadź poprawny adres email.';
  	$.fn.validatebox.defaults.rules.url.message = 'Wprowadź poprawny adres URL.';
  	$.fn.validatebox.defaults.rules.length.message = 'Wprowadź wartość z zakresu od {0} do {1}.';
  	$.fn.validatebox.defaults.rules.remote.message = 'Proszę poprawić to pole.';
  }
  if ($.fn.calendar){
  	$.fn.calendar.defaults.weeks = ['N','P','W','Ś','C','P','S'];
  	$.fn.calendar.defaults.months = ['Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze', 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru'];
  }
  if ($.fn.datebox){
  	$.fn.datebox.defaults.currentText = 'Dzisiaj';
  	$.fn.datebox.defaults.closeText = 'Zamknij';
  	$.fn.datebox.defaults.okText = 'Ok';
  }
  if ($.fn.datetimebox && $.fn.datebox){
  	$.extend($.fn.datetimebox.defaults,{
  		currentText: $.fn.datebox.defaults.currentText,
  		closeText: $.fn.datebox.defaults.closeText,
  		okText: $.fn.datebox.defaults.okText
  	});
  }