compass-jquery-plugin 0.2.4.4 → 0.2.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +2 -2
- data/VERSION.yml +2 -2
- data/compass-jquery-plugin.gemspec +2 -2
- data/lib/jquery/jqgrid.rb +59 -19
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +132 -132
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +132 -132
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-dk.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +125 -125
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-jp.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +148 -148
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +121 -121
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +125 -125
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +139 -139
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-sp.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +117 -117
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +127 -127
- data/templates/jqgrid/jquery.jqGrid.js +9921 -9913
- data/templates/jqgrid/jquery.jqGrid.min.js +1 -1
- data/templates/jqgrid/jquery.ui/jqGrid.sass +746 -745
- data/templates/jqgrid/manifest.rb +62 -62
- data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +13 -13
- data/templates/jrails/jquery.js +7644 -7644
- data/templates/jrails/jquery.min.js +18 -18
- data/templates/jrails/jrails.js +192 -192
- data/templates/secret_sauce/app/views/ui/_ui_grid_for_without_block.js.haml +139 -139
- metadata +2 -2
@@ -1,149 +1,149 @@
|
|
1
|
-
(function(a) {
|
2
|
-
a.jgrid =
|
3
|
-
{
|
4
|
-
defaults:
|
5
|
-
{
|
6
|
-
recordtext: "regels {0} - {1} van {2}",
|
7
|
-
emptyrecords: "Geen data gevonden.",
|
8
|
-
loadtext: "laden...",
|
9
|
-
pgtext: "pagina {0} van {1}"
|
10
|
-
},
|
11
|
-
search:
|
12
|
-
{
|
13
|
-
caption: "Zoeken...",
|
14
|
-
Find: "Zoek",
|
15
|
-
Reset: "Herstellen",
|
16
|
-
odata: ["gelijk aan", "niet gelijk aan", "kleiner dan", "kleiner dan of gelijk aan", "groter dan", "groter dan of gelijk aan", "begint met", "begint niet met", "is in", "is niet in", "eindigd met", "eindigd niet met", "bevat", "bevat niet"],
|
17
|
-
groupOps: [{ op: "AND", text: "alle" }, { op: "OR", text: "een van de"}],
|
18
|
-
matchText: " match",
|
19
|
-
rulesText: " regels"
|
20
|
-
},
|
21
|
-
edit:
|
22
|
-
{
|
23
|
-
addCaption: "Nieuw",
|
24
|
-
editCaption: "Bewerken",
|
25
|
-
bSubmit: "Opslaan",
|
26
|
-
bCancel: "Annuleren",
|
27
|
-
bClose: "Sluiten",
|
28
|
-
saveData: "Er is data aangepast! Wijzigingen opslaan?",
|
29
|
-
bYes: "Ja",
|
30
|
-
bNo: "Nee",
|
31
|
-
bExit: "Sluiten",
|
32
|
-
msg:
|
33
|
-
{
|
34
|
-
required: "Veld is verplicht",
|
35
|
-
number: "Voer a.u.b. geldig nummer in",
|
36
|
-
minValue: "Waarde moet groter of gelijk zijn aan ",
|
37
|
-
maxValue: "Waarde moet kleiner of gelijks zijn aan",
|
38
|
-
email: "is geen geldig e-mailadres",
|
39
|
-
integer: "Voer a.u.b. een geldig getal in",
|
40
|
-
date: "Voer a.u.b. een geldige waarde in",
|
41
|
-
url: "is geen geldige URL. Prefix is verplicht ('http://' or 'https://')",
|
42
|
-
nodefined : " is not defined!",
|
43
|
-
novalue : " return value is required!",
|
44
|
-
customarray : "Custom function should return array!",
|
45
|
-
customfcheck : "Custom function should be present in case of custom checking!"
|
46
|
-
}
|
47
|
-
},
|
48
|
-
view:
|
49
|
-
{
|
50
|
-
caption: "Tonen",
|
51
|
-
bClose: "Sluiten"
|
52
|
-
},
|
53
|
-
del:
|
54
|
-
{
|
55
|
-
caption: "Verwijderen",
|
56
|
-
msg: "Verwijder geselecteerde regel(s)?",
|
57
|
-
bSubmit: "Verwijderen",
|
58
|
-
bCancel: "Annuleren"
|
59
|
-
},
|
60
|
-
nav:
|
61
|
-
{
|
62
|
-
edittext: "",
|
63
|
-
edittitle: "Bewerken",
|
64
|
-
addtext: "",
|
65
|
-
addtitle: "Nieuw",
|
66
|
-
deltext: "",
|
67
|
-
deltitle: "Verwijderen",
|
68
|
-
searchtext: "",
|
69
|
-
searchtitle: "Zoeken",
|
70
|
-
refreshtext: "",
|
71
|
-
refreshtitle: "Vernieuwen",
|
72
|
-
alertcap: "Waarschuwing",
|
73
|
-
alerttext: "Selecteer a.u.b. een regel",
|
74
|
-
viewtext: "",
|
75
|
-
viewtitle: "Openen"
|
76
|
-
},
|
77
|
-
col:
|
78
|
-
{
|
79
|
-
caption: "Tonen/verbergen kolommen",
|
80
|
-
bSubmit: "OK",
|
81
|
-
bCancel: "Annuleren"
|
82
|
-
},
|
83
|
-
errors:
|
84
|
-
{
|
85
|
-
errcap: "Fout",
|
86
|
-
nourl: "Er is geen URL gedefinieerd",
|
87
|
-
norecords: "Geen data om te verwerken",
|
88
|
-
model: "Lengte van 'colNames' is niet gelijk aan 'colModel'!"
|
89
|
-
},
|
90
|
-
formatter:
|
91
|
-
{
|
92
|
-
integer:
|
93
|
-
{
|
94
|
-
thousandsSeparator: ".",
|
95
|
-
defaultValue: "0"
|
96
|
-
},
|
97
|
-
number:
|
98
|
-
{
|
99
|
-
decimalSeparator: ",",
|
100
|
-
thousandsSeparator: ".",
|
101
|
-
decimalPlaces: 2,
|
102
|
-
defaultValue: "0.00"
|
103
|
-
},
|
104
|
-
currency:
|
105
|
-
{
|
106
|
-
decimalSeparator: ",",
|
107
|
-
thousandsSeparator: ".",
|
108
|
-
decimalPlaces: 2,
|
109
|
-
prefix: "EUR ",
|
110
|
-
suffix: "",
|
111
|
-
defaultValue: "0.00"
|
112
|
-
},
|
113
|
-
date:
|
114
|
-
{
|
115
|
-
dayNames: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
|
116
|
-
monthNames: ["Jan", "Feb", "Maa", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "October", "November", "December"],
|
117
|
-
AmPm: ["am", "pm", "AM", "PM"],
|
118
|
-
S: function(b) {
|
119
|
-
return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
|
120
|
-
},
|
121
|
-
srcformat: "Y-m-d",
|
122
|
-
newformat: "d/m/Y",
|
123
|
-
masks:
|
124
|
-
{
|
125
|
-
ISO8601Long: "Y-m-d H:i:s",
|
126
|
-
ISO8601Short: "Y-m-d",
|
127
|
-
ShortDate: "n/j/Y",
|
128
|
-
LongDate: "l, F d, Y",
|
129
|
-
FullDateTime: "l d F Y G:i:s",
|
130
|
-
MonthDay: "d F",
|
131
|
-
ShortTime: "G:i",
|
132
|
-
LongTime: "G:i:s",
|
133
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
134
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
135
|
-
YearMonth: "F, Y"
|
136
|
-
},
|
137
|
-
reformatAfterEdit: false
|
138
|
-
},
|
139
|
-
baseLinkUrl: "",
|
140
|
-
showAction: "",
|
141
|
-
target: "",
|
142
|
-
checkbox:
|
143
|
-
{
|
144
|
-
disabled: true
|
145
|
-
},
|
146
|
-
idName: "id"
|
147
|
-
}
|
148
|
-
}
|
1
|
+
(function(a) {
|
2
|
+
a.jgrid =
|
3
|
+
{
|
4
|
+
defaults:
|
5
|
+
{
|
6
|
+
recordtext: "regels {0} - {1} van {2}",
|
7
|
+
emptyrecords: "Geen data gevonden.",
|
8
|
+
loadtext: "laden...",
|
9
|
+
pgtext: "pagina {0} van {1}"
|
10
|
+
},
|
11
|
+
search:
|
12
|
+
{
|
13
|
+
caption: "Zoeken...",
|
14
|
+
Find: "Zoek",
|
15
|
+
Reset: "Herstellen",
|
16
|
+
odata: ["gelijk aan", "niet gelijk aan", "kleiner dan", "kleiner dan of gelijk aan", "groter dan", "groter dan of gelijk aan", "begint met", "begint niet met", "is in", "is niet in", "eindigd met", "eindigd niet met", "bevat", "bevat niet"],
|
17
|
+
groupOps: [{ op: "AND", text: "alle" }, { op: "OR", text: "een van de"}],
|
18
|
+
matchText: " match",
|
19
|
+
rulesText: " regels"
|
20
|
+
},
|
21
|
+
edit:
|
22
|
+
{
|
23
|
+
addCaption: "Nieuw",
|
24
|
+
editCaption: "Bewerken",
|
25
|
+
bSubmit: "Opslaan",
|
26
|
+
bCancel: "Annuleren",
|
27
|
+
bClose: "Sluiten",
|
28
|
+
saveData: "Er is data aangepast! Wijzigingen opslaan?",
|
29
|
+
bYes: "Ja",
|
30
|
+
bNo: "Nee",
|
31
|
+
bExit: "Sluiten",
|
32
|
+
msg:
|
33
|
+
{
|
34
|
+
required: "Veld is verplicht",
|
35
|
+
number: "Voer a.u.b. geldig nummer in",
|
36
|
+
minValue: "Waarde moet groter of gelijk zijn aan ",
|
37
|
+
maxValue: "Waarde moet kleiner of gelijks zijn aan",
|
38
|
+
email: "is geen geldig e-mailadres",
|
39
|
+
integer: "Voer a.u.b. een geldig getal in",
|
40
|
+
date: "Voer a.u.b. een geldige waarde in",
|
41
|
+
url: "is geen geldige URL. Prefix is verplicht ('http://' or 'https://')",
|
42
|
+
nodefined : " is not defined!",
|
43
|
+
novalue : " return value is required!",
|
44
|
+
customarray : "Custom function should return array!",
|
45
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
view:
|
49
|
+
{
|
50
|
+
caption: "Tonen",
|
51
|
+
bClose: "Sluiten"
|
52
|
+
},
|
53
|
+
del:
|
54
|
+
{
|
55
|
+
caption: "Verwijderen",
|
56
|
+
msg: "Verwijder geselecteerde regel(s)?",
|
57
|
+
bSubmit: "Verwijderen",
|
58
|
+
bCancel: "Annuleren"
|
59
|
+
},
|
60
|
+
nav:
|
61
|
+
{
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Bewerken",
|
64
|
+
addtext: "",
|
65
|
+
addtitle: "Nieuw",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Verwijderen",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Zoeken",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Vernieuwen",
|
72
|
+
alertcap: "Waarschuwing",
|
73
|
+
alerttext: "Selecteer a.u.b. een regel",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Openen"
|
76
|
+
},
|
77
|
+
col:
|
78
|
+
{
|
79
|
+
caption: "Tonen/verbergen kolommen",
|
80
|
+
bSubmit: "OK",
|
81
|
+
bCancel: "Annuleren"
|
82
|
+
},
|
83
|
+
errors:
|
84
|
+
{
|
85
|
+
errcap: "Fout",
|
86
|
+
nourl: "Er is geen URL gedefinieerd",
|
87
|
+
norecords: "Geen data om te verwerken",
|
88
|
+
model: "Lengte van 'colNames' is niet gelijk aan 'colModel'!"
|
89
|
+
},
|
90
|
+
formatter:
|
91
|
+
{
|
92
|
+
integer:
|
93
|
+
{
|
94
|
+
thousandsSeparator: ".",
|
95
|
+
defaultValue: "0"
|
96
|
+
},
|
97
|
+
number:
|
98
|
+
{
|
99
|
+
decimalSeparator: ",",
|
100
|
+
thousandsSeparator: ".",
|
101
|
+
decimalPlaces: 2,
|
102
|
+
defaultValue: "0.00"
|
103
|
+
},
|
104
|
+
currency:
|
105
|
+
{
|
106
|
+
decimalSeparator: ",",
|
107
|
+
thousandsSeparator: ".",
|
108
|
+
decimalPlaces: 2,
|
109
|
+
prefix: "EUR ",
|
110
|
+
suffix: "",
|
111
|
+
defaultValue: "0.00"
|
112
|
+
},
|
113
|
+
date:
|
114
|
+
{
|
115
|
+
dayNames: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
|
116
|
+
monthNames: ["Jan", "Feb", "Maa", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "October", "November", "December"],
|
117
|
+
AmPm: ["am", "pm", "AM", "PM"],
|
118
|
+
S: function(b) {
|
119
|
+
return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
|
120
|
+
},
|
121
|
+
srcformat: "Y-m-d",
|
122
|
+
newformat: "d/m/Y",
|
123
|
+
masks:
|
124
|
+
{
|
125
|
+
ISO8601Long: "Y-m-d H:i:s",
|
126
|
+
ISO8601Short: "Y-m-d",
|
127
|
+
ShortDate: "n/j/Y",
|
128
|
+
LongDate: "l, F d, Y",
|
129
|
+
FullDateTime: "l d F Y G:i:s",
|
130
|
+
MonthDay: "d F",
|
131
|
+
ShortTime: "G:i",
|
132
|
+
LongTime: "G:i:s",
|
133
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
134
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
135
|
+
YearMonth: "F, Y"
|
136
|
+
},
|
137
|
+
reformatAfterEdit: false
|
138
|
+
},
|
139
|
+
baseLinkUrl: "",
|
140
|
+
showAction: "",
|
141
|
+
target: "",
|
142
|
+
checkbox:
|
143
|
+
{
|
144
|
+
disabled: true
|
145
|
+
},
|
146
|
+
idName: "id"
|
147
|
+
}
|
148
|
+
}
|
149
149
|
})(jQuery);
|
@@ -1,121 +1,121 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid Norwegian Translation
|
4
|
-
* KEM
|
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
|
-
$.jgrid = {};
|
10
|
-
|
11
|
-
$.jgrid.defaults = {
|
12
|
-
recordtext: "Rad(er)",
|
13
|
-
loadtext: "Laster...",
|
14
|
-
pgtext : "/"
|
15
|
-
};
|
16
|
-
$.jgrid.search = {
|
17
|
-
caption: "Søk...",
|
18
|
-
Find: "Finn",
|
19
|
-
Reset: "Nullstill",
|
20
|
-
odata : ['lik', 'forskjellig fra', 'mindre enn', 'mindre eller lik','større enn',' større eller lik', 'starter med','slutter med','inneholder' ]
|
21
|
-
};
|
22
|
-
$.jgrid.edit = {
|
23
|
-
addCaption: "Ny rad",
|
24
|
-
editCaption: "Rediger",
|
25
|
-
bSubmit: "Send",
|
26
|
-
bCancel: "Avbryt",
|
27
|
-
bClose: "Lukk",
|
28
|
-
processData: "Laster...",
|
29
|
-
msg: {
|
30
|
-
required:"Felt er obligatorisk",
|
31
|
-
number:"Legg inn et gyldig tall",
|
32
|
-
minValue:"verdi må være større enn eller lik",
|
33
|
-
maxValue:"verdi må være mindre enn eller lik",
|
34
|
-
email: "er ikke en gyldig e-post adresse",
|
35
|
-
integer: "Legg inn et gyldig heltall",
|
36
|
-
date: "Legg inn en gyldig dato",
|
37
|
-
url: "is not a valid URL. Prefix required ('http://' or 'https://')",
|
38
|
-
nodefined : " is not defined!",
|
39
|
-
novalue : " return value is required!",
|
40
|
-
customarray : "Custom function should return array!",
|
41
|
-
customfcheck : "Custom function should be present in case of custom checking!"
|
42
|
-
}
|
43
|
-
};
|
44
|
-
$.jgrid.view = {
|
45
|
-
caption: "Åpne post",
|
46
|
-
bClose: "Lukk"
|
47
|
-
}
|
48
|
-
$.jgrid.del = {
|
49
|
-
caption: "Slett",
|
50
|
-
msg: "Slett valgte rad(er)?",
|
51
|
-
bSubmit: "Slett",
|
52
|
-
bCancel: "Avbryt",
|
53
|
-
processData: "Behandler..."
|
54
|
-
};
|
55
|
-
$.jgrid.nav = {
|
56
|
-
edittext: " ",
|
57
|
-
edittitle: "Rediger valgte rad",
|
58
|
-
addtext:" ",
|
59
|
-
addtitle: "Legg til ny rad",
|
60
|
-
deltext: " ",
|
61
|
-
deltitle: "Slett valgte rader",
|
62
|
-
searchtext: " ",
|
63
|
-
searchtitle: "Søk",
|
64
|
-
refreshtext: "",
|
65
|
-
refreshtitle: "Oppdater tabell",
|
66
|
-
alertcap: "Advarsel",
|
67
|
-
alerttext: "Velg rad",
|
68
|
-
viewtext: " ",
|
69
|
-
viewtitle: "Åpne valgt rad"
|
70
|
-
};
|
71
|
-
// setcolumns module
|
72
|
-
$.jgrid.col ={
|
73
|
-
caption: "Vis/skjul kolonner",
|
74
|
-
bSubmit: "Utfør",
|
75
|
-
bCancel: "Avbryt"
|
76
|
-
};
|
77
|
-
$.jgrid.errors = {
|
78
|
-
errcap : "Feil",
|
79
|
-
nourl : "Ingen url er satt",
|
80
|
-
norecords: "Ingen poster å behandle",
|
81
|
-
model : "colNames og colModel er forskjellig lengde!"
|
82
|
-
};
|
83
|
-
$.jgrid.formatter = {
|
84
|
-
integer : {thousandsSeparator: " ", defaulValue: 0},
|
85
|
-
number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaulValue: 0},
|
86
|
-
currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaulValue: 0},
|
87
|
-
date : {
|
88
|
-
dayNames: [
|
89
|
-
"sø.", "ma.", "ti.", "on.", "to.", "fr.", "lø.",
|
90
|
-
"Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
|
91
|
-
],
|
92
|
-
monthNames: [
|
93
|
-
"jan.", "feb.", "mars", "april", "mai", "juni", "juli", "aug.", "sep.", "okt.", "nov.", "des.",
|
94
|
-
"januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember"
|
95
|
-
],
|
96
|
-
AmPm : ["","","",""],
|
97
|
-
S: function (j) {return '.'},
|
98
|
-
srcformat: 'Y-m-d H:i:s',
|
99
|
-
newformat: 'Y-m-d H:i:s',
|
100
|
-
masks: {
|
101
|
-
ISO8601Long:"Y-m-d H:i:s",
|
102
|
-
ISO8601Short:"Y-m-d",
|
103
|
-
ShortDate: "j.n.Y",
|
104
|
-
LongDate: "l j. F Y",
|
105
|
-
FullDateTime: "l j. F Y kl. G.i.s",
|
106
|
-
MonthDay: "j. F",
|
107
|
-
ShortTime: "H:i",
|
108
|
-
LongTime: "H:i:s",
|
109
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
110
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
111
|
-
YearMonth: "F Y"
|
112
|
-
},
|
113
|
-
reformatAfterEdit : false
|
114
|
-
},
|
115
|
-
baseLinkUrl: '',
|
116
|
-
showAction: 'show',
|
117
|
-
addParam: '',
|
118
|
-
checkbox: { disabled: true }
|
119
|
-
};
|
120
|
-
// NO
|
121
|
-
})(jQuery);
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Norwegian Translation
|
4
|
+
* KEM
|
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
|
+
$.jgrid = {};
|
10
|
+
|
11
|
+
$.jgrid.defaults = {
|
12
|
+
recordtext: "Rad(er)",
|
13
|
+
loadtext: "Laster...",
|
14
|
+
pgtext : "/"
|
15
|
+
};
|
16
|
+
$.jgrid.search = {
|
17
|
+
caption: "Søk...",
|
18
|
+
Find: "Finn",
|
19
|
+
Reset: "Nullstill",
|
20
|
+
odata : ['lik', 'forskjellig fra', 'mindre enn', 'mindre eller lik','større enn',' større eller lik', 'starter med','slutter med','inneholder' ]
|
21
|
+
};
|
22
|
+
$.jgrid.edit = {
|
23
|
+
addCaption: "Ny rad",
|
24
|
+
editCaption: "Rediger",
|
25
|
+
bSubmit: "Send",
|
26
|
+
bCancel: "Avbryt",
|
27
|
+
bClose: "Lukk",
|
28
|
+
processData: "Laster...",
|
29
|
+
msg: {
|
30
|
+
required:"Felt er obligatorisk",
|
31
|
+
number:"Legg inn et gyldig tall",
|
32
|
+
minValue:"verdi må være større enn eller lik",
|
33
|
+
maxValue:"verdi må være mindre enn eller lik",
|
34
|
+
email: "er ikke en gyldig e-post adresse",
|
35
|
+
integer: "Legg inn et gyldig heltall",
|
36
|
+
date: "Legg inn en gyldig dato",
|
37
|
+
url: "is not a valid URL. Prefix required ('http://' or 'https://')",
|
38
|
+
nodefined : " is not defined!",
|
39
|
+
novalue : " return value is required!",
|
40
|
+
customarray : "Custom function should return array!",
|
41
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
42
|
+
}
|
43
|
+
};
|
44
|
+
$.jgrid.view = {
|
45
|
+
caption: "Åpne post",
|
46
|
+
bClose: "Lukk"
|
47
|
+
}
|
48
|
+
$.jgrid.del = {
|
49
|
+
caption: "Slett",
|
50
|
+
msg: "Slett valgte rad(er)?",
|
51
|
+
bSubmit: "Slett",
|
52
|
+
bCancel: "Avbryt",
|
53
|
+
processData: "Behandler..."
|
54
|
+
};
|
55
|
+
$.jgrid.nav = {
|
56
|
+
edittext: " ",
|
57
|
+
edittitle: "Rediger valgte rad",
|
58
|
+
addtext:" ",
|
59
|
+
addtitle: "Legg til ny rad",
|
60
|
+
deltext: " ",
|
61
|
+
deltitle: "Slett valgte rader",
|
62
|
+
searchtext: " ",
|
63
|
+
searchtitle: "Søk",
|
64
|
+
refreshtext: "",
|
65
|
+
refreshtitle: "Oppdater tabell",
|
66
|
+
alertcap: "Advarsel",
|
67
|
+
alerttext: "Velg rad",
|
68
|
+
viewtext: " ",
|
69
|
+
viewtitle: "Åpne valgt rad"
|
70
|
+
};
|
71
|
+
// setcolumns module
|
72
|
+
$.jgrid.col ={
|
73
|
+
caption: "Vis/skjul kolonner",
|
74
|
+
bSubmit: "Utfør",
|
75
|
+
bCancel: "Avbryt"
|
76
|
+
};
|
77
|
+
$.jgrid.errors = {
|
78
|
+
errcap : "Feil",
|
79
|
+
nourl : "Ingen url er satt",
|
80
|
+
norecords: "Ingen poster å behandle",
|
81
|
+
model : "colNames og colModel er forskjellig lengde!"
|
82
|
+
};
|
83
|
+
$.jgrid.formatter = {
|
84
|
+
integer : {thousandsSeparator: " ", defaulValue: 0},
|
85
|
+
number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaulValue: 0},
|
86
|
+
currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaulValue: 0},
|
87
|
+
date : {
|
88
|
+
dayNames: [
|
89
|
+
"sø.", "ma.", "ti.", "on.", "to.", "fr.", "lø.",
|
90
|
+
"Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
|
91
|
+
],
|
92
|
+
monthNames: [
|
93
|
+
"jan.", "feb.", "mars", "april", "mai", "juni", "juli", "aug.", "sep.", "okt.", "nov.", "des.",
|
94
|
+
"januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember"
|
95
|
+
],
|
96
|
+
AmPm : ["","","",""],
|
97
|
+
S: function (j) {return '.'},
|
98
|
+
srcformat: 'Y-m-d H:i:s',
|
99
|
+
newformat: 'Y-m-d H:i:s',
|
100
|
+
masks: {
|
101
|
+
ISO8601Long:"Y-m-d H:i:s",
|
102
|
+
ISO8601Short:"Y-m-d",
|
103
|
+
ShortDate: "j.n.Y",
|
104
|
+
LongDate: "l j. F Y",
|
105
|
+
FullDateTime: "l j. F Y kl. G.i.s",
|
106
|
+
MonthDay: "j. F",
|
107
|
+
ShortTime: "H:i",
|
108
|
+
LongTime: "H:i:s",
|
109
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
110
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
111
|
+
YearMonth: "F Y"
|
112
|
+
},
|
113
|
+
reformatAfterEdit : false
|
114
|
+
},
|
115
|
+
baseLinkUrl: '',
|
116
|
+
showAction: 'show',
|
117
|
+
addParam: '',
|
118
|
+
checkbox: { disabled: true }
|
119
|
+
};
|
120
|
+
// NO
|
121
|
+
})(jQuery);
|