jqgrid-rails 4.5.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +29 -0
  5. data/Rakefile +1 -0
  6. data/jqgrid-rails.gemspec +22 -0
  7. data/lib/jqgrid/rails.rb +8 -0
  8. data/lib/jqgrid/rails/version.rb +5 -0
  9. data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -0
  10. data/vendor/assets/javascripts/i18n/grid.locale-bg.js +132 -0
  11. data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +132 -0
  12. data/vendor/assets/javascripts/i18n/grid.locale-cat.js +128 -0
  13. data/vendor/assets/javascripts/i18n/grid.locale-cn.js +132 -0
  14. data/vendor/assets/javascripts/i18n/grid.locale-cs.js +128 -0
  15. data/vendor/assets/javascripts/i18n/grid.locale-da.js +128 -0
  16. data/vendor/assets/javascripts/i18n/grid.locale-de.js +171 -0
  17. data/vendor/assets/javascripts/i18n/grid.locale-dk.js +127 -0
  18. data/vendor/assets/javascripts/i18n/grid.locale-el.js +126 -0
  19. data/vendor/assets/javascripts/i18n/grid.locale-en.js +168 -0
  20. data/vendor/assets/javascripts/i18n/grid.locale-es.js +128 -0
  21. data/vendor/assets/javascripts/i18n/grid.locale-fa.js +145 -0
  22. data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -0
  23. data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -0
  24. data/vendor/assets/javascripts/i18n/grid.locale-gl.js +126 -0
  25. data/vendor/assets/javascripts/i18n/grid.locale-he.js +127 -0
  26. data/vendor/assets/javascripts/i18n/grid.locale-hr.js +162 -0
  27. data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +162 -0
  28. data/vendor/assets/javascripts/i18n/grid.locale-hu.js +129 -0
  29. data/vendor/assets/javascripts/i18n/grid.locale-id.js +168 -0
  30. data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -0
  31. data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -0
  32. data/vendor/assets/javascripts/i18n/grid.locale-ja.js +155 -0
  33. data/vendor/assets/javascripts/i18n/grid.locale-kr.js +128 -0
  34. data/vendor/assets/javascripts/i18n/grid.locale-lt.js +128 -0
  35. data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -0
  36. data/vendor/assets/javascripts/i18n/grid.locale-nl.js +148 -0
  37. data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -0
  38. data/vendor/assets/javascripts/i18n/grid.locale-pl.js +132 -0
  39. data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +130 -0
  40. data/vendor/assets/javascripts/i18n/grid.locale-pt.js +125 -0
  41. data/vendor/assets/javascripts/i18n/grid.locale-ro.js +139 -0
  42. data/vendor/assets/javascripts/i18n/grid.locale-ru.js +127 -0
  43. data/vendor/assets/javascripts/i18n/grid.locale-sk.js +127 -0
  44. data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +128 -0
  45. data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -0
  46. data/vendor/assets/javascripts/i18n/grid.locale-sv.js +127 -0
  47. data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -0
  48. data/vendor/assets/javascripts/i18n/grid.locale-tr.js +126 -0
  49. data/vendor/assets/javascripts/i18n/grid.locale-tw.js +129 -0
  50. data/vendor/assets/javascripts/i18n/grid.locale-ua.js +127 -0
  51. data/vendor/assets/javascripts/i18n/grid.locale-vi.js +168 -0
  52. data/vendor/assets/javascripts/jquery.jqGrid.min.js +534 -0
  53. data/vendor/assets/stylesheets/ui.jqgrid.css +162 -0
  54. metadata +147 -0
