libre-jqgrid 4.17.2 → 4.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.tscache/all/hashes/free-jqgrid.d.ts-74303c8b076937117540c0cb798f2053 +1 -0
- package/.tscache/all/hashes/test.ts-0d81877a31bc5d7ac52dd35a66602f01 +1 -0
- package/.tscache/all/timestamp +0 -0
- package/dist/css/ui.jqgrid.css +1618 -0
- package/dist/css/ui.jqgrid.min.css +4 -0
- package/dist/css/ui.jqgrid.min.css.map +1 -0
- package/dist/i18n/grid.locale-ar.js +198 -0
- package/dist/i18n/grid.locale-bg.js +201 -0
- package/dist/i18n/grid.locale-bs.js +230 -0
- package/dist/i18n/grid.locale-ca.js +204 -0
- package/dist/i18n/grid.locale-cn.js +237 -0
- package/dist/i18n/grid.locale-cs.js +197 -0
- package/dist/i18n/grid.locale-da.js +196 -0
- package/dist/i18n/grid.locale-de.js +240 -0
- package/dist/i18n/grid.locale-el.js +195 -0
- package/dist/i18n/grid.locale-en.js +256 -0
- package/dist/i18n/grid.locale-es.js +202 -0
- package/dist/i18n/grid.locale-fa.js +211 -0
- package/dist/i18n/grid.locale-fi.js +201 -0
- package/dist/i18n/grid.locale-fr.js +197 -0
- package/dist/i18n/grid.locale-gl.js +197 -0
- package/dist/i18n/grid.locale-he.js +198 -0
- package/dist/i18n/grid.locale-hr.js +231 -0
- package/dist/i18n/grid.locale-hu.js +196 -0
- package/dist/i18n/grid.locale-id.js +238 -0
- package/dist/i18n/grid.locale-is.js +197 -0
- package/dist/i18n/grid.locale-it.js +189 -0
- package/dist/i18n/grid.locale-ja.js +203 -0
- package/dist/i18n/grid.locale-kr.js +194 -0
- package/dist/i18n/grid.locale-lt.js +199 -0
- package/dist/i18n/grid.locale-me.js +198 -0
- package/dist/i18n/grid.locale-nl.js +208 -0
- package/dist/i18n/grid.locale-no.js +180 -0
- package/dist/i18n/grid.locale-pl.js +204 -0
- package/dist/i18n/grid.locale-pt-br.js +210 -0
- package/dist/i18n/grid.locale-pt.js +196 -0
- package/dist/i18n/grid.locale-ro.js +210 -0
- package/dist/i18n/grid.locale-ru.js +196 -0
- package/dist/i18n/grid.locale-sk.js +198 -0
- package/dist/i18n/grid.locale-sl.js +230 -0
- package/dist/i18n/grid.locale-sr.js +199 -0
- package/dist/i18n/grid.locale-sv.js +198 -0
- package/dist/i18n/grid.locale-th.js +195 -0
- package/dist/i18n/grid.locale-tr.js +197 -0
- package/dist/i18n/grid.locale-tw.js +199 -0
- package/dist/i18n/grid.locale-ua.js +199 -0
- package/dist/i18n/grid.locale-vi.js +238 -0
- package/dist/i18n/min/grid.locale-ar.js +10 -0
- package/dist/i18n/min/grid.locale-ar.js.map +1 -0
- package/dist/i18n/min/grid.locale-bg.js +10 -0
- package/dist/i18n/min/grid.locale-bg.js.map +1 -0
- package/dist/i18n/min/grid.locale-ca.js +15 -0
- package/dist/i18n/min/grid.locale-ca.js.map +1 -0
- package/dist/i18n/min/grid.locale-cn.js +10 -0
- package/dist/i18n/min/grid.locale-cn.js.map +1 -0
- package/dist/i18n/min/grid.locale-cs.js +11 -0
- package/dist/i18n/min/grid.locale-cs.js.map +1 -0
- package/dist/i18n/min/grid.locale-da.js +10 -0
- package/dist/i18n/min/grid.locale-da.js.map +1 -0
- package/dist/i18n/min/grid.locale-de.js +21 -0
- package/dist/i18n/min/grid.locale-de.js.map +1 -0
- package/dist/i18n/min/grid.locale-el.js +10 -0
- package/dist/i18n/min/grid.locale-el.js.map +1 -0
- package/dist/i18n/min/grid.locale-en.js +11 -0
- package/dist/i18n/min/grid.locale-en.js.map +1 -0
- package/dist/i18n/min/grid.locale-es.js +16 -0
- package/dist/i18n/min/grid.locale-es.js.map +1 -0
- package/dist/i18n/min/grid.locale-fa.js +8 -0
- package/dist/i18n/min/grid.locale-fa.js.map +1 -0
- package/dist/i18n/min/grid.locale-fi.js +11 -0
- package/dist/i18n/min/grid.locale-fi.js.map +1 -0
- package/dist/i18n/min/grid.locale-fr.js +10 -0
- package/dist/i18n/min/grid.locale-fr.js.map +1 -0
- package/dist/i18n/min/grid.locale-gl.js +9 -0
- package/dist/i18n/min/grid.locale-gl.js.map +1 -0
- package/dist/i18n/min/grid.locale-he.js +10 -0
- package/dist/i18n/min/grid.locale-he.js.map +1 -0
- package/dist/i18n/min/grid.locale-hr.js +11 -0
- package/dist/i18n/min/grid.locale-hr.js.map +1 -0
- package/dist/i18n/min/grid.locale-hu.js +10 -0
- package/dist/i18n/min/grid.locale-hu.js.map +1 -0
- package/dist/i18n/min/grid.locale-id.js +10 -0
- package/dist/i18n/min/grid.locale-id.js.map +1 -0
- package/dist/i18n/min/grid.locale-is.js +9 -0
- package/dist/i18n/min/grid.locale-is.js.map +1 -0
- package/dist/i18n/min/grid.locale-it.js +2 -0
- package/dist/i18n/min/grid.locale-it.js.map +1 -0
- package/dist/i18n/min/grid.locale-ja.js +10 -0
- package/dist/i18n/min/grid.locale-ja.js.map +1 -0
- package/dist/i18n/min/grid.locale-kr.js +2 -0
- package/dist/i18n/min/grid.locale-kr.js.map +1 -0
- package/dist/i18n/min/grid.locale-lt.js +10 -0
- package/dist/i18n/min/grid.locale-lt.js.map +1 -0
- package/dist/i18n/min/grid.locale-me.js +10 -0
- package/dist/i18n/min/grid.locale-me.js.map +1 -0
- package/dist/i18n/min/grid.locale-nl.js +2 -0
- package/dist/i18n/min/grid.locale-nl.js.map +1 -0
- package/dist/i18n/min/grid.locale-no.js +2 -0
- package/dist/i18n/min/grid.locale-no.js.map +1 -0
- package/dist/i18n/min/grid.locale-pl.js +18 -0
- package/dist/i18n/min/grid.locale-pl.js.map +1 -0
- package/dist/i18n/min/grid.locale-pt-br.js +21 -0
- package/dist/i18n/min/grid.locale-pt-br.js.map +1 -0
- package/dist/i18n/min/grid.locale-pt.js +9 -0
- package/dist/i18n/min/grid.locale-pt.js.map +1 -0
- package/dist/i18n/min/grid.locale-ro.js +10 -0
- package/dist/i18n/min/grid.locale-ro.js.map +1 -0
- package/dist/i18n/min/grid.locale-ru.js +10 -0
- package/dist/i18n/min/grid.locale-ru.js.map +1 -0
- package/dist/i18n/min/grid.locale-sk.js +10 -0
- package/dist/i18n/min/grid.locale-sk.js.map +1 -0
- package/dist/i18n/min/grid.locale-sr.js +10 -0
- package/dist/i18n/min/grid.locale-sr.js.map +1 -0
- package/dist/i18n/min/grid.locale-sv.js +10 -0
- package/dist/i18n/min/grid.locale-sv.js.map +1 -0
- package/dist/i18n/min/grid.locale-th.js +10 -0
- package/dist/i18n/min/grid.locale-th.js.map +1 -0
- package/dist/i18n/min/grid.locale-tr.js +10 -0
- package/dist/i18n/min/grid.locale-tr.js.map +1 -0
- package/dist/i18n/min/grid.locale-tw.js +11 -0
- package/dist/i18n/min/grid.locale-tw.js.map +1 -0
- package/dist/i18n/min/grid.locale-ua.js +10 -0
- package/dist/i18n/min/grid.locale-ua.js.map +1 -0
- package/dist/i18n/min/grid.locale-vi.js +10 -0
- package/dist/i18n/min/grid.locale-vi.js.map +1 -0
- package/dist/jquery.jqgrid.min.js +11 -0
- package/dist/jquery.jqgrid.min.js.map +1 -0
- package/{js/jquery.jqgrid.src.js.1 → dist/jquery.jqgrid.src.js} +1 -1
- package/dist/modules/grid.base.js +8518 -0
- package/dist/modules/grid.celledit.js +673 -0
- package/dist/modules/grid.common.js +844 -0
- package/dist/modules/grid.custom.js +1795 -0
- package/dist/modules/grid.filter.js +897 -0
- package/dist/modules/grid.formedit.js +2537 -0
- package/dist/modules/grid.grouping.js +737 -0
- package/dist/modules/grid.import.js +251 -0
- package/dist/modules/grid.inlinedit.js +784 -0
- package/dist/modules/grid.jqueryui.js +965 -0
- package/dist/modules/grid.pivot.js +862 -0
- package/dist/modules/grid.subgrid.js +379 -0
- package/dist/modules/grid.tbltogrid.js +141 -0
- package/dist/modules/grid.treegrid.js +683 -0
- package/dist/modules/jqdnr.js +188 -0
- package/dist/modules/jqmodal.js +292 -0
- package/dist/modules/jquery.fmatter.js +1061 -0
- package/dist/modules/jsonxml.js +343 -0
- package/dist/modules/min/grid.base.js +11 -0
- package/dist/modules/min/grid.base.js.map +1 -0
- package/dist/modules/min/grid.celledit.js +2 -0
- package/dist/modules/min/grid.celledit.js.map +1 -0
- package/dist/modules/min/grid.common.js +2 -0
- package/dist/modules/min/grid.common.js.map +1 -0
- package/dist/modules/min/grid.custom.js +2 -0
- package/dist/modules/min/grid.custom.js.map +1 -0
- package/dist/modules/min/grid.filter.js +2 -0
- package/dist/modules/min/grid.filter.js.map +1 -0
- package/dist/modules/min/grid.formedit.js +2 -0
- package/dist/modules/min/grid.formedit.js.map +1 -0
- package/dist/modules/min/grid.grouping.js +2 -0
- package/dist/modules/min/grid.grouping.js.map +1 -0
- package/dist/modules/min/grid.import.js +2 -0
- package/dist/modules/min/grid.import.js.map +1 -0
- package/dist/modules/min/grid.inlinedit.js +2 -0
- package/dist/modules/min/grid.inlinedit.js.map +1 -0
- package/dist/modules/min/grid.jqueryui.js +2 -0
- package/dist/modules/min/grid.jqueryui.js.map +1 -0
- package/dist/modules/min/grid.pivot.js +2 -0
- package/dist/modules/min/grid.pivot.js.map +1 -0
- package/dist/modules/min/grid.subgrid.js +2 -0
- package/dist/modules/min/grid.subgrid.js.map +1 -0
- package/dist/modules/min/grid.tbltogrid.js +2 -0
- package/dist/modules/min/grid.tbltogrid.js.map +1 -0
- package/dist/modules/min/grid.treegrid.js +2 -0
- package/dist/modules/min/grid.treegrid.js.map +1 -0
- package/dist/modules/min/jqdnr.js +2 -0
- package/dist/modules/min/jqdnr.js.map +1 -0
- package/dist/modules/min/jqmodal.js +2 -0
- package/dist/modules/min/jqmodal.js.map +1 -0
- package/dist/modules/min/jquery.fmatter.js +2 -0
- package/dist/modules/min/jquery.fmatter.js.map +1 -0
- package/dist/modules/min/jsonxml.js +2 -0
- package/dist/modules/min/jsonxml.js.map +1 -0
- package/dist/plugins/css/ui.multiselect.css +30 -0
- package/dist/plugins/css/ui.multiselect.min.css +2 -0
- package/dist/plugins/css/ui.multiselect.min.css.map +1 -0
- package/dist/plugins/grid.odata.js +1313 -0
- package/dist/plugins/jqgrid_download.js +109 -0
- package/dist/plugins/jquery.contextmenu-ui.js +304 -0
- package/dist/plugins/jquery.contextmenu.js +174 -0
- package/dist/plugins/jquery.createcontexmenufromnavigatorbuttons.js +172 -0
- package/dist/plugins/jquery.jqgrid.showhidecolumnmenu.js +201 -0
- package/dist/plugins/min/grid.odata.js +11 -0
- package/dist/plugins/min/grid.odata.js.map +1 -0
- package/dist/plugins/min/jquery.contextmenu-ui.js +26 -0
- package/dist/plugins/min/jquery.contextmenu-ui.js.map +1 -0
- package/dist/plugins/min/jquery.contextmenu.js +19 -0
- package/dist/plugins/min/jquery.contextmenu.js.map +1 -0
- package/dist/plugins/min/jquery.createcontexmenufromnavigatorbuttons.js +12 -0
- package/dist/plugins/min/jquery.createcontexmenufromnavigatorbuttons.js.map +1 -0
- package/dist/plugins/min/jquery.jqgrid.showhidecolumnmenu.js +10 -0
- package/dist/plugins/min/jquery.jqgrid.showhidecolumnmenu.js.map +1 -0
- package/dist/plugins/min/ui.multiselect.js +30 -0
- package/dist/plugins/min/ui.multiselect.js.map +1 -0
- package/dist/plugins/ui.multiselect.js +389 -0
- package/dist/ts/free-jqgrid.d.ts +2132 -0
- package/js/jquery.jqgrid.min.js +1 -1
- package/js/jquery.jqgrid.min.js.map +1 -1
- package/js/jquery.jqgrid.src.js +8 -3
- package/libre-jqgrid-4.17.4.tgz +0 -0
- package/package.json +1 -1
- package/.github/workflows/npm.yml +0 -47
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license jqGrid Bosnian Translation
|
|
3
|
+
* by Nimesin info@nimesin.com
|
|
4
|
+
*
|
|
5
|
+
* Dual licensed under the MIT and GPL licenses:
|
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
|
7
|
+
* http://www.gnu.org/licenses/gpl.html
|
|
8
|
+
**/
|
|
9
|
+
|
|
10
|
+
/*jslint white: true */
|
|
11
|
+
/*global jQuery, module, require */
|
|
12
|
+
(function (factory) {
|
|
13
|
+
"use strict";
|
|
14
|
+
if (typeof define === "function" && define.amd) {
|
|
15
|
+
// AMD. Register as an anonymous module.
|
|
16
|
+
define(["jquery"], factory);
|
|
17
|
+
} else if (typeof module === "object" && module.exports) {
|
|
18
|
+
// Node/CommonJS
|
|
19
|
+
module.exports = function (root, $) {
|
|
20
|
+
if ($ === undefined) {
|
|
21
|
+
// require("jquery") returns a factory that requires window to
|
|
22
|
+
// build a jQuery instance, we normalize how we use modules
|
|
23
|
+
// that require this pattern but the window provided is a noop
|
|
24
|
+
// if it's defined (how jquery works)
|
|
25
|
+
$ = typeof window !== "undefined" ?
|
|
26
|
+
require("jquery") :
|
|
27
|
+
require("jquery")(root || window);
|
|
28
|
+
}
|
|
29
|
+
factory($);
|
|
30
|
+
return $;
|
|
31
|
+
};
|
|
32
|
+
} else {
|
|
33
|
+
// Browser globals
|
|
34
|
+
factory(jQuery);
|
|
35
|
+
}
|
|
36
|
+
}(function ($) {
|
|
37
|
+
"use strict";
|
|
38
|
+
var locInfo = {
|
|
39
|
+
isRTL: false,
|
|
40
|
+
defaults: {
|
|
41
|
+
recordtext: "Pregled {0} - {1} od {2}",
|
|
42
|
+
emptyrecords: "Nema zapisa",
|
|
43
|
+
loadtext: "Učitavam...",
|
|
44
|
+
pgtext: "Stranica {0} od {1}",
|
|
45
|
+
pgfirst: "Prva stranica",
|
|
46
|
+
pglast: "Zadnja stranica",
|
|
47
|
+
pgnext: "Slijedeća stranica",
|
|
48
|
+
pgprev: "Prethodna stranica",
|
|
49
|
+
pgrecs: "zapisa po stranici",
|
|
50
|
+
showhide: "Promijeni širenje/skupljanje grida",
|
|
51
|
+
savetext: "Spremanje..."
|
|
52
|
+
},
|
|
53
|
+
search: {
|
|
54
|
+
caption: "Traži...",
|
|
55
|
+
Find: "Pretraživanje",
|
|
56
|
+
Reset: "Poništi",
|
|
57
|
+
odata: [
|
|
58
|
+
{ oper: "eq", text: "jednak" },
|
|
59
|
+
{ oper: "ne", text: "nije jednak" },
|
|
60
|
+
{ oper: "lt", text: "manje" },
|
|
61
|
+
{ oper: "le", text: "manje ili jednako" },
|
|
62
|
+
{ oper: "gt", text: "veće" },
|
|
63
|
+
{ oper: "ge", text: "veće ili jednako" },
|
|
64
|
+
{ oper: "bw", text: "počinje sa" },
|
|
65
|
+
{ oper: "bn", text: "ne počinje sa " },
|
|
66
|
+
{ oper: "in", text: "je u" },
|
|
67
|
+
{ oper: "ni", text: "nije u" },
|
|
68
|
+
{ oper: "ew", text: "završava sa" },
|
|
69
|
+
{ oper: "en", text: "ne završava sa" },
|
|
70
|
+
{ oper: "cn", text: "sadrži" },
|
|
71
|
+
{ oper: "nc", text: "ne sadrži" },
|
|
72
|
+
{ oper: "nu", text: "je prazno" },
|
|
73
|
+
{ oper: "nn", text: "nije prazno" }
|
|
74
|
+
],
|
|
75
|
+
groupOps: [
|
|
76
|
+
{ op: "AND", text: "sve" },
|
|
77
|
+
{ op: "OR", text: "bilo koji" }
|
|
78
|
+
],
|
|
79
|
+
addGroupTitle: "Dodaj podgrupu",
|
|
80
|
+
deleteGroupTitle: "Obriši grupu",
|
|
81
|
+
addRuleTitle: "Dodaj pravilo",
|
|
82
|
+
deleteRuleTitle: "Obriši pravilo",
|
|
83
|
+
operandTitle: "Pritisnite za promjenu operacije traženja.",
|
|
84
|
+
resetTitle: "Vrati vrijednosti na zadane"
|
|
85
|
+
},
|
|
86
|
+
edit: {
|
|
87
|
+
addCaption: "Dodaj zapis",
|
|
88
|
+
editCaption: "Promijeni zapis",
|
|
89
|
+
bSubmit: "Preuzmi",
|
|
90
|
+
bCancel: "Odustani",
|
|
91
|
+
bClose: "Zatvori",
|
|
92
|
+
saveData: "Podaci su promijenjeni! Preuzmi promjene?",
|
|
93
|
+
bYes: "Da",
|
|
94
|
+
bNo: "Ne",
|
|
95
|
+
bExit: "Odustani",
|
|
96
|
+
msg: {
|
|
97
|
+
required: "Polje je obavezno",
|
|
98
|
+
number: "Molim, unesite ispravan broj",
|
|
99
|
+
minValue: "Vrijednost mora biti veća ili identična ",
|
|
100
|
+
maxValue: "Vrijednost mora biti manja ili identična",
|
|
101
|
+
email: "neispravan e-mail",
|
|
102
|
+
integer: "Molim, unijeti ispravan cijeli broj (integer)",
|
|
103
|
+
date: "Molim, unijeti ispravan datum ",
|
|
104
|
+
url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
|
|
105
|
+
nodefined: " nije definiran!",
|
|
106
|
+
novalue: " zahtjevan podatak je obavezan!",
|
|
107
|
+
customarray: "Opcionalna funkcija trebala bi bili polje (array)!",
|
|
108
|
+
customfcheck: "Kod korisničke provjere, korisnička funkcija treba biti prisutna!"
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
view: {
|
|
113
|
+
caption: "Otvori zapis",
|
|
114
|
+
bClose: "Zatvori"
|
|
115
|
+
},
|
|
116
|
+
del: {
|
|
117
|
+
caption: "Obriši",
|
|
118
|
+
msg: "Obriši označen zapis ili više njih?",
|
|
119
|
+
bSubmit: "Obriši",
|
|
120
|
+
bCancel: "Odustani"
|
|
121
|
+
},
|
|
122
|
+
nav: {
|
|
123
|
+
edittext: "",
|
|
124
|
+
edittitle: "Promijeni obilježeni red",
|
|
125
|
+
addtext: "",
|
|
126
|
+
addtitle: "Dodaj novi red",
|
|
127
|
+
deltext: "",
|
|
128
|
+
deltitle: "Obriši obilježeni red",
|
|
129
|
+
searchtext: "",
|
|
130
|
+
searchtitle: "Potraži zapise",
|
|
131
|
+
refreshtext: "",
|
|
132
|
+
refreshtitle: "Ponovo preuzmi podatke",
|
|
133
|
+
alertcap: "Upozorenje",
|
|
134
|
+
alerttext: "Molim, odaberi red",
|
|
135
|
+
viewtext: "",
|
|
136
|
+
viewtitle: "Pregled obilježenog reda",
|
|
137
|
+
savetext: "",
|
|
138
|
+
savetitle: "Spremi red",
|
|
139
|
+
canceltext: "",
|
|
140
|
+
canceltitle: "Prekini promjenu reda"
|
|
141
|
+
},
|
|
142
|
+
col: {
|
|
143
|
+
caption: "Obilježi kolonu",
|
|
144
|
+
bSubmit: "U redu",
|
|
145
|
+
bCancel: "Odustani"
|
|
146
|
+
},
|
|
147
|
+
errors: {
|
|
148
|
+
errcap: "Greška",
|
|
149
|
+
nourl: "Nedostaje URL",
|
|
150
|
+
norecords: "Bez zapisa za obradu",
|
|
151
|
+
model: "colNames i colModel imaju različitu duljinu!"
|
|
152
|
+
},
|
|
153
|
+
formatter: {
|
|
154
|
+
integer: { thousandsSeparator: ".", defaultValue: "0" },
|
|
155
|
+
number: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: "0,00" },
|
|
156
|
+
currency: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0,00" },
|
|
157
|
+
date: {
|
|
158
|
+
dayNames: [
|
|
159
|
+
"Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub",
|
|
160
|
+
"Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
|
|
161
|
+
],
|
|
162
|
+
monthNames: [
|
|
163
|
+
"Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
|
|
164
|
+
"Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
|
|
165
|
+
],
|
|
166
|
+
AmPm: ["am", "pm", "AM", "PM"],
|
|
167
|
+
S: function () { return ""; },
|
|
168
|
+
srcformat: "Y-m-d",
|
|
169
|
+
newformat: "d.m.Y.",
|
|
170
|
+
masks: {
|
|
171
|
+
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
|
172
|
+
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
|
173
|
+
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
|
174
|
+
// short date:
|
|
175
|
+
// d - Day of the month, 2 digits with leading zeros
|
|
176
|
+
// m - Numeric representation of a month, with leading zeros
|
|
177
|
+
// Y - A full numeric representation of a year, 4 digits
|
|
178
|
+
ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
|
|
179
|
+
// long date:
|
|
180
|
+
// l - A full textual representation of the day of the week
|
|
181
|
+
// j - Day of the month without leading zeros
|
|
182
|
+
// F - A full textual representation of a month
|
|
183
|
+
// Y - A full numeric representation of a year, 4 digits
|
|
184
|
+
LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
|
|
185
|
+
// long date with long time:
|
|
186
|
+
// l - A full textual representation of the day of the week
|
|
187
|
+
// j - Day of the month without leading zeros
|
|
188
|
+
// F - A full textual representation of a month
|
|
189
|
+
// Y - A full numeric representation of a year, 4 digits
|
|
190
|
+
// H - 24-hour format of an hour with leading zeros
|
|
191
|
+
// i - Minutes with leading zeros
|
|
192
|
+
// s - Seconds, with leading zeros
|
|
193
|
+
FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
|
|
194
|
+
// month day:
|
|
195
|
+
// d - Day of the month, 2 digits with leading zeros
|
|
196
|
+
// F - A full textual representation of a month
|
|
197
|
+
MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
|
|
198
|
+
// short time (without seconds)
|
|
199
|
+
// H - 24-hour format of an hour with leading zeros
|
|
200
|
+
// i - Minutes with leading zeros
|
|
201
|
+
ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
|
|
202
|
+
// long time (with seconds)
|
|
203
|
+
// H - 24-hour format of an hour with leading zeros
|
|
204
|
+
// i - Minutes with leading zeros
|
|
205
|
+
// s - Seconds, with leading zeros
|
|
206
|
+
LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
|
|
207
|
+
// month with year
|
|
208
|
+
// F - A full textual representation of a month
|
|
209
|
+
// Y - A full numeric representation of a year, 4 digits
|
|
210
|
+
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
$.jgrid = $.jgrid || {};
|
|
216
|
+
$.extend(true, $.jgrid, {
|
|
217
|
+
defaults: {
|
|
218
|
+
locale: "bs"
|
|
219
|
+
},
|
|
220
|
+
locales: {
|
|
221
|
+
// In general the property name is free, but it's recommended to use the names based on
|
|
222
|
+
// http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
223
|
+
// http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
|
|
224
|
+
// One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
|
|
225
|
+
// if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
|
|
226
|
+
bs: $.extend({}, locInfo, { name: "bosanski", nameEnglish: "Bosnian" }),
|
|
227
|
+
"bs-BA": $.extend({}, locInfo, { name: "bosanski (Bosna)", nameEnglish: "Bosnian (Bosnia)" })
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
}));
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license jqGrid Catalan Translation
|
|
3
|
+
*
|
|
4
|
+
* Traducció jqGrid en Català per Faserline, S.L.
|
|
5
|
+
* http://www.faserline.com
|
|
6
|
+
*
|
|
7
|
+
* Traducció corregida i ampliada per Marc lobato
|
|
8
|
+
* http://www.navigatecms.com
|
|
9
|
+
*
|
|
10
|
+
* Dual licensed under the MIT and GPL licenses:
|
|
11
|
+
* http://www.opensource.org/licenses/mit-license.php
|
|
12
|
+
* http://www.gnu.org/licenses/gpl.html
|
|
13
|
+
**/
|
|
14
|
+
|
|
15
|
+
/*jslint white: true */
|
|
16
|
+
/*global jQuery, module, require */
|
|
17
|
+
(function (factory) {
|
|
18
|
+
"use strict";
|
|
19
|
+
if (typeof define === "function" && define.amd) {
|
|
20
|
+
// AMD. Register as an anonymous module.
|
|
21
|
+
define(["jquery"], factory);
|
|
22
|
+
} else if (typeof module === "object" && module.exports) {
|
|
23
|
+
// Node/CommonJS
|
|
24
|
+
module.exports = function (root, $) {
|
|
25
|
+
if ($ === undefined) {
|
|
26
|
+
// require("jquery") returns a factory that requires window to
|
|
27
|
+
// build a jQuery instance, we normalize how we use modules
|
|
28
|
+
// that require this pattern but the window provided is a noop
|
|
29
|
+
// if it's defined (how jquery works)
|
|
30
|
+
$ = typeof window !== "undefined" ?
|
|
31
|
+
require("jquery") :
|
|
32
|
+
require("jquery")(root || window);
|
|
33
|
+
}
|
|
34
|
+
factory($);
|
|
35
|
+
return $;
|
|
36
|
+
};
|
|
37
|
+
} else {
|
|
38
|
+
// Browser globals
|
|
39
|
+
factory(jQuery);
|
|
40
|
+
}
|
|
41
|
+
}(function ($) {
|
|
42
|
+
"use strict";
|
|
43
|
+
var locInfo = {
|
|
44
|
+
isRTL: false,
|
|
45
|
+
defaults: {
|
|
46
|
+
recordtext: "Mostrant {0} - {1} de {2}",
|
|
47
|
+
emptyrecords: "Sense registres per mostrar",
|
|
48
|
+
loadtext: "Carregant...",
|
|
49
|
+
pgtext: "Pàgina {0} de {1}",
|
|
50
|
+
pgfirst: "Primera pàgina",
|
|
51
|
+
pglast: "Última pàgina",
|
|
52
|
+
pgnext: "Pàgina següent",
|
|
53
|
+
pgprev: "Pàgina anterior",
|
|
54
|
+
pgrecs: "Registres per pàgina",
|
|
55
|
+
showhide: "Alternar expandir/col·lapsar la taula",
|
|
56
|
+
savetext: "S'està desant..."
|
|
57
|
+
},
|
|
58
|
+
search: {
|
|
59
|
+
caption: "Cerca...",
|
|
60
|
+
Find: "Cercar",
|
|
61
|
+
Reset: "Buidar",
|
|
62
|
+
odata: [
|
|
63
|
+
{ oper: "eq", text: "igual" },
|
|
64
|
+
{ oper: "ne", text: "no igual" },
|
|
65
|
+
{ oper: "lt", text: "menor que" },
|
|
66
|
+
{ oper: "le", text: "menor o igual" },
|
|
67
|
+
{ oper: "gt", text: "major que" },
|
|
68
|
+
{ oper: "ge", text: "major o igual" },
|
|
69
|
+
{ oper: "bw", text: "comença amb" },
|
|
70
|
+
{ oper: "bn", text: "no comença amb" },
|
|
71
|
+
{ oper: "in", text: "està entre" },
|
|
72
|
+
{ oper: "ni", text: "no està entre" },
|
|
73
|
+
{ oper: "ew", text: "acaba amb" },
|
|
74
|
+
{ oper: "en", text: "no acaba amb" },
|
|
75
|
+
{ oper: "cn", text: "conté" },
|
|
76
|
+
{ oper: "nc", text: "no conté" },
|
|
77
|
+
{ oper: "nu", text: "és nul" },
|
|
78
|
+
{ oper: "nn", text: "no és nul" }
|
|
79
|
+
],
|
|
80
|
+
groupOps: [
|
|
81
|
+
{ op: "AND", text: "tot" },
|
|
82
|
+
{ op: "OR", text: "qualsevol" }
|
|
83
|
+
],
|
|
84
|
+
addGroupTitle: "Crear subgrup",
|
|
85
|
+
deleteGroupTitle: "Eliminar grup",
|
|
86
|
+
addRuleTitle: "Crear regla",
|
|
87
|
+
deleteRuleTitle: "Eliminar regla",
|
|
88
|
+
operandTitle: "Clic per escollir la operació de cerca.",
|
|
89
|
+
resetTitle: "Reiniciar valors de la cerca"
|
|
90
|
+
},
|
|
91
|
+
edit: {
|
|
92
|
+
addCaption: "Afegir registre",
|
|
93
|
+
editCaption: "Modificar registre",
|
|
94
|
+
bSubmit: "Guardar",
|
|
95
|
+
bCancel: "Cancelar",
|
|
96
|
+
bClose: "Tancar",
|
|
97
|
+
saveData: "Les dades han canviat. Guardar canvis?",
|
|
98
|
+
bYes: "Sí",
|
|
99
|
+
bNo: "No",
|
|
100
|
+
bExit: "Cancel·lar",
|
|
101
|
+
msg: {
|
|
102
|
+
required: "Camp obligatori",
|
|
103
|
+
number: "Introdueixi un nombre",
|
|
104
|
+
minValue: "El valor ha de ser major o igual que ",
|
|
105
|
+
maxValue: "El valor ha de ser menor o igual a ",
|
|
106
|
+
email: "no és una direcció de correu vàlida",
|
|
107
|
+
integer: "Introdueixi un valor enter",
|
|
108
|
+
date: "Introdueixi una data correcta ",
|
|
109
|
+
url: "no és una URL vàlida. Prefix requerit ('http://' o 'https://')",
|
|
110
|
+
nodefined: " no està definit!",
|
|
111
|
+
novalue: " es requereix un valor de retorn!",
|
|
112
|
+
customarray: "La funció personalitzada hauria de retornar una array!",
|
|
113
|
+
customfcheck: "La funció personalitzada hauria d'estar present si es fa una comprovació personalitzada!"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
view: {
|
|
117
|
+
caption: "Veure registre",
|
|
118
|
+
bClose: "Tancar"
|
|
119
|
+
},
|
|
120
|
+
del: {
|
|
121
|
+
caption: "Eliminar",
|
|
122
|
+
msg: "¿Desitja eliminar els registres seleccionats?",
|
|
123
|
+
bSubmit: "Eliminar",
|
|
124
|
+
bCancel: "Cancel·lar"
|
|
125
|
+
},
|
|
126
|
+
nav: {
|
|
127
|
+
edittext: "",
|
|
128
|
+
edittitle: "Modificar fila seleccionada",
|
|
129
|
+
addtext: "",
|
|
130
|
+
addtitle: "Agregar nova fila",
|
|
131
|
+
deltext: "",
|
|
132
|
+
deltitle: "Eliminar fila seleccionada",
|
|
133
|
+
searchtext: "",
|
|
134
|
+
searchtitle: "Cercar informació",
|
|
135
|
+
refreshtext: "",
|
|
136
|
+
refreshtitle: "Refrescar taula",
|
|
137
|
+
alertcap: "Avís",
|
|
138
|
+
alerttext: "Seleccioni una fila",
|
|
139
|
+
viewtext: "",
|
|
140
|
+
viewtitle: "Veure fila seleccionada",
|
|
141
|
+
savetext: "",
|
|
142
|
+
savetitle: "Guardar fila",
|
|
143
|
+
canceltext: "",
|
|
144
|
+
canceltitle: "Cancel·lar edició de la fila"
|
|
145
|
+
},
|
|
146
|
+
// setcolumns module
|
|
147
|
+
col: {
|
|
148
|
+
caption: "Mostrar/ocultar columnes",
|
|
149
|
+
bSubmit: "Enviar",
|
|
150
|
+
bCancel: "Cancelar"
|
|
151
|
+
},
|
|
152
|
+
errors: {
|
|
153
|
+
errcap: "Error",
|
|
154
|
+
nourl: "No s'ha especificat una URL",
|
|
155
|
+
norecords: "No hi ha dades per processar",
|
|
156
|
+
model: "Les columnes de noms són diferents de les columnes del model"
|
|
157
|
+
},
|
|
158
|
+
formatter: {
|
|
159
|
+
integer: { thousandsSeparator: ".", defaultValue: "0" },
|
|
160
|
+
number: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: "0,00" },
|
|
161
|
+
currency: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0,00" },
|
|
162
|
+
date: {
|
|
163
|
+
dayNames: [
|
|
164
|
+
"Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
|
|
165
|
+
"Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
|
|
166
|
+
],
|
|
167
|
+
monthNames: [
|
|
168
|
+
"Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
|
|
169
|
+
"Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
|
|
170
|
+
],
|
|
171
|
+
AmPm: ["am", "pm", "AM", "PM"],
|
|
172
|
+
S: function (j) {
|
|
173
|
+
return j < 11 || j > 13 ? ["st", "nd", "rd", "th"][Math.min((j - 1) % 10, 3)] : "th";
|
|
174
|
+
},
|
|
175
|
+
srcformat: "Y-m-d",
|
|
176
|
+
newformat: "d-m-Y",
|
|
177
|
+
masks: {
|
|
178
|
+
ShortDate: "n/j/Y",
|
|
179
|
+
LongDate: "l, F d, Y",
|
|
180
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
|
181
|
+
MonthDay: "F d",
|
|
182
|
+
ShortTime: "g:i A",
|
|
183
|
+
LongTime: "g:i:s A",
|
|
184
|
+
YearMonth: "F, Y"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
$.jgrid = $.jgrid || {};
|
|
190
|
+
$.extend(true, $.jgrid, {
|
|
191
|
+
defaults: {
|
|
192
|
+
locale: "ca"
|
|
193
|
+
},
|
|
194
|
+
locales: {
|
|
195
|
+
// In general the property name is free, but it's recommended to use the names based on
|
|
196
|
+
// http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
197
|
+
// http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
|
|
198
|
+
// One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
|
|
199
|
+
// if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
|
|
200
|
+
ca: $.extend({}, locInfo, { name: "català", nameEnglish: "Catalan" }),
|
|
201
|
+
"ca-ES": $.extend({}, locInfo, { name: "català (català)", nameEnglish: "Catalan (Catalan)" })
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
}));
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license jqGrid Chinese Translation
|
|
3
|
+
* 咖啡兔 yanhonglei@gmail.com
|
|
4
|
+
* http://www.kafeitu.me
|
|
5
|
+
* Dual licensed under the MIT and GPL licenses:
|
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
|
7
|
+
* http://www.gnu.org/licenses/gpl.html
|
|
8
|
+
**/
|
|
9
|
+
|
|
10
|
+
/*jslint white: true */
|
|
11
|
+
/*global jQuery, module, require */
|
|
12
|
+
(function (factory) {
|
|
13
|
+
"use strict";
|
|
14
|
+
if (typeof define === "function" && define.amd) {
|
|
15
|
+
// AMD. Register as an anonymous module.
|
|
16
|
+
define(["jquery"], factory);
|
|
17
|
+
} else if (typeof module === "object" && module.exports) {
|
|
18
|
+
// Node/CommonJS
|
|
19
|
+
module.exports = function (root, $) {
|
|
20
|
+
if ($ === undefined) {
|
|
21
|
+
// require("jquery") returns a factory that requires window to
|
|
22
|
+
// build a jQuery instance, we normalize how we use modules
|
|
23
|
+
// that require this pattern but the window provided is a noop
|
|
24
|
+
// if it's defined (how jquery works)
|
|
25
|
+
$ = typeof window !== "undefined" ?
|
|
26
|
+
require("jquery") :
|
|
27
|
+
require("jquery")(root || window);
|
|
28
|
+
}
|
|
29
|
+
factory($);
|
|
30
|
+
return $;
|
|
31
|
+
};
|
|
32
|
+
} else {
|
|
33
|
+
// Browser globals
|
|
34
|
+
factory(jQuery);
|
|
35
|
+
}
|
|
36
|
+
}(function ($) {
|
|
37
|
+
"use strict";
|
|
38
|
+
var locInfo = {
|
|
39
|
+
isRTL: false,
|
|
40
|
+
defaults: {
|
|
41
|
+
recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
|
|
42
|
+
emptyrecords: "无数据显示",
|
|
43
|
+
loadtext: "读取中...",
|
|
44
|
+
pgtext: " {0} 共 {1} 页",
|
|
45
|
+
pgfirst: "First Page",
|
|
46
|
+
pglast: "Last Page",
|
|
47
|
+
pgnext: "Next Page",
|
|
48
|
+
pgprev: "Previous Page",
|
|
49
|
+
pgrecs: "Records per Page",
|
|
50
|
+
showhide: "Toggle Expand Collapse Grid",
|
|
51
|
+
savetext: "正在保存..."
|
|
52
|
+
},
|
|
53
|
+
search: {
|
|
54
|
+
caption: "搜索...",
|
|
55
|
+
Find: "查找",
|
|
56
|
+
Reset: "重置",
|
|
57
|
+
odata: [
|
|
58
|
+
{ oper: "eq", text: "等于\u3000\u3000" },
|
|
59
|
+
{ oper: "ne", text: "不等\u3000\u3000" },
|
|
60
|
+
{ oper: "lt", text: "小于\u3000\u3000" },
|
|
61
|
+
{ oper: "le", text: "小于等于" },
|
|
62
|
+
{ oper: "gt", text: "大于\u3000\u3000" },
|
|
63
|
+
{ oper: "ge", text: "大于等于" },
|
|
64
|
+
{ oper: "bw", text: "开始于" },
|
|
65
|
+
{ oper: "bn", text: "不开始于" },
|
|
66
|
+
{ oper: "in", text: "属于\u3000\u3000" },
|
|
67
|
+
{ oper: "ni", text: "不属于" },
|
|
68
|
+
{ oper: "ew", text: "结束于" },
|
|
69
|
+
{ oper: "en", text: "不结束于" },
|
|
70
|
+
{ oper: "cn", text: "包含\u3000\u3000" },
|
|
71
|
+
{ oper: "nc", text: "不包含" },
|
|
72
|
+
{ oper: "nu", text: "不存在" },
|
|
73
|
+
{ oper: "nn", text: "存在" }
|
|
74
|
+
],
|
|
75
|
+
groupOps: [
|
|
76
|
+
{ op: "AND", text: "所有" },
|
|
77
|
+
{ op: "OR", text: "任一" }
|
|
78
|
+
],
|
|
79
|
+
addGroupTitle: "Add subgroup",
|
|
80
|
+
deleteGroupTitle: "Delete group",
|
|
81
|
+
addRuleTitle: "Add rule",
|
|
82
|
+
deleteRuleTitle: "Delete rule",
|
|
83
|
+
operandTitle: "Click to select search operation.",
|
|
84
|
+
resetTitle: "Reset Search Value"
|
|
85
|
+
},
|
|
86
|
+
edit: {
|
|
87
|
+
addCaption: "添加记录",
|
|
88
|
+
editCaption: "编辑记录",
|
|
89
|
+
bSubmit: "提交",
|
|
90
|
+
bCancel: "取消",
|
|
91
|
+
bClose: "关闭",
|
|
92
|
+
saveData: "数据已改变,是否保存?",
|
|
93
|
+
bYes: "是",
|
|
94
|
+
bNo: "否",
|
|
95
|
+
bExit: "取消",
|
|
96
|
+
msg: {
|
|
97
|
+
required: "此字段必需",
|
|
98
|
+
number: "请输入有效数字",
|
|
99
|
+
minValue: "输值必须大于等于 ",
|
|
100
|
+
maxValue: "输值必须小于等于 ",
|
|
101
|
+
email: "这不是有效的e-mail地址",
|
|
102
|
+
integer: "请输入有效整数",
|
|
103
|
+
date: "请输入有效时间",
|
|
104
|
+
url: "无效网址。前缀必须为 ('http://' 或 'https://')",
|
|
105
|
+
nodefined: " 未定义!",
|
|
106
|
+
novalue: " 需要返回值!",
|
|
107
|
+
customarray: "自定义函数需要返回数组!",
|
|
108
|
+
customfcheck: "必须有自定义函数!"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
view: {
|
|
112
|
+
caption: "查看记录",
|
|
113
|
+
bClose: "关闭"
|
|
114
|
+
},
|
|
115
|
+
del: {
|
|
116
|
+
caption: "删除",
|
|
117
|
+
msg: "删除所选记录?",
|
|
118
|
+
bSubmit: "删除",
|
|
119
|
+
bCancel: "取消"
|
|
120
|
+
},
|
|
121
|
+
nav: {
|
|
122
|
+
edittext: "",
|
|
123
|
+
edittitle: "编辑所选记录",
|
|
124
|
+
addtext: "",
|
|
125
|
+
addtitle: "添加新记录",
|
|
126
|
+
deltext: "",
|
|
127
|
+
deltitle: "删除所选记录",
|
|
128
|
+
searchtext: "",
|
|
129
|
+
searchtitle: "查找",
|
|
130
|
+
refreshtext: "",
|
|
131
|
+
refreshtitle: "刷新表格",
|
|
132
|
+
alertcap: "注意",
|
|
133
|
+
alerttext: "请选择记录",
|
|
134
|
+
viewtext: "",
|
|
135
|
+
viewtitle: "查看所选记录",
|
|
136
|
+
savetext: "",
|
|
137
|
+
savetitle: "Save row",
|
|
138
|
+
canceltext: "",
|
|
139
|
+
canceltitle: "Cancel row editing"
|
|
140
|
+
},
|
|
141
|
+
col: {
|
|
142
|
+
caption: "选择列",
|
|
143
|
+
bSubmit: "确定",
|
|
144
|
+
bCancel: "取消"
|
|
145
|
+
},
|
|
146
|
+
errors: {
|
|
147
|
+
errcap: "错误",
|
|
148
|
+
nourl: "没有设置url",
|
|
149
|
+
norecords: "没有要处理的记录",
|
|
150
|
+
model: "colNames 和 colModel 长度不等!"
|
|
151
|
+
},
|
|
152
|
+
formatter: {
|
|
153
|
+
integer: { thousandsSeparator: ",", defaultValue: "0" },
|
|
154
|
+
number: { decimalSeparator: ".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: "0.00" },
|
|
155
|
+
currency: { decimalSeparator: ".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00" },
|
|
156
|
+
date: {
|
|
157
|
+
dayNames: [
|
|
158
|
+
"日", "一", "二", "三", "四", "五", "六",
|
|
159
|
+
"星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"
|
|
160
|
+
],
|
|
161
|
+
monthNames: [
|
|
162
|
+
"一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
|
|
163
|
+
"一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
|
|
164
|
+
],
|
|
165
|
+
AmPm: ["am", "pm", "上午", "下午"],
|
|
166
|
+
S: function () {return "";},
|
|
167
|
+
srcformat: "Y-m-d",
|
|
168
|
+
newformat: "Y-m-d",
|
|
169
|
+
masks: {
|
|
170
|
+
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
|
171
|
+
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
|
172
|
+
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
|
173
|
+
// one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
|
|
174
|
+
// information about date, time, numbers and currency formats used in different countries
|
|
175
|
+
// one should just convert the information in PHP format
|
|
176
|
+
// short date:
|
|
177
|
+
// n - Numeric representation of a month, without leading zeros
|
|
178
|
+
// j - Day of the month without leading zeros
|
|
179
|
+
// Y - A full numeric representation of a year, 4 digits
|
|
180
|
+
// example: 3/1/2012 which means 1 March 2012
|
|
181
|
+
ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
|
|
182
|
+
// long date:
|
|
183
|
+
// l - A full textual representation of the day of the week
|
|
184
|
+
// F - A full textual representation of a month
|
|
185
|
+
// d - Day of the month, 2 digits with leading zeros
|
|
186
|
+
// Y - A full numeric representation of a year, 4 digits
|
|
187
|
+
LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
|
|
188
|
+
// long date with long time:
|
|
189
|
+
// l - A full textual representation of the day of the week
|
|
190
|
+
// F - A full textual representation of a month
|
|
191
|
+
// d - Day of the month, 2 digits with leading zeros
|
|
192
|
+
// Y - A full numeric representation of a year, 4 digits
|
|
193
|
+
// g - 12-hour format of an hour without leading zeros
|
|
194
|
+
// i - Minutes with leading zeros
|
|
195
|
+
// s - Seconds, with leading zeros
|
|
196
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
|
197
|
+
FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
|
|
198
|
+
// month day:
|
|
199
|
+
// F - A full textual representation of a month
|
|
200
|
+
// d - Day of the month, 2 digits with leading zeros
|
|
201
|
+
MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
|
|
202
|
+
// short time (without seconds)
|
|
203
|
+
// g - 12-hour format of an hour without leading zeros
|
|
204
|
+
// i - Minutes with leading zeros
|
|
205
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
|
206
|
+
ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
|
|
207
|
+
// long time (with seconds)
|
|
208
|
+
// g - 12-hour format of an hour without leading zeros
|
|
209
|
+
// i - Minutes with leading zeros
|
|
210
|
+
// s - Seconds, with leading zeros
|
|
211
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
|
212
|
+
LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
|
|
213
|
+
// month with year
|
|
214
|
+
// Y - A full numeric representation of a year, 4 digits
|
|
215
|
+
// F - A full textual representation of a month
|
|
216
|
+
YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
$.jgrid = $.jgrid || {};
|
|
222
|
+
$.extend(true, $.jgrid, {
|
|
223
|
+
defaults: {
|
|
224
|
+
locale: "cn"
|
|
225
|
+
},
|
|
226
|
+
locales: {
|
|
227
|
+
// In general the property name is free, but it's recommended to use the names based on
|
|
228
|
+
// http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
229
|
+
// http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
|
|
230
|
+
// One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
|
|
231
|
+
// if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
|
|
232
|
+
cn: $.extend({}, locInfo, { name: "中文", nameEnglish: "Chinese" }),
|
|
233
|
+
zh: $.extend({}, locInfo, { name: "中文", nameEnglish: "Chinese" }),
|
|
234
|
+
"zh-CN": $.extend({}, locInfo, { name: "中文(中华人民共和国)", nameEnglish: "Chinese (Simplified, PRC)" })
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
}));
|