提交 | 用户 | 时间
|
58d006
|
1 |
/** |
A |
2 |
* jqGrid Croatian Translation |
|
3 |
* Version 1.0.1 (developed for jQuery Grid 4.4) |
|
4 |
* msajko@gmail.com |
|
5 |
* |
|
6 |
* Dual licensed under the MIT and GPL licenses: |
|
7 |
* http://www.opensource.org/licenses/mit-license.php |
|
8 |
* http://www.gnu.org/licenses/gpl.html |
|
9 |
**/ |
|
10 |
/*global jQuery, define */ |
|
11 |
(function( factory ) { |
|
12 |
"use strict"; |
|
13 |
if ( typeof define === "function" && define.amd ) { |
|
14 |
// AMD. Register as an anonymous module. |
|
15 |
define([ |
|
16 |
"jquery", |
|
17 |
"../grid.base" |
|
18 |
], factory ); |
|
19 |
} else { |
|
20 |
// Browser globals |
|
21 |
factory( jQuery ); |
|
22 |
} |
|
23 |
}(function( $ ) { |
|
24 |
|
|
25 |
$.jgrid = $.jgrid || {}; |
|
26 |
if(!$.jgrid.hasOwnProperty("regional")) { |
|
27 |
$.jgrid.regional = []; |
|
28 |
} |
|
29 |
$.jgrid.regional["hr"] = { |
|
30 |
defaults : { |
|
31 |
recordtext: "Pregled {0} - {1} od {2}", |
|
32 |
emptyrecords: "Nema zapisa", |
|
33 |
loadtext: "Učitavam...", |
|
34 |
pgtext : "Stranica {0} od {1}", |
|
35 |
savetext: "Saving...", |
|
36 |
pgfirst : "First Page", |
|
37 |
pglast : "Last Page", |
|
38 |
pgnext : "Next Page", |
|
39 |
pgprev : "Previous Page", |
|
40 |
pgrecs : "Records per Page", |
|
41 |
showhide: "Toggle Expand Collapse Grid", |
|
42 |
// mobile |
|
43 |
pagerCaption : "Grid::Page Settings", |
|
44 |
pageText : "Page:", |
|
45 |
recordPage : "Records per Page", |
|
46 |
nomorerecs : "No more records...", |
|
47 |
scrollPullup: "Pull up to load more...", |
|
48 |
scrollPulldown : "Pull down to refresh...", |
|
49 |
scrollRefresh : "Release to refresh..." |
|
50 |
}, |
|
51 |
search : { |
|
52 |
caption: "Traži...", |
|
53 |
Find: "Pretraživanje", |
|
54 |
Reset: "Poništi", |
|
55 |
odata: [{ oper:'eq', text:"jednak"},{ oper:'ne', text:"nije identičan"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili identično"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili identično"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa "},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], |
|
56 |
groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ], |
|
57 |
operandTitle : "Click to select search operation.", |
|
58 |
resetTitle : "Reset Search Value" |
|
59 |
}, |
|
60 |
edit : { |
|
61 |
addCaption: "Dodaj zapis", |
|
62 |
editCaption: "Promijeni zapis", |
|
63 |
bSubmit: "Preuzmi", |
|
64 |
bCancel: "Odustani", |
|
65 |
bClose: "Zatvri", |
|
66 |
saveData: "Podaci su promijenjeni! Preuzmi promijene?", |
|
67 |
bYes : "Da", |
|
68 |
bNo : "Ne", |
|
69 |
bExit : "Odustani", |
|
70 |
msg: { |
|
71 |
required:"Polje je obavezno", |
|
72 |
number:"Molim, unesite ispravan broj", |
|
73 |
minValue:"Vrijednost mora biti veća ili identična ", |
|
74 |
maxValue:"Vrijednost mora biti manja ili identična", |
|
75 |
email: "neispravan e-mail", |
|
76 |
integer: "Molim, unjeti ispravan cijeli broj (integer)", |
|
77 |
date: "Molim, unjeti ispravan datum ", |
|
78 |
url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')", |
|
79 |
nodefined : " nije definiran!", |
|
80 |
novalue : " zahtjevan podatak je obavezan!", |
|
81 |
customarray : "Opcionalna funkcija trebala bi bili polje (array)!", |
|
82 |
customfcheck : "Custom function should be present in case of custom checking!" |
|
83 |
|
|
84 |
} |
|
85 |
}, |
|
86 |
view : { |
|
87 |
caption: "Otvori zapis", |
|
88 |
bClose: "Zatvori" |
|
89 |
}, |
|
90 |
del : { |
|
91 |
caption: "Obriši", |
|
92 |
msg: "Obriši označen zapis ili više njih?", |
|
93 |
bSubmit: "Obriši", |
|
94 |
bCancel: "Odustani" |
|
95 |
}, |
|
96 |
nav : { |
|
97 |
edittext: "", |
|
98 |
edittitle: "Promijeni obilježeni red", |
|
99 |
addtext: "", |
|
100 |
addtitle: "Dodaj novi red", |
|
101 |
deltext: "", |
|
102 |
deltitle: "Obriši obilježeni red", |
|
103 |
searchtext: "", |
|
104 |
searchtitle: "Potraži zapise", |
|
105 |
refreshtext: "", |
|
106 |
refreshtitle: "Ponovo preuzmi podatke", |
|
107 |
alertcap: "Upozorenje", |
|
108 |
alerttext: "Molim, odaberi red", |
|
109 |
viewtext: "", |
|
110 |
viewtitle: "Pregled obilježenog reda", |
|
111 |
savetext: "", |
|
112 |
savetitle: "Save row", |
|
113 |
canceltext: "", |
|
114 |
canceltitle : "Cancel row editing", |
|
115 |
selectcaption : "Actions..." |
|
116 |
}, |
|
117 |
col : { |
|
118 |
caption: "Obilježi kolonu", |
|
119 |
bSubmit: "Uredu", |
|
120 |
bCancel: "Odustani" |
|
121 |
}, |
|
122 |
errors : { |
|
123 |
errcap : "Greška", |
|
124 |
nourl : "Nedostaje URL", |
|
125 |
norecords: "Bez zapisa za obradu", |
|
126 |
model : "colNames i colModel imaju različitu duljinu!" |
|
127 |
}, |
|
128 |
formatter : { |
|
129 |
integer : {thousandsSeparator: ".", defaultValue: '0'}, |
|
130 |
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'}, |
|
131 |
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, |
|
132 |
date : { |
|
133 |
dayNames: [ |
|
134 |
"Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub", |
|
135 |
"Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota" |
|
136 |
], |
|
137 |
monthNames: [ |
|
138 |
"Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro", |
|
139 |
"Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac" |
|
140 |
], |
|
141 |
AmPm : ["am","pm","AM","PM"], |
|
142 |
S: function (j) {return ''}, |
|
143 |
srcformat: 'Y-m-d', |
|
144 |
newformat: 'd.m.Y.', |
|
145 |
parseRe : /[#%\\\/:_;.,\t\s-]/, |
|
146 |
masks : { |
|
147 |
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid |
|
148 |
// and see http://docs.jquery.com/UI/Datepicker/formatDate |
|
149 |
// and https://github.com/jquery/globalize#dates for alternative formats used frequently |
|
150 |
ISO8601Long: "Y-m-d H:i:s", |
|
151 |
ISO8601Short: "Y-m-d", |
|
152 |
// short date: |
|
153 |
// d - Day of the month, 2 digits with leading zeros |
|
154 |
// m - Numeric representation of a month, with leading zeros |
|
155 |
// Y - A full numeric representation of a year, 4 digits |
|
156 |
ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy." |
|
157 |
// long date: |
|
158 |
// l - A full textual representation of the day of the week |
|
159 |
// j - Day of the month without leading zeros |
|
160 |
// F - A full textual representation of a month |
|
161 |
// Y - A full numeric representation of a year, 4 digits |
|
162 |
LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy" |
|
163 |
// long date with long time: |
|
164 |
// l - A full textual representation of the day of the week |
|
165 |
// j - Day of the month without leading zeros |
|
166 |
// F - A full textual representation of a month |
|
167 |
// Y - A full numeric representation of a year, 4 digits |
|
168 |
// H - 24-hour format of an hour with leading zeros |
|
169 |
// i - Minutes with leading zeros |
|
170 |
// s - Seconds, with leading zeros |
|
171 |
FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss" |
|
172 |
// month day: |
|
173 |
// d - Day of the month, 2 digits with leading zeros |
|
174 |
// F - A full textual representation of a month |
|
175 |
MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM" |
|
176 |
// short time (without seconds) |
|
177 |
// H - 24-hour format of an hour with leading zeros |
|
178 |
// i - Minutes with leading zeros |
|
179 |
ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm" |
|
180 |
// long time (with seconds) |
|
181 |
// H - 24-hour format of an hour with leading zeros |
|
182 |
// i - Minutes with leading zeros |
|
183 |
// s - Seconds, with leading zeros |
|
184 |
LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss" |
|
185 |
SortableDateTime: "Y-m-d\\TH:i:s", |
|
186 |
UniversalSortableDateTime: "Y-m-d H:i:sO", |
|
187 |
// month with year |
|
188 |
// F - A full textual representation of a month |
|
189 |
// Y - A full numeric representation of a year, 4 digits |
|
190 |
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy" |
|
191 |
}, |
|
192 |
reformatAfterEdit : false, |
|
193 |
userLocalTime : false |
|
194 |
}, |
|
195 |
baseLinkUrl: '', |
|
196 |
showAction: '', |
|
197 |
target: '', |
|
198 |
checkbox : {disabled:true}, |
|
199 |
idName : 'id' |
|
200 |
} |
|
201 |
}; |
|
202 |
})); |