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,128 +1,128 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid (fi) Finnish Translation
|
4
|
-
* Jukka Inkeri awot.fi
|
5
|
-
* http://awot.fi
|
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
|
-
$.jgrid = {
|
11
|
-
defaults : {
|
12
|
-
recordtext: "View {0} - {1} of {2}",
|
13
|
-
emptyrecords: "No records to view",
|
14
|
-
loadtext: "Haetaan...",
|
15
|
-
pgtext : "Page {0} of {1}"
|
16
|
-
},
|
17
|
-
search : {
|
18
|
-
caption: "Etsi...",
|
19
|
-
Find: "Etsi",
|
20
|
-
Reset: "Tyhjää",
|
21
|
-
odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
|
22
|
-
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
23
|
-
matchText: " match",
|
24
|
-
rulesText: " rules"
|
25
|
-
},
|
26
|
-
edit : {
|
27
|
-
addCaption: "Uusi rivi",
|
28
|
-
editCaption: "Muokkaa rivi",
|
29
|
-
bSubmit: "OK",
|
30
|
-
bCancel: "Peru",
|
31
|
-
bClose: "Sulje",
|
32
|
-
saveData: "Data has been changed! Save changes?",
|
33
|
-
bYes : "Yes",
|
34
|
-
bNo : "No",
|
35
|
-
bExit : "Cancel",
|
36
|
-
msg: {
|
37
|
-
required:"pakollinen",
|
38
|
-
number:"Anna kelvollinen nro",
|
39
|
-
minValue:"arvo oltava >= ",
|
40
|
-
maxValue:"arvo oltava <= ",
|
41
|
-
email: "virheellinen sposti ",
|
42
|
-
integer: "Anna kelvollinen kokonaisluku",
|
43
|
-
date: "Anna kelvollinen pvm",
|
44
|
-
url: "is not a valid URL. Prefix required ('http://' or 'https://')",
|
45
|
-
nodefined : " is not defined!",
|
46
|
-
novalue : " return value is required!",
|
47
|
-
customarray : "Custom function should return array!",
|
48
|
-
customfcheck : "Custom function should be present in case of custom checking!"
|
49
|
-
}
|
50
|
-
},
|
51
|
-
view : {
|
52
|
-
caption: "View Record",
|
53
|
-
bClose: "Close"
|
54
|
-
},
|
55
|
-
del : {
|
56
|
-
caption: "Poista",
|
57
|
-
msg: "Poista valitut rivi(t)?",
|
58
|
-
bSubmit: "Poista",
|
59
|
-
bCancel: "Peru"
|
60
|
-
},
|
61
|
-
nav : {
|
62
|
-
edittext: " ",
|
63
|
-
edittitle: "Muokkaa valittu rivi",
|
64
|
-
addtext:" ",
|
65
|
-
addtitle: "Uusi rivi",
|
66
|
-
deltext: " ",
|
67
|
-
deltitle: "Poista valittu rivi",
|
68
|
-
searchtext: " ",
|
69
|
-
searchtitle: "Etsi tietoja",
|
70
|
-
refreshtext: "",
|
71
|
-
refreshtitle: "Lataa uudelleen",
|
72
|
-
alertcap: "Varoitus",
|
73
|
-
alerttext: "Valitse rivi",
|
74
|
-
viewtext: "",
|
75
|
-
viewtitle: "View selected row"
|
76
|
-
},
|
77
|
-
col : {
|
78
|
-
caption: "Nayta/Piilota sarakkeet",
|
79
|
-
bSubmit: "OK",
|
80
|
-
bCancel: "Peru"
|
81
|
-
},
|
82
|
-
errors : {
|
83
|
-
errcap : "Virhe",
|
84
|
-
nourl : "url asettamatta",
|
85
|
-
norecords: "Ei muokattavia tietoja",
|
86
|
-
model : "Pituus colNames <> colModel!"
|
87
|
-
},
|
88
|
-
formatter : {
|
89
|
-
integer : {thousandsSeparator: "", defaultValue: '0'},
|
90
|
-
number : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0,00'},
|
91
|
-
currency : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
|
92
|
-
date : {
|
93
|
-
dayNames: [
|
94
|
-
"Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
|
95
|
-
"Sunnuntai", "Maanantai", "Tiista", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
|
96
|
-
],
|
97
|
-
monthNames: [
|
98
|
-
"Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
|
99
|
-
"Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
|
100
|
-
],
|
101
|
-
AmPm : ["am","pm","AM","PM"],
|
102
|
-
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
103
|
-
srcformat: 'Y-m-d',
|
104
|
-
newformat: 'd/m/Y',
|
105
|
-
masks : {
|
106
|
-
ISO8601Long:"Y-m-d H:i:s",
|
107
|
-
ISO8601Short:"Y-m-d",
|
108
|
-
ShortDate: "d.m.Y",
|
109
|
-
LongDate: "l, F d, Y",
|
110
|
-
FullDateTime: "l, F d, Y g:i:s A",
|
111
|
-
MonthDay: "F d",
|
112
|
-
ShortTime: "g:i A",
|
113
|
-
LongTime: "g:i:s A",
|
114
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
115
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
116
|
-
YearMonth: "F, Y"
|
117
|
-
},
|
118
|
-
reformatAfterEdit : false
|
119
|
-
},
|
120
|
-
baseLinkUrl: '',
|
121
|
-
showAction: '',
|
122
|
-
target: '',
|
123
|
-
checkbox : {disabled:true},
|
124
|
-
idName : 'id'
|
125
|
-
}
|
126
|
-
};
|
127
|
-
// FI
|
128
|
-
})(jQuery);
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid (fi) Finnish Translation
|
4
|
+
* Jukka Inkeri awot.fi
|
5
|
+
* http://awot.fi
|
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
|
+
$.jgrid = {
|
11
|
+
defaults : {
|
12
|
+
recordtext: "View {0} - {1} of {2}",
|
13
|
+
emptyrecords: "No records to view",
|
14
|
+
loadtext: "Haetaan...",
|
15
|
+
pgtext : "Page {0} of {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Etsi...",
|
19
|
+
Find: "Etsi",
|
20
|
+
Reset: "Tyhjää",
|
21
|
+
odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
|
22
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
23
|
+
matchText: " match",
|
24
|
+
rulesText: " rules"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Uusi rivi",
|
28
|
+
editCaption: "Muokkaa rivi",
|
29
|
+
bSubmit: "OK",
|
30
|
+
bCancel: "Peru",
|
31
|
+
bClose: "Sulje",
|
32
|
+
saveData: "Data has been changed! Save changes?",
|
33
|
+
bYes : "Yes",
|
34
|
+
bNo : "No",
|
35
|
+
bExit : "Cancel",
|
36
|
+
msg: {
|
37
|
+
required:"pakollinen",
|
38
|
+
number:"Anna kelvollinen nro",
|
39
|
+
minValue:"arvo oltava >= ",
|
40
|
+
maxValue:"arvo oltava <= ",
|
41
|
+
email: "virheellinen sposti ",
|
42
|
+
integer: "Anna kelvollinen kokonaisluku",
|
43
|
+
date: "Anna kelvollinen pvm",
|
44
|
+
url: "is not a valid URL. Prefix required ('http://' or 'https://')",
|
45
|
+
nodefined : " is not defined!",
|
46
|
+
novalue : " return value is required!",
|
47
|
+
customarray : "Custom function should return array!",
|
48
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "View Record",
|
53
|
+
bClose: "Close"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Poista",
|
57
|
+
msg: "Poista valitut rivi(t)?",
|
58
|
+
bSubmit: "Poista",
|
59
|
+
bCancel: "Peru"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Muokkaa valittu rivi",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Uusi rivi",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Poista valittu rivi",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Etsi tietoja",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Lataa uudelleen",
|
72
|
+
alertcap: "Varoitus",
|
73
|
+
alerttext: "Valitse rivi",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "View selected row"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Nayta/Piilota sarakkeet",
|
79
|
+
bSubmit: "OK",
|
80
|
+
bCancel: "Peru"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Virhe",
|
84
|
+
nourl : "url asettamatta",
|
85
|
+
norecords: "Ei muokattavia tietoja",
|
86
|
+
model : "Pituus colNames <> colModel!"
|
87
|
+
},
|
88
|
+
formatter : {
|
89
|
+
integer : {thousandsSeparator: "", defaultValue: '0'},
|
90
|
+
number : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0,00'},
|
91
|
+
currency : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
|
92
|
+
date : {
|
93
|
+
dayNames: [
|
94
|
+
"Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
|
95
|
+
"Sunnuntai", "Maanantai", "Tiista", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
|
99
|
+
"Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'd/m/Y',
|
105
|
+
masks : {
|
106
|
+
ISO8601Long:"Y-m-d H:i:s",
|
107
|
+
ISO8601Short:"Y-m-d",
|
108
|
+
ShortDate: "d.m.Y",
|
109
|
+
LongDate: "l, F d, Y",
|
110
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
111
|
+
MonthDay: "F d",
|
112
|
+
ShortTime: "g:i A",
|
113
|
+
LongTime: "g:i:s A",
|
114
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
115
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
116
|
+
YearMonth: "F, Y"
|
117
|
+
},
|
118
|
+
reformatAfterEdit : false
|
119
|
+
},
|
120
|
+
baseLinkUrl: '',
|
121
|
+
showAction: '',
|
122
|
+
target: '',
|
123
|
+
checkbox : {disabled:true},
|
124
|
+
idName : 'id'
|
125
|
+
}
|
126
|
+
};
|
127
|
+
// FI
|
128
|
+
})(jQuery);
|
@@ -1,126 +1,126 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid French Translation
|
4
|
-
* Tony Tomov tony@trirand.com
|
5
|
-
* http://trirand.com/blog/
|
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
|
-
$.jgrid = {
|
11
|
-
defaults : {
|
12
|
-
recordtext: "Enregistrements {0} - {1} sur {2}",
|
13
|
-
emptyrecords: "Aucun enregistrement a afficher",
|
14
|
-
loadtext: "Chargement...",
|
15
|
-
pgtext : "Page {0} sur {1}"
|
16
|
-
},
|
17
|
-
search : {
|
18
|
-
caption: "Recherche...",
|
19
|
-
Find: "Chercher",
|
20
|
-
Reset: "Annuler",
|
21
|
-
odata : ['egal', 'différent', 'inférieur', 'inférieur ou égal','supérieur','supérieur ou égal', 'commence par','ne commence pas par','est dans',"n'est pas dans",'fini par','ne fini pas par','contient','ne contient pas'],
|
22
|
-
groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "aucun" } ],
|
23
|
-
matchText: " correspondance",
|
24
|
-
rulesText: " règles"
|
25
|
-
},
|
26
|
-
edit : {
|
27
|
-
addCaption: "Ajouter",
|
28
|
-
editCaption: "Editer",
|
29
|
-
bSubmit: "Valider",
|
30
|
-
bCancel: "Annuler",
|
31
|
-
bClose: "Fermer",
|
32
|
-
saveData: "Les données ont changé ! Enregistrer les modifications ?",
|
33
|
-
bYes: "Oui",
|
34
|
-
bNo: "Non",
|
35
|
-
bExit: "Annuler",
|
36
|
-
msg: {
|
37
|
-
required: "Champ obligatoire",
|
38
|
-
number: "Saisissez un nombre correct",
|
39
|
-
minValue: "La valeur doit être supérieure ou égal à 0 ",
|
40
|
-
maxValue: "La valeur doit être inférieure ou égal à 0",
|
41
|
-
email: "n'est pas un email correct",
|
42
|
-
integer: "Saisissez un entier correct",
|
43
|
-
url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
|
44
|
-
nodefined : " is not defined!",
|
45
|
-
novalue : " return value is required!",
|
46
|
-
customarray : "Custom function should return array!",
|
47
|
-
customfcheck : "Custom function should be present in case of custom checking!"
|
48
|
-
}
|
49
|
-
},
|
50
|
-
view : {
|
51
|
-
caption: "Voir les enregistrement",
|
52
|
-
bClose: "Fermer"
|
53
|
-
},
|
54
|
-
del : {
|
55
|
-
caption: "Supprimer",
|
56
|
-
msg: "Supprimer les enregistrements sélectionnés ?",
|
57
|
-
bSubmit: "Supprimer",
|
58
|
-
bCancel: "Annuler"
|
59
|
-
},
|
60
|
-
nav : {
|
61
|
-
edittext: " ",
|
62
|
-
edittitle: "Editer la ligne sélectionnée",
|
63
|
-
addtext:" ",
|
64
|
-
addtitle: "Ajouter une ligne",
|
65
|
-
deltext: " ",
|
66
|
-
deltitle: "Supprimer la ligne sélectionnée",
|
67
|
-
searchtext: " ",
|
68
|
-
searchtitle: "Chercher un enregistrement",
|
69
|
-
refreshtext: "",
|
70
|
-
refreshtitle: "Recharger le tableau",
|
71
|
-
alertcap: "Avertissement",
|
72
|
-
alerttext: "Veuillez sélectionner une ligne",
|
73
|
-
viewtext: "",
|
74
|
-
viewtitle: "Afficher la ligne sélectionnée"
|
75
|
-
},
|
76
|
-
col : {
|
77
|
-
caption: "Afficher/Masquer les colonnes",
|
78
|
-
bSubmit: "Valider",
|
79
|
-
bCancel: "Annuler"
|
80
|
-
},
|
81
|
-
errors : {
|
82
|
-
errcap : "Erreur",
|
83
|
-
nourl : "Aucune adresse paramétrée",
|
84
|
-
norecords: "Aucun enregistrement à traiter",
|
85
|
-
model : "Nombre de titres (colNames) <> Nombre de données (colModel)!"
|
86
|
-
},
|
87
|
-
formatter : {
|
88
|
-
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
89
|
-
number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
|
90
|
-
currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
|
91
|
-
date : {
|
92
|
-
dayNames: [
|
93
|
-
"Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
|
94
|
-
"Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
|
95
|
-
],
|
96
|
-
monthNames: [
|
97
|
-
"Jan", "Fev", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Dec",
|
98
|
-
"Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Saptembre", "Octobre", "Novembre", "Décembre"
|
99
|
-
],
|
100
|
-
AmPm : ["am","pm","AM","PM"],
|
101
|
-
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
102
|
-
srcformat: 'Y-m-d',
|
103
|
-
newformat: 'd/m/Y',
|
104
|
-
masks : {
|
105
|
-
ISO8601Long:"Y-m-d H:i:s",
|
106
|
-
ISO8601Short:"Y-m-d",
|
107
|
-
ShortDate: "n/j/Y",
|
108
|
-
LongDate: "l, F d, Y",
|
109
|
-
FullDateTime: "l, F d, Y g:i:s A",
|
110
|
-
MonthDay: "F d",
|
111
|
-
ShortTime: "g:i A",
|
112
|
-
LongTime: "g:i:s A",
|
113
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
114
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
115
|
-
YearMonth: "F, Y"
|
116
|
-
},
|
117
|
-
reformatAfterEdit : false
|
118
|
-
},
|
119
|
-
baseLinkUrl: '',
|
120
|
-
showAction: '',
|
121
|
-
target: '',
|
122
|
-
checkbox : {disabled:true},
|
123
|
-
idName : 'id'
|
124
|
-
}
|
125
|
-
};
|
126
|
-
})(jQuery);
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid French Translation
|
4
|
+
* Tony Tomov tony@trirand.com
|
5
|
+
* http://trirand.com/blog/
|
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
|
+
$.jgrid = {
|
11
|
+
defaults : {
|
12
|
+
recordtext: "Enregistrements {0} - {1} sur {2}",
|
13
|
+
emptyrecords: "Aucun enregistrement a afficher",
|
14
|
+
loadtext: "Chargement...",
|
15
|
+
pgtext : "Page {0} sur {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Recherche...",
|
19
|
+
Find: "Chercher",
|
20
|
+
Reset: "Annuler",
|
21
|
+
odata : ['egal', 'différent', 'inférieur', 'inférieur ou égal','supérieur','supérieur ou égal', 'commence par','ne commence pas par','est dans',"n'est pas dans",'fini par','ne fini pas par','contient','ne contient pas'],
|
22
|
+
groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "aucun" } ],
|
23
|
+
matchText: " correspondance",
|
24
|
+
rulesText: " règles"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Ajouter",
|
28
|
+
editCaption: "Editer",
|
29
|
+
bSubmit: "Valider",
|
30
|
+
bCancel: "Annuler",
|
31
|
+
bClose: "Fermer",
|
32
|
+
saveData: "Les données ont changé ! Enregistrer les modifications ?",
|
33
|
+
bYes: "Oui",
|
34
|
+
bNo: "Non",
|
35
|
+
bExit: "Annuler",
|
36
|
+
msg: {
|
37
|
+
required: "Champ obligatoire",
|
38
|
+
number: "Saisissez un nombre correct",
|
39
|
+
minValue: "La valeur doit être supérieure ou égal à 0 ",
|
40
|
+
maxValue: "La valeur doit être inférieure ou égal à 0",
|
41
|
+
email: "n'est pas un email correct",
|
42
|
+
integer: "Saisissez un entier correct",
|
43
|
+
url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
|
44
|
+
nodefined : " is not defined!",
|
45
|
+
novalue : " return value is required!",
|
46
|
+
customarray : "Custom function should return array!",
|
47
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
48
|
+
}
|
49
|
+
},
|
50
|
+
view : {
|
51
|
+
caption: "Voir les enregistrement",
|
52
|
+
bClose: "Fermer"
|
53
|
+
},
|
54
|
+
del : {
|
55
|
+
caption: "Supprimer",
|
56
|
+
msg: "Supprimer les enregistrements sélectionnés ?",
|
57
|
+
bSubmit: "Supprimer",
|
58
|
+
bCancel: "Annuler"
|
59
|
+
},
|
60
|
+
nav : {
|
61
|
+
edittext: " ",
|
62
|
+
edittitle: "Editer la ligne sélectionnée",
|
63
|
+
addtext:" ",
|
64
|
+
addtitle: "Ajouter une ligne",
|
65
|
+
deltext: " ",
|
66
|
+
deltitle: "Supprimer la ligne sélectionnée",
|
67
|
+
searchtext: " ",
|
68
|
+
searchtitle: "Chercher un enregistrement",
|
69
|
+
refreshtext: "",
|
70
|
+
refreshtitle: "Recharger le tableau",
|
71
|
+
alertcap: "Avertissement",
|
72
|
+
alerttext: "Veuillez sélectionner une ligne",
|
73
|
+
viewtext: "",
|
74
|
+
viewtitle: "Afficher la ligne sélectionnée"
|
75
|
+
},
|
76
|
+
col : {
|
77
|
+
caption: "Afficher/Masquer les colonnes",
|
78
|
+
bSubmit: "Valider",
|
79
|
+
bCancel: "Annuler"
|
80
|
+
},
|
81
|
+
errors : {
|
82
|
+
errcap : "Erreur",
|
83
|
+
nourl : "Aucune adresse paramétrée",
|
84
|
+
norecords: "Aucun enregistrement à traiter",
|
85
|
+
model : "Nombre de titres (colNames) <> Nombre de données (colModel)!"
|
86
|
+
},
|
87
|
+
formatter : {
|
88
|
+
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
89
|
+
number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
|
90
|
+
currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
|
91
|
+
date : {
|
92
|
+
dayNames: [
|
93
|
+
"Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
|
94
|
+
"Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
|
95
|
+
],
|
96
|
+
monthNames: [
|
97
|
+
"Jan", "Fev", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Dec",
|
98
|
+
"Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Saptembre", "Octobre", "Novembre", "Décembre"
|
99
|
+
],
|
100
|
+
AmPm : ["am","pm","AM","PM"],
|
101
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
102
|
+
srcformat: 'Y-m-d',
|
103
|
+
newformat: 'd/m/Y',
|
104
|
+
masks : {
|
105
|
+
ISO8601Long:"Y-m-d H:i:s",
|
106
|
+
ISO8601Short:"Y-m-d",
|
107
|
+
ShortDate: "n/j/Y",
|
108
|
+
LongDate: "l, F d, Y",
|
109
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
110
|
+
MonthDay: "F d",
|
111
|
+
ShortTime: "g:i A",
|
112
|
+
LongTime: "g:i:s A",
|
113
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
114
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
115
|
+
YearMonth: "F, Y"
|
116
|
+
},
|
117
|
+
reformatAfterEdit : false
|
118
|
+
},
|
119
|
+
baseLinkUrl: '',
|
120
|
+
showAction: '',
|
121
|
+
target: '',
|
122
|
+
checkbox : {disabled:true},
|
123
|
+
idName : 'id'
|
124
|
+
}
|
125
|
+
};
|
126
|
+
})(jQuery);
|