@@ -0,0 +1,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Catalan Translation
4
+ * Traducció jqGrid en Catatà per Faserline, S.L.
5
+ * http://www.faserline.com
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: "Mostrant {0} - {1} de {2}",
14
+ emptyrecords: "Sense registres que mostrar",
15
+ loadtext: "Carregant...",
16
+ pgtext : "Pàgina {0} de {1}"
17
+ },
18
+ search : {
19
+ caption: "Cerca...",
20
+ Find: "Cercar",
21
+ Reset: "Buidar",
22
+ odata: [{ oper:'eq', text:"equal"},{ oper:'ne', text:"not equal"},{ oper:'lt', text:"less"},{ oper:'le', text:"less or equal"},{ oper:'gt', text:"greater"},{ oper:'ge', text:"greater or equal"},{ oper:'bw', text:"begins with"},{ oper:'bn', text:"does not begin with"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is not in"},{ oper:'ew', text:"ends with"},{ oper:'en', text:"does not end with"},{ oper:'cn', text:"contains"},{ oper:'nc', text:"does not contain"}],
23
+ groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ]
24
+ },
25
+ edit : {
26
+ addCaption: "Afegir registre",
27
+ editCaption: "Modificar registre",
28
+ bSubmit: "Guardar",
29
+ bCancel: "Cancelar",
30
+ bClose: "Tancar",
31
+ saveData: "Les dades han canviat. Guardar canvis?",
32
+ bYes : "Yes",
33
+ bNo : "No",
34
+ bExit : "Cancel",
35
+ msg: {
36
+ required:"Camp obligatori",
37
+ number:"Introdueixi un nombre",
38
+ minValue:"El valor ha de ser major o igual que ",
39
+ maxValue:"El valor ha de ser menor o igual a ",
40
+ email: "no és una direcció de correu vàlida",
41
+ integer: "Introdueixi un valor enter",
42
+ date: "Introdueixi una data correcta ",
43
+ url: "no és una URL vàlida. Prefix requerit ('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: "Veure registre",
52
+ bClose: "Tancar"
53
+ },
54
+ del : {
55
+ caption: "Eliminar",
56
+ msg: "¿Desitja eliminar els registres seleccionats?",
57
+ bSubmit: "Eliminar",
58
+ bCancel: "Cancelar"
59
+ },
60
+ nav : {
61
+ edittext: " ",
62
+ edittitle: "Modificar fila seleccionada",
63
+ addtext:" ",
64
+ addtitle: "Agregar nova fila",
65
+ deltext: " ",
66
+ deltitle: "Eliminar fila seleccionada",
67
+ searchtext: " ",
68
+ searchtitle: "Cercar informació",
69
+ refreshtext: "",
70
+ refreshtitle: "Refrescar taula",
71
+ alertcap: "Avís",
72
+ alerttext: "Seleccioni una fila",
73
+ viewtext: " ",
74
+ viewtitle: "Veure fila seleccionada"
75
+ },
76
+ // setcolumns module
77
+ col : {
78
+ caption: "Mostrar/ocultar columnes",
79
+ bSubmit: "Enviar",
80
+ bCancel: "Cancelar"
81
+ },
82
+ errors : {
83
+ errcap : "Error",
84
+ nourl : "No s'ha especificat una URL",
85
+ norecords: "No hi ha dades per processar",
86
+ model : "Les columnes de noms són diferents de les columnes del model"
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
+ "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
95
+ "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
96
+ ],
97
+ monthNames: [
98
+ "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
99
+ "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
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: "n/j/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: 'show',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ });
128
+ })(jQuery);
@@ -0,0 +1,132 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Chinese Translation for v4.2
4
+ * henryyan 2011.11.30
5
+ * http://www.wsria.com
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
+ * update 2011.11.30
11
+ * add double u3000 SPACE for search:odata to fix SEARCH box display err when narrow width from only use of eq/ne/cn/in/lt/gt operator under IE6/7
12
+ **/
13
+ $.jgrid = $.jgrid || {};
14
+ $.extend($.jgrid,{
15
+ defaults : {
16
+ recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
17
+ emptyrecords: "无数据显示",
18
+ loadtext: "读取中...",
19
+ pgtext : " {0} 共 {1} 页"
20
+ },
21
+ search : {
22
+ caption: "搜索...",
23
+ Find: "查找",
24
+ Reset: "重置",
25
+ odata : [{oper:'eq', text:'等于\u3000\u3000'},{oper:'ne', text: '不等\u3000\u3000'}, { oper:'lt', text:'小于\u3000\u3000'},{ oper:'le', text: '小于等于'},{ oper:'gt', text:'大于\u3000\u3000'},{ oper:'ge', text:'大于等于'},
26
+ {oper:'bw', text:'开始于'},{ oper:'bn', text:'不开始于'},{ oper:'in', text:'属于\u3000\u3000'},{ oper:'ni', text:'不属于'},{ oper:'ew', text:'结束于'},{ oper:'en', text:'不结束于'},{ oper:'cn', text:'包含\u3000\u3000'},{ oper:'nc', text:'不包含'},{ oper:'nu', text:'空值于\u3000\u3000'},{ oper:'nn', text:'非空值'}],
27
+ groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ]
28
+ },
29
+ edit : {
30
+ addCaption: "添加记录",
31
+ editCaption: "编辑记录",
32
+ bSubmit: "提交",
33
+ bCancel: "取消",
34
+ bClose: "关闭",
35
+ saveData: "数据已改变,是否保存?",
36
+ bYes : "是",
37
+ bNo : "否",
38
+ bExit : "取消",
39
+ msg: {
40
+ required:"此字段必需",
41
+ number:"请输入有效数字",
42
+ minValue:"输值必须大于等于 ",
43
+ maxValue:"输值必须小于等于 ",
44
+ email: "这不是有效的e-mail地址",
45
+ integer: "请输入有效整数",
46
+ date: "请输入有效时间",
47
+ url: "无效网址。前缀必须为 ('http://' 或 'https://')",
48
+ nodefined : " 未定义!",
49
+ novalue : " 需要返回值!",
50
+ customarray : "自定义函数需要返回数组!",
51
+ customfcheck : "Custom function should be present in case of custom checking!"
52
+
53
+ }
54
+ },
55
+ view : {
56
+ caption: "查看记录",
57
+ bClose: "关闭"
58
+ },
59
+ del : {
60
+ caption: "删除",
61
+ msg: "删除所选记录?",
62
+ bSubmit: "删除",
63
+ bCancel: "取消"
64
+ },
65
+ nav : {
66
+ edittext: "",
67
+ edittitle: "编辑所选记录",
68
+ addtext:"",
69
+ addtitle: "添加新记录",
70
+ deltext: "",
71
+ deltitle: "删除所选记录",
72
+ searchtext: "",
73
+ searchtitle: "查找",
74
+ refreshtext: "",
75
+ refreshtitle: "刷新表格",
76
+ alertcap: "注意",
77
+ alerttext: "请选择记录",
78
+ viewtext: "",
79
+ viewtitle: "查看所选记录"
80
+ },
81
+ col : {
82
+ caption: "选择列",
83
+ bSubmit: "确定",
84
+ bCancel: "取消"
85
+ },
86
+ errors : {
87
+ errcap : "错误",
88
+ nourl : "没有设置url",
89
+ norecords: "没有要处理的记录",
90
+ model : "colNames 和 colModel 长度不等!"
91
+ },
92
+ formatter : {
93
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
94
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
95
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
96
+ date : {
97
+ dayNames: [
98
+ "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
99
+ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
100
+ ],
101
+ monthNames: [
102
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
103
+ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
104
+ ],
105
+ AmPm : ["am","pm","AM","PM"],
106
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
107
+ srcformat: 'Y-m-d',
108
+ newformat: 'm-d-Y',
109
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
110
+ masks : {
111
+ ISO8601Long:"Y-m-d H:i:s",
112
+ ISO8601Short:"Y-m-d",
113
+ ShortDate: "Y/j/n",
114
+ LongDate: "l, F d, Y",
115
+ FullDateTime: "l, F d, Y g:i:s A",
116
+ MonthDay: "F d",
117
+ ShortTime: "g:i A",
118
+ LongTime: "g:i:s A",
119
+ SortableDateTime: "Y-m-d\\TH:i:s",
120
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
121
+ YearMonth: "F, Y"
122
+ },
123
+ reformatAfterEdit : false
124
+ },
125
+ baseLinkUrl: '',
126
+ showAction: '',
127
+ target: '',
128
+ checkbox : {disabled:true},
129
+ idName : 'id'
130
+ }
131
+ });
132
+ })(jQuery);
@@ -0,0 +1,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Czech Translation
4
+ * Pavel Jirak pavel.jirak@jipas.cz
5
+ * doplnil Thomas Wagner xwagne01@stud.fit.vutbr.cz
6
+ * http://trirand.com/blog/
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: "Zobrazeno {0} - {1} z {2} záznamů",
15
+ emptyrecords: "Nenalezeny žádné záznamy",
16
+ loadtext: "Načítám...",
17
+ pgtext : "Strana {0} z {1}"
18
+ },
19
+ search : {
20
+ caption: "Vyhledávám...",
21
+ Find: "Hledat",
22
+ Reset: "Reset",
23
+ odata: [{ oper:'eq', text:"rovno"},{ oper:'ne', text:"nerovono"},{ oper:'lt', text:"menší"},{ oper:'le', text:"menší nebo rovno"},{ oper:'gt', text:"větší"},{ oper:'ge', text:"větší nebo rovno"},{ oper:'bw', text:"začíná s"},{ oper:'bn', text:"nezačíná s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"není v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obahuje"},{ oper:'nc', text:"neobsahuje"}],
24
+ groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ]
25
+ },
26
+ edit : {
27
+ addCaption: "Přidat záznam",
28
+ editCaption: "Editace záznamu",
29
+ bSubmit: "Uložit",
30
+ bCancel: "Storno",
31
+ bClose: "Zavřít",
32
+ saveData: "Data byla změněna! Uložit změny?",
33
+ bYes : "Ano",
34
+ bNo : "Ne",
35
+ bExit : "Zrušit",
36
+ msg: {
37
+ required:"Pole je vyžadováno",
38
+ number:"Prosím, vložte validní číslo",
39
+ minValue:"hodnota musí být větší než nebo rovná ",
40
+ maxValue:"hodnota musí být menší než nebo rovná ",
41
+ email: "není validní e-mail",
42
+ integer: "Prosím, vložte celé číslo",
43
+ date: "Prosím, vložte validní datum",
44
+ url: "není platnou URL. Vyžadován prefix ('http://' or 'https://')",
45
+ nodefined : " není definován!",
46
+ novalue : " je vyžadována návratová hodnota!",
47
+ customarray : "Custom function mělá vrátit pole!",
48
+ customfcheck : "Custom function by měla být přítomna v případě custom checking!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "Zobrazit záznam",
53
+ bClose: "Zavřít"
54
+ },
55
+ del : {
56
+ caption: "Smazat",
57
+ msg: "Smazat vybraný(é) záznam(y)?",
58
+ bSubmit: "Smazat",
59
+ bCancel: "Storno"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Editovat vybraný řádek",
64
+ addtext:" ",
65
+ addtitle: "Přidat nový řádek",
66
+ deltext: " ",
67
+ deltitle: "Smazat vybraný záznam ",
68
+ searchtext: " ",
69
+ searchtitle: "Najít záznamy",
70
+ refreshtext: "",
71
+ refreshtitle: "Obnovit tabulku",
72
+ alertcap: "Varování",
73
+ alerttext: "Prosím, vyberte řádek",
74
+ viewtext: "",
75
+ viewtitle: "Zobrazit vybraný řádek"
76
+ },
77
+ col : {
78
+ caption: "Zobrazit/Skrýt sloupce",
79
+ bSubmit: "Uložit",
80
+ bCancel: "Storno"
81
+ },
82
+ errors : {
83
+ errcap : "Chyba",
84
+ nourl : "Není nastavena url",
85
+ norecords: "Žádné záznamy ke zpracování",
86
+ model : "Délka 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
+ "Ne", "Po", "Út", "St", "Čt", "Pá", "So",
95
+ "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"
96
+ ],
97
+ monthNames: [
98
+ "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro",
99
+ "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"
100
+ ],
101
+ AmPm : ["do","od","DO","OD"],
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: "n/j/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
+ })(jQuery);
@@ -0,0 +1,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Danish Translation
4
+ * Aesiras A/S
5
+ * http://www.aesiras.dk
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: "Vis {0} - {1} of {2}",
14
+ emptyrecords: "Ingen linjer fundet",
15
+ loadtext: "Henter...",
16
+ pgtext : "Side {0} af {1}"
17
+ },
18
+ search : {
19
+ caption: "Søg...",
20
+ Find: "Find",
21
+ Reset: "Nulstil",
22
+ odata: [{ oper:'eq', text:"lig"},{ oper:'ne', text:"forskellige fra"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lig"},{ oper:'gt', text:"større"},{ oper:'ge', text:"større eller lig"},{ oper:'bw', text:"begynder med"},{ oper:'bn', text:"begynder ikke med"},{ oper:'in', text:"findes i"},{ oper:'ni', text:"findes ikke i"},{ oper:'ew', text:"ender med"},{ oper:'en', text:"ender ikke med"},{ oper:'cn', text:"indeholder"},{ oper:'nc', text:"indeholder ikke"}],
23
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
24
+ },
25
+ edit : {
26
+ addCaption: "Tilføj",
27
+ editCaption: "Ret",
28
+ bSubmit: "Send",
29
+ bCancel: "Annuller",
30
+ bClose: "Luk",
31
+ saveData: "Data er ændret. Gem data?",
32
+ bYes : "Ja",
33
+ bNo : "Nej",
34
+ bExit : "Fortryd",
35
+ msg: {
36
+ required:"Felt er nødvendigt",
37
+ number:"Indtast venligst et validt tal",
38
+ minValue:"værdi skal være større end eller lig med",
39
+ maxValue:"værdi skal være mindre end eller lig med",
40
+ email: "er ikke en gyldig email",
41
+ integer: "Indtast venligst et gyldigt heltal",
42
+ date: "Indtast venligst en gyldig datoværdi",
43
+ url: "er ugyldig URL. Prefix mangler ('http://' or 'https://')",
44
+ nodefined : " er ikke defineret!",
45
+ novalue : " returværdi kræves!",
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: "Vis linje",
52
+ bClose: "Luk"
53
+ },
54
+ del : {
55
+ caption: "Slet",
56
+ msg: "Slet valgte linje(r)?",
57
+ bSubmit: "Slet",
58
+ bCancel: "Fortryd"
59
+ },
60
+ nav : {
61
+ edittext: " ",
62
+ edittitle: "Rediger valgte linje",
63
+ addtext:" ",
64
+ addtitle: "Tilføj ny linje",
65
+ deltext: " ",
66
+ deltitle: "Slet valgte linje",
67
+ searchtext: " ",
68
+ searchtitle: "Find linjer",
69
+ refreshtext: "",
70
+ refreshtitle: "Indlæs igen",
71
+ alertcap: "Advarsel",
72
+ alerttext: "Vælg venligst linje",
73
+ viewtext: "",
74
+ viewtitle: "Vis valgte linje"
75
+ },
76
+ col : {
77
+ caption: "Vis/skjul kolonner",
78
+ bSubmit: "Opdatere",
79
+ bCancel: "Fortryd"
80
+ },
81
+ errors : {
82
+ errcap : "Fejl",
83
+ nourl : "Ingen url valgt",
84
+ norecords: "Ingen linjer at behandle",
85
+ model : "colNames og colModel har ikke samme længde!"
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
+ "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør",
94
+ "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
95
+ ],
96
+ monthNames: [
97
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
98
+ "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
99
+ ],
100
+ AmPm : ["","","",""],
101
+ S: function (j) {return '.'},
102
+ srcformat: 'Y-m-d',
103
+ newformat: 'd/m/Y',
104
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
105
+ masks : {
106
+ ISO8601Long:"Y-m-d H:i:s",
107
+ ISO8601Short:"Y-m-d",
108
+ ShortDate: "j/n/Y",
109
+ LongDate: "l d. F Y",
110
+ FullDateTime: "l d F Y G:i:s",
111
+ MonthDay: "d. F",
112
+ ShortTime: "G:i",
113
+ LongTime: "G:i:s",
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
+ // DA
128
+ })(jQuery);