162 lines
No EOL
6.3 KiB
JavaScript
162 lines
No EOL
6.3 KiB
JavaScript
;(function($){
|
||
/**
|
||
* jqGrid Croatian Translation (charset windows-1250)
|
||
* Version 1.0.1 (developed for jQuery Grid 4.4)
|
||
* msajko@gmail.com
|
||
*
|
||
* Dual licensed under the MIT and GPL licenses:
|
||
* http://www.opensource.org/licenses/mit-license.php
|
||
* http://www.gnu.org/licenses/gpl.html
|
||
**/
|
||
$.jgrid = $.jgrid || {};
|
||
$.extend($.jgrid,{
|
||
defaults : {
|
||
recordtext: "Pregled {0} - {1} od {2}",
|
||
emptyrecords: "Nema zapisa",
|
||
loadtext: "U<>itavam...",
|
||
pgtext : "Stranica {0} od {1}"
|
||
},
|
||
search : {
|
||
caption: "Tra<72>i...",
|
||
Find: "Pretra<72>ivanje",
|
||
Reset: "Poni<6E>ti",
|
||
odata : [{ oper:'eq', text:'jednak'}, { oper:'ne', text:'nije identi<74>an'}, { oper:'lt', text:'manje'}, { oper:'le', text:'manje ili identi<74>no'},{ oper:'gt', text:'ve<76>e'},{ oper:'ge', text:'ve<76>e ili identi<74>no'}, { oper:'bw', text:'po<70>inje sa'},{ oper:'bn', text:'ne po<70>inje sa '},{ oper:'in', text:'je u'},{ oper:'ni', text:'nije u'},{ oper:'ew', text:'zavr<76>ava sa'},{ oper:'en', text:'ne zavr<76>ava sa'},{ oper:'cn', text:'sadr<64>i'},{ oper:'nc', text:'ne sadr<64>i'}],
|
||
groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ]
|
||
},
|
||
edit : {
|
||
addCaption: "Dodaj zapis",
|
||
editCaption: "Promijeni zapis",
|
||
bSubmit: "Preuzmi",
|
||
bCancel: "Odustani",
|
||
bClose: "Zatvri",
|
||
saveData: "Podaci su promijenjeni! Preuzmi promijene?",
|
||
bYes : "Da",
|
||
bNo : "Ne",
|
||
bExit : "Odustani",
|
||
msg: {
|
||
required:"Polje je obavezno",
|
||
number:"Molim, unesite ispravan broj",
|
||
minValue:"Vrijednost mora biti ve<76>a ili identi<74>na ",
|
||
maxValue:"Vrijednost mora biti manja ili identi<74>na",
|
||
email: "neispravan e-mail",
|
||
integer: "Molim, unjeti ispravan cijeli broj (integer)",
|
||
date: "Molim, unjeti ispravan datum ",
|
||
url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
|
||
nodefined : " nije definiran!",
|
||
novalue : " zahtjevan podatak je obavezan!",
|
||
customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
|
||
customfcheck : "Custom function should be present in case of custom checking!"
|
||
|
||
}
|
||
},
|
||
view : {
|
||
caption: "Otvori zapis",
|
||
bClose: "Zatvori"
|
||
},
|
||
del : {
|
||
caption: "Obri<72>i",
|
||
msg: "Obri<72>i ozna<6E>en zapis ili vi<76>e njih?",
|
||
bSubmit: "Obri<72>i",
|
||
bCancel: "Odustani"
|
||
},
|
||
nav : {
|
||
edittext: " ",
|
||
edittitle: "Promijeni obilje<6A>eni red",
|
||
addtext:" ",
|
||
addtitle: "Dodaj novi red",
|
||
deltext: " ",
|
||
deltitle: "Obri<72>i obilje<6A>eni red",
|
||
searchtext: " ",
|
||
searchtitle: "Potra<72>i zapise",
|
||
refreshtext: "",
|
||
refreshtitle: "Ponovo preuzmi podatke",
|
||
alertcap: "Upozorenje",
|
||
alerttext: "Molim, odaberi red",
|
||
viewtext: "",
|
||
viewtitle: "Pregled obilje<6A>enog reda"
|
||
},
|
||
col : {
|
||
caption: "Obilje<6A>i kolonu",
|
||
bSubmit: "Uredu",
|
||
bCancel: "Odustani"
|
||
},
|
||
errors : {
|
||
errcap : "Gre<72>ka",
|
||
nourl : "Nedostaje URL",
|
||
norecords: "Bez zapisa za obradu",
|
||
model : "colNames i colModel imaju razli<6C>itu duljinu!"
|
||
},
|
||
formatter : {
|
||
integer : {thousandsSeparator: ".", defaultValue: '0'},
|
||
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
|
||
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" Kn", defaultValue: '0,00'},
|
||
date : {
|
||
dayNames: [
|
||
"Ned", "Pon", "Uto", "Sri", "<22>et", "Pet", "Sub",
|
||
"Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "<22>etvrtak", "Petak", "Subota"
|
||
],
|
||
monthNames: [
|
||
"Sij", "Vel", "O<>u", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
|
||
"Sije<6A>anj", "Velja<6A>a", "O<>ujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
|
||
],
|
||
AmPm : ["am","pm","AM","PM"],
|
||
S: function (j) {return ''},
|
||
srcformat: 'Y-m-d',
|
||
newformat: 'd.m.Y.',
|
||
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
||
masks : {
|
||
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
||
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
||
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
||
ISO8601Long: "Y-m-d H:i:s",
|
||
ISO8601Short: "Y-m-d",
|
||
// short date:
|
||
// d - Day of the month, 2 digits with leading zeros
|
||
// m - Numeric representation of a month, with leading zeros
|
||
// Y - A full numeric representation of a year, 4 digits
|
||
ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
|
||
// long date:
|
||
// l - A full textual representation of the day of the week
|
||
// j - Day of the month without leading zeros
|
||
// F - A full textual representation of a month
|
||
// Y - A full numeric representation of a year, 4 digits
|
||
LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
|
||
// long date with long time:
|
||
// l - A full textual representation of the day of the week
|
||
// j - Day of the month without leading zeros
|
||
// F - A full textual representation of a month
|
||
// Y - A full numeric representation of a year, 4 digits
|
||
// H - 24-hour format of an hour with leading zeros
|
||
// i - Minutes with leading zeros
|
||
// s - Seconds, with leading zeros
|
||
FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
|
||
// month day:
|
||
// d - Day of the month, 2 digits with leading zeros
|
||
// F - A full textual representation of a month
|
||
MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
|
||
// short time (without seconds)
|
||
// H - 24-hour format of an hour with leading zeros
|
||
// i - Minutes with leading zeros
|
||
ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
|
||
// long time (with seconds)
|
||
// H - 24-hour format of an hour with leading zeros
|
||
// i - Minutes with leading zeros
|
||
// s - Seconds, with leading zeros
|
||
LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
|
||
SortableDateTime: "Y-m-d\\TH:i:s",
|
||
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
||
// month with year
|
||
// F - A full textual representation of a month
|
||
// Y - A full numeric representation of a year, 4 digits
|
||
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
|
||
},
|
||
reformatAfterEdit : false
|
||
},
|
||
baseLinkUrl: '',
|
||
showAction: '',
|
||
target: '',
|
||
checkbox : {disabled:true},
|
||
idName : 'id'
|
||
}
|
||
});
|
||
})(jQuery); |