jqgrid-jquery-rails 4.5.2.0 → 4.5.200

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +13 -5
  2. data/.gitignore +6 -1
  3. data/.rspec +2 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +4 -0
  7. data/Gemfile +5 -1
  8. data/README.md +8 -3
  9. data/Rakefile +32 -1
  10. data/jqgrid-jquery-rails.gemspec +8 -1
  11. data/lib/jqgrid-jquery-rails/version.rb +8 -7
  12. data/script/rails +8 -0
  13. data/spec/features/asset_pipeline_spec.rb +21 -0
  14. data/spec/jqgrid-jquery-rails_spec.rb +11 -0
  15. data/spec/spec_helper.rb +56 -0
  16. data/spec/test_app/Rakefile +7 -0
  17. data/spec/test_app/app/assets/javascripts/application.js +2 -0
  18. data/spec/test_app/app/assets/stylesheets/application.css +4 -0
  19. data/spec/test_app/app/controllers/application_controller.rb +6 -0
  20. data/spec/test_app/app/views/application/index.html.erb +0 -0
  21. data/spec/test_app/app/views/layouts/application.html.erb +14 -0
  22. data/spec/test_app/config.ru +4 -0
  23. data/spec/test_app/config/application.rb +64 -0
  24. data/spec/test_app/config/boot.rb +10 -0
  25. data/spec/test_app/config/database.yml +25 -0
  26. data/spec/test_app/config/environment.rb +5 -0
  27. data/spec/test_app/config/environments/development.rb +37 -0
  28. data/spec/test_app/config/environments/test.rb +37 -0
  29. data/spec/test_app/config/initializers/secret_token.rb +7 -0
  30. data/spec/test_app/config/initializers/session_store.rb +8 -0
  31. data/spec/test_app/config/initializers/wrap_parameters.rb +14 -0
  32. data/spec/test_app/config/routes.rb +3 -0
  33. data/spec/test_app/db/schema.rb +16 -0
  34. data/spec/test_app/public/404.html +26 -0
  35. data/spec/test_app/public/422.html +26 -0
  36. data/spec/test_app/public/500.html +25 -0
  37. data/spec/test_app/public/favicon.ico +0 -0
  38. data/spec/test_app/script/rails +6 -0
  39. data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -126
  40. data/vendor/assets/javascripts/i18n/grid.locale-fa.js +144 -144
  41. data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -129
  42. data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -126
  43. data/vendor/assets/javascripts/i18n/grid.locale-hr.js +161 -161
  44. data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +161 -161
  45. data/vendor/assets/javascripts/i18n/grid.locale-id.js +168 -168
  46. data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -126
  47. data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -128
  48. data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
  49. data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +128 -128
  50. data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -128
  51. data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -128
  52. data/vendor/assets/javascripts/jqgrid-jquery-rails.js +1 -1
  53. metadata +163 -8
@@ -1,129 +1,129 @@
1
- ;(function($){
2
- /**
3
- * jqGrid (fi) Finnish Translation
4
- * Jukka Inkeri awot.fi 2010-05-19
5
- * Alex Grönholm alex.gronholm@nextday.fi 2011-05-18
6
- * http://awot.fi
7
- * Dual licensed under the MIT and GPL licenses:
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * http://www.gnu.org/licenses/gpl.html
10
- **/
11
- $.jgrid = $.jgrid || {};
12
- $.extend($.jgrid,{
13
- defaults: {
14
- recordtext: "Rivit {0} - {1} / {2}",
15
- emptyrecords: "Ei näytettäviä",
16
- loadtext: "Haetaan...",
17
- pgtext: "Sivu {0} / {1}"
18
- },
19
- search: {
20
- caption: "Etsi...",
21
- Find: "Etsi",
22
- Reset: "Tyhjennä",
23
- odata: [{ oper:'eq', text:"on"},{ oper:'ne', text:"ei ole"},{ oper:'lt', text:"pienempi"},{ oper:'le', text:"pienempi tai yhtäsuuri"},{ oper:'gt', text:"suurempi"},{ oper:'ge', text:"suurempi tai yhtäsuuri"},{ oper:'bw', text:"alkaa"},{ oper:'bn', text:"ei ala"},{ oper:'in', text:"joukossa"},{ oper:'ni', text:"ei joukossa"},{ oper:'ew', text:"loppuu"},{ oper:'en', text:"ei lopu"},{ oper:'cn', text:"sisältää"},{ oper:'nc', text:"ei sisällä"},{ oper:'nu', text:"on tyhjä"},{ oper:'nn', text:"ei ole tyhjä"}],
24
- groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mikä tahansa" } ]
25
- },
26
- edit: {
27
- addCaption: "Uusi rivi",
28
- editCaption: "Muokkaa riviä",
29
- bSubmit: "OK",
30
- bCancel: "Peru",
31
- bClose: "Sulje",
32
- saveData: "Tietoja muutettu! Tallennetaanko?",
33
- bYes: "Kyllä",
34
- bNo: "Ei",
35
- bExit: "Peru",
36
- msg: {
37
- required: "pakollinen",
38
- number: "Anna kelvollinen nro",
39
- minValue: "arvon oltava suurempi tai yhtäsuuri kuin ",
40
- maxValue: "arvon oltava pienempi tai yhtäsuuri kuin ",
41
- email: "ei ole kelvollinen säpostiosoite",
42
- integer: "Anna kelvollinen kokonaisluku",
43
- date: "Anna kelvollinen pvm",
44
- url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
45
- nodefined: " ei ole määritelty!",
46
- novalue: " paluuarvo vaaditaan!",
47
- customarray: "Oman funktion tulee palauttaa jono!",
48
- customfcheck: "Oma funktio on määriteltävä räätälöityä tarkastusta varten!"
49
- }
50
- },
51
- view: {
52
- caption: "Näytä rivi",
53
- bClose: "Sulje"
54
- },
55
- del: {
56
- caption: "Poista",
57
- msg: "Poista valitut rivit?",
58
- bSubmit: "Poista",
59
- bCancel: "Peru"
60
- },
61
- nav: {
62
- edittext: "",
63
- edittitle: "Muokkaa valittua 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: "Näyta valitut rivit"
76
- },
77
- col: {
78
- caption: "Valitse sarakkeet",
79
- bSubmit: "OK",
80
- bCancel: "Peru"
81
- },
82
- errors : {
83
- errcap: "Virhe",
84
- nourl: "URL on 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", "Tiistai", "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&auml;kuu", "Hein&auml;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
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
106
- masks: {
107
- ISO8601Long:"Y-m-d H:i:s",
108
- ISO8601Short:"Y-m-d",
109
- ShortDate: "d.m.Y",
110
- LongDate: "l, F d, Y",
111
- FullDateTime: "l, F d, Y g:i:s A",
112
- MonthDay: "F d",
113
- ShortTime: "g:i A",
114
- LongTime: "g:i:s A",
115
- SortableDateTime: "Y-m-d\\TH:i:s",
116
- UniversalSortableDateTime: "Y-m-d H:i:sO",
117
- YearMonth: "F, Y"
118
- },
119
- reformatAfterEdit : false
120
- },
121
- baseLinkUrl: '',
122
- showAction: '',
123
- target: '',
124
- checkbox: {disabled:true},
125
- idName: 'id'
126
- }
127
- });
128
- // FI
129
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid (fi) Finnish Translation
4
+ * Jukka Inkeri awot.fi 2010-05-19
5
+ * Alex Grönholm alex.gronholm@nextday.fi 2011-05-18
6
+ * http://awot.fi
7
+ * Dual licensed under the MIT and GPL licenses:
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ * http://www.gnu.org/licenses/gpl.html
10
+ **/
11
+ $.jgrid = $.jgrid || {};
12
+ $.extend($.jgrid,{
13
+ defaults: {
14
+ recordtext: "Rivit {0} - {1} / {2}",
15
+ emptyrecords: "Ei n&auml;ytett&auml;vi&auml;",
16
+ loadtext: "Haetaan...",
17
+ pgtext: "Sivu {0} / {1}"
18
+ },
19
+ search: {
20
+ caption: "Etsi...",
21
+ Find: "Etsi",
22
+ Reset: "Tyhjenn&auml;",
23
+ odata: [{ oper:'eq', text:"on"},{ oper:'ne', text:"ei ole"},{ oper:'lt', text:"pienempi"},{ oper:'le', text:"pienempi tai yht&auml;suuri"},{ oper:'gt', text:"suurempi"},{ oper:'ge', text:"suurempi tai yht&auml;suuri"},{ oper:'bw', text:"alkaa"},{ oper:'bn', text:"ei ala"},{ oper:'in', text:"joukossa"},{ oper:'ni', text:"ei joukossa"},{ oper:'ew', text:"loppuu"},{ oper:'en', text:"ei lopu"},{ oper:'cn', text:"sis&auml;lt&auml;&auml;"},{ oper:'nc', text:"ei sis&auml;ll&auml;"},{ oper:'nu', text:"on tyhj&auml;"},{ oper:'nn', text:"ei ole tyhj&auml;"}],
24
+ groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mik&auml; tahansa" } ]
25
+ },
26
+ edit: {
27
+ addCaption: "Uusi rivi",
28
+ editCaption: "Muokkaa rivi&auml;",
29
+ bSubmit: "OK",
30
+ bCancel: "Peru",
31
+ bClose: "Sulje",
32
+ saveData: "Tietoja muutettu! Tallennetaanko?",
33
+ bYes: "Kyll&auml;",
34
+ bNo: "Ei",
35
+ bExit: "Peru",
36
+ msg: {
37
+ required: "pakollinen",
38
+ number: "Anna kelvollinen nro",
39
+ minValue: "arvon oltava suurempi tai yht&auml;suuri kuin ",
40
+ maxValue: "arvon oltava pienempi tai yht&auml;suuri kuin ",
41
+ email: "ei ole kelvollinen s&auml;postiosoite",
42
+ integer: "Anna kelvollinen kokonaisluku",
43
+ date: "Anna kelvollinen pvm",
44
+ url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
45
+ nodefined: " ei ole m&auml;&auml;ritelty!",
46
+ novalue: " paluuarvo vaaditaan!",
47
+ customarray: "Oman funktion tulee palauttaa jono!",
48
+ customfcheck: "Oma funktio on m&auml;&auml;ritelt&auml;v&auml; r&auml;&auml;t&auml;l&ouml;ity&auml; tarkastusta varten!"
49
+ }
50
+ },
51
+ view: {
52
+ caption: "N&auml;yt&auml; rivi",
53
+ bClose: "Sulje"
54
+ },
55
+ del: {
56
+ caption: "Poista",
57
+ msg: "Poista valitut rivit?",
58
+ bSubmit: "Poista",
59
+ bCancel: "Peru"
60
+ },
61
+ nav: {
62
+ edittext: "",
63
+ edittitle: "Muokkaa valittua rivi&auml;",
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: "N&auml;yta valitut rivit"
76
+ },
77
+ col: {
78
+ caption: "Valitse sarakkeet",
79
+ bSubmit: "OK",
80
+ bCancel: "Peru"
81
+ },
82
+ errors : {
83
+ errcap: "Virhe",
84
+ nourl: "URL on 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", "Tiistai", "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&auml;kuu", "Hein&auml;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
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
106
+ masks: {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "d.m.Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox: {disabled:true},
125
+ idName: 'id'
126
+ }
127
+ });
128
+ // FI
129
+ })(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 = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "Enregistrements {0} - {1} sur {2}",
14
- emptyrecords: "Aucun enregistrement à afficher",
15
- loadtext: "Chargement...",
16
- pgtext : "Page {0} sur {1}"
17
- },
18
- search : {
19
- caption: "Recherche...",
20
- Find: "Chercher",
21
- Reset: "Réinitialiser",
22
- odata: [{ oper:'eq', text:"égal"},{ oper:'ne', text:"différent"},{ oper:'lt', text:"inférieur"},{ oper:'le', text:"inférieur ou égal"},{ oper:'gt', text:"supérieur"},{ oper:'ge', text:"supérieur ou égal"},{ oper:'bw', text:"commence par"},{ oper:'bn', text:"ne commence pas par"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"finit par"},{ oper:'en', text:"ne finit pas par"},{ oper:'cn', text:"contient"},{ oper:'nc', text:"ne contient pas"}],
23
- groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "au moins un" } ]
24
- },
25
- edit : {
26
- addCaption: "Ajouter",
27
- editCaption: "Editer",
28
- bSubmit: "Valider",
29
- bCancel: "Annuler",
30
- bClose: "Fermer",
31
- saveData: "Les données ont changé ! Enregistrer les modifications ?",
32
- bYes: "Oui",
33
- bNo: "Non",
34
- bExit: "Annuler",
35
- msg: {
36
- required: "Champ obligatoire",
37
- number: "Saisissez un nombre correct",
38
- minValue: "La valeur doit être supérieure ou égale à",
39
- maxValue: "La valeur doit être inférieure ou égale à",
40
- email: "n'est pas un email correct",
41
- integer: "Saisissez un entier correct",
42
- url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
43
- nodefined : " n'est pas défini!",
44
- novalue : " la valeur de retour est requise!",
45
- customarray : "Une fonction personnalisée devrait retourner un tableau (array)!",
46
- customfcheck : "Une fonction personnalisée devrait être présente dans le cas d'une vérification personnalisée!"
47
- }
48
- },
49
- view : {
50
- caption: "Voir les enregistrement",
51
- bClose: "Fermer"
52
- },
53
- del : {
54
- caption: "Supprimer",
55
- msg: "Supprimer les enregistrements sélectionnés ?",
56
- bSubmit: "Supprimer",
57
- bCancel: "Annuler"
58
- },
59
- nav : {
60
- edittext: " ",
61
- edittitle: "Editer la ligne sélectionnée",
62
- addtext:" ",
63
- addtitle: "Ajouter une ligne",
64
- deltext: " ",
65
- deltitle: "Supprimer la ligne sélectionnée",
66
- searchtext: " ",
67
- searchtitle: "Chercher un enregistrement",
68
- refreshtext: "",
69
- refreshtitle: "Recharger le tableau",
70
- alertcap: "Avertissement",
71
- alerttext: "Veuillez sélectionner une ligne",
72
- viewtext: "",
73
- viewtitle: "Afficher la ligne sélectionnée"
74
- },
75
- col : {
76
- caption: "Afficher/Masquer les colonnes",
77
- bSubmit: "Valider",
78
- bCancel: "Annuler"
79
- },
80
- errors : {
81
- errcap : "Erreur",
82
- nourl : "Aucune adresse n'est paramétrée",
83
- norecords: "Aucun enregistrement à traiter",
84
- model : "Nombre de titres (colNames) <> Nombre de données (colModel)!"
85
- },
86
- formatter : {
87
- integer : {thousandsSeparator: " ", defaultValue: '0'},
88
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
89
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
90
- date : {
91
- dayNames: [
92
- "Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
93
- "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
94
- ],
95
- monthNames: [
96
- "Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc",
97
- "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"
98
- ],
99
- AmPm : ["am","pm","AM","PM"],
100
- S: function (j) {return j == 1 ? 'er' : 'e';},
101
- srcformat: 'Y-m-d',
102
- newformat: 'd/m/Y',
103
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
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 = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "Enregistrements {0} - {1} sur {2}",
14
+ emptyrecords: "Aucun enregistrement à afficher",
15
+ loadtext: "Chargement...",
16
+ pgtext : "Page {0} sur {1}"
17
+ },
18
+ search : {
19
+ caption: "Recherche...",
20
+ Find: "Chercher",
21
+ Reset: "Réinitialiser",
22
+ odata: [{ oper:'eq', text:"égal"},{ oper:'ne', text:"différent"},{ oper:'lt', text:"inférieur"},{ oper:'le', text:"inférieur ou égal"},{ oper:'gt', text:"supérieur"},{ oper:'ge', text:"supérieur ou égal"},{ oper:'bw', text:"commence par"},{ oper:'bn', text:"ne commence pas par"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"finit par"},{ oper:'en', text:"ne finit pas par"},{ oper:'cn', text:"contient"},{ oper:'nc', text:"ne contient pas"}],
23
+ groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "au moins un" } ]
24
+ },
25
+ edit : {
26
+ addCaption: "Ajouter",
27
+ editCaption: "Editer",
28
+ bSubmit: "Valider",
29
+ bCancel: "Annuler",
30
+ bClose: "Fermer",
31
+ saveData: "Les données ont changé ! Enregistrer les modifications ?",
32
+ bYes: "Oui",
33
+ bNo: "Non",
34
+ bExit: "Annuler",
35
+ msg: {
36
+ required: "Champ obligatoire",
37
+ number: "Saisissez un nombre correct",
38
+ minValue: "La valeur doit être supérieure ou égale à",
39
+ maxValue: "La valeur doit être inférieure ou égale à",
40
+ email: "n'est pas un email correct",
41
+ integer: "Saisissez un entier correct",
42
+ url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
43
+ nodefined : " n'est pas défini!",
44
+ novalue : " la valeur de retour est requise!",
45
+ customarray : "Une fonction personnalisée devrait retourner un tableau (array)!",
46
+ customfcheck : "Une fonction personnalisée devrait être présente dans le cas d'une vérification personnalisée!"
47
+ }
48
+ },
49
+ view : {
50
+ caption: "Voir les enregistrement",
51
+ bClose: "Fermer"
52
+ },
53
+ del : {
54
+ caption: "Supprimer",
55
+ msg: "Supprimer les enregistrements sélectionnés ?",
56
+ bSubmit: "Supprimer",
57
+ bCancel: "Annuler"
58
+ },
59
+ nav : {
60
+ edittext: " ",
61
+ edittitle: "Editer la ligne sélectionnée",
62
+ addtext:" ",
63
+ addtitle: "Ajouter une ligne",
64
+ deltext: " ",
65
+ deltitle: "Supprimer la ligne sélectionnée",
66
+ searchtext: " ",
67
+ searchtitle: "Chercher un enregistrement",
68
+ refreshtext: "",
69
+ refreshtitle: "Recharger le tableau",
70
+ alertcap: "Avertissement",
71
+ alerttext: "Veuillez sélectionner une ligne",
72
+ viewtext: "",
73
+ viewtitle: "Afficher la ligne sélectionnée"
74
+ },
75
+ col : {
76
+ caption: "Afficher/Masquer les colonnes",
77
+ bSubmit: "Valider",
78
+ bCancel: "Annuler"
79
+ },
80
+ errors : {
81
+ errcap : "Erreur",
82
+ nourl : "Aucune adresse n'est paramétrée",
83
+ norecords: "Aucun enregistrement à traiter",
84
+ model : "Nombre de titres (colNames) <> Nombre de données (colModel)!"
85
+ },
86
+ formatter : {
87
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
88
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
89
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
90
+ date : {
91
+ dayNames: [
92
+ "Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
93
+ "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
94
+ ],
95
+ monthNames: [
96
+ "Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc",
97
+ "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"
98
+ ],
99
+ AmPm : ["am","pm","AM","PM"],
100
+ S: function (j) {return j == 1 ? 'er' : 'e';},
101
+ srcformat: 'Y-m-d',
102
+ newformat: 'd/m/Y',
103
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
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);