rails_jq_grid 0.0.3.pre2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/VERSION +1 -1
  2. data/public/javascripts/rails-jqgrid/Changes.txt +0 -0
  3. data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg.js +132 -1
  4. data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg1251.js +132 -1
  5. data/public/javascripts/rails-jqgrid/i18n/grid.locale-cat.js +128 -1
  6. data/public/javascripts/rails-jqgrid/i18n/grid.locale-cn.js +132 -1
  7. data/public/javascripts/rails-jqgrid/i18n/grid.locale-cs.js +128 -1
  8. data/public/javascripts/rails-jqgrid/i18n/grid.locale-da.js +128 -0
  9. data/public/javascripts/rails-jqgrid/i18n/grid.locale-de.js +133 -1
  10. data/public/javascripts/rails-jqgrid/i18n/grid.locale-el.js +126 -1
  11. data/public/javascripts/rails-jqgrid/i18n/grid.locale-en.js +128 -1
  12. data/public/javascripts/rails-jqgrid/i18n/grid.locale-es.js +128 -1
  13. data/public/javascripts/rails-jqgrid/i18n/grid.locale-fa.js +145 -1
  14. data/public/javascripts/rails-jqgrid/i18n/grid.locale-fi.js +130 -1
  15. data/public/javascripts/rails-jqgrid/i18n/grid.locale-fr.js +126 -1
  16. data/public/javascripts/rails-jqgrid/i18n/grid.locale-gl.js +126 -0
  17. data/public/javascripts/rails-jqgrid/i18n/grid.locale-he.js +127 -1
  18. data/public/javascripts/rails-jqgrid/i18n/grid.locale-hu.js +129 -1
  19. data/public/javascripts/rails-jqgrid/i18n/grid.locale-is.js +126 -1
  20. data/public/javascripts/rails-jqgrid/i18n/grid.locale-it.js +1 -1
  21. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ja.js +155 -1
  22. data/public/javascripts/rails-jqgrid/i18n/grid.locale-nl.js +149 -1
  23. data/public/javascripts/rails-jqgrid/i18n/grid.locale-no.js +1 -1
  24. data/public/javascripts/rails-jqgrid/i18n/grid.locale-pl.js +127 -1
  25. data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt-br.js +127 -1
  26. data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt.js +125 -1
  27. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ro.js +139 -1
  28. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ru.js +127 -1
  29. data/public/javascripts/rails-jqgrid/i18n/grid.locale-sk.js +127 -1
  30. data/public/javascripts/rails-jqgrid/i18n/grid.locale-sr.js +128 -0
  31. data/public/javascripts/rails-jqgrid/i18n/grid.locale-sv.js +127 -1
  32. data/public/javascripts/rails-jqgrid/i18n/grid.locale-tr.js +126 -1
  33. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ua.js +127 -1
  34. data/public/javascripts/rails-jqgrid/install.txt +0 -0
  35. data/public/javascripts/rails-jqgrid/jquery.jqGrid.min.js +445 -432
  36. data/public/javascripts/rails-jqgrid/src/JsonXml.js +329 -329
  37. data/public/javascripts/rails-jqgrid/src/css/ellipsis-xbl.xml +0 -0
  38. data/public/javascripts/rails-jqgrid/src/css/ui.jqgrid.css +139 -129
  39. data/public/javascripts/rails-jqgrid/src/css/ui.multiselect.css +0 -0
  40. data/public/javascripts/rails-jqgrid/src/grid.base.js +3078 -3003
  41. data/public/javascripts/rails-jqgrid/src/grid.celledit.js +486 -486
  42. data/public/javascripts/rails-jqgrid/src/grid.common.js +646 -636
  43. data/public/javascripts/rails-jqgrid/src/grid.custom.js +820 -817
  44. data/public/javascripts/rails-jqgrid/src/grid.formedit.js +1954 -1872
  45. data/public/javascripts/rails-jqgrid/src/grid.grouping.js +250 -0
  46. data/public/javascripts/rails-jqgrid/src/grid.import.js +200 -200
  47. data/public/javascripts/rails-jqgrid/src/grid.inlinedit.js +255 -250
  48. data/public/javascripts/rails-jqgrid/src/grid.jqueryui.js +504 -503
  49. data/public/javascripts/rails-jqgrid/src/grid.loader.js +1 -0
  50. data/public/javascripts/rails-jqgrid/src/grid.postext.js +63 -63
  51. data/public/javascripts/rails-jqgrid/src/grid.setcolumns.js +125 -125
  52. data/public/javascripts/rails-jqgrid/src/grid.subgrid.js +260 -260
  53. data/public/javascripts/rails-jqgrid/src/grid.tbltogrid.js +106 -106
  54. data/public/javascripts/rails-jqgrid/src/grid.treegrid.js +489 -482
  55. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg.js +132 -132
  56. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg1251.js +132 -132
  57. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cat.js +128 -128
  58. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cn.js +132 -132
  59. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cs.js +128 -128
  60. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-da.js +128 -0
  61. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-de.js +132 -127
  62. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-dk.js +0 -0
  63. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-el.js +126 -126
  64. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-en.js +128 -128
  65. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-es.js +128 -128
  66. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fa.js +145 -125
  67. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fi.js +130 -130
  68. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fr.js +2 -2
  69. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-gl.js +126 -0
  70. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-he.js +127 -127
  71. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-hu.js +129 -129
  72. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-is.js +126 -126
  73. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-it.js +0 -0
  74. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ja.js +155 -155
  75. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-nl.js +148 -148
  76. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-no.js +0 -0
  77. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pl.js +126 -126
  78. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt-br.js +127 -127
  79. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt.js +125 -125
  80. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ro.js +139 -139
  81. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ru.js +127 -127
  82. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sk.js +127 -127
  83. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sr.js +128 -0
  84. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sv.js +127 -127
  85. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-tr.js +126 -126
  86. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ua.js +127 -127
  87. data/public/javascripts/rails-jqgrid/src/jqDnR.js +68 -67
  88. data/public/javascripts/rails-jqgrid/src/jqModal.js +68 -68
  89. data/public/javascripts/rails-jqgrid/src/jquery.fmatter.js +563 -541
  90. data/public/javascripts/rails-jqgrid/src/jquery.searchFilter.js +1 -1
  91. data/public/javascripts/rails-jqgrid/src/ui.multiselect.js +0 -0
  92. data/public/stylesheets/rails-jqgrid/ellipsis-xbl.xml +0 -0
  93. data/public/stylesheets/rails-jqgrid/ui.jqgrid.css +139 -2
  94. data/rails_jq_grid.gemspec +10 -3
  95. metadata +15 -11
@@ -1,128 +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 = {
11
- defaults : {
12
- recordtext: "Mostrant {0} - {1} de {2}",
13
- emptyrecords: "Sense registres que mostrar",
14
- loadtext: "Carregant...",
15
- pgtext : "Page {0} of {1}"
16
- },
17
- search : {
18
- caption: "Cerca...",
19
- Find: "Cercar",
20
- Reset: "Buidar",
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: "tot" }, { op: "OR", text: "qualsevol" } ],
23
- matchText: " match",
24
- rulesText: " rules"
25
- },
26
- edit : {
27
- addCaption: "Afegir registre",
28
- editCaption: "Modificar registre",
29
- bSubmit: "Guardar",
30
- bCancel: "Cancelar",
31
- bClose: "Tancar",
32
- saveData: "Les dades han canviat. Guardar canvis?",
33
- bYes : "Yes",
34
- bNo : "No",
35
- bExit : "Cancel",
36
- msg: {
37
- required:"Camp obligatori",
38
- number:"Introdueixi un nombre",
39
- minValue:"El valor ha de ser major o igual que ",
40
- maxValue:"El valor ha de ser menor o igual a ",
41
- email: "no és una direcció de correu vàlida",
42
- integer: "Introdueixi un valor enter",
43
- date: "Introdueixi una data correcta ",
44
- url: "no és una URL vàlida. Prefix requerit ('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: "Veure registre",
53
- bClose: "Tancar"
54
- },
55
- del : {
56
- caption: "Eliminar",
57
- msg: "¿Desitja eliminar els registres seleccionats?",
58
- bSubmit: "Eliminar",
59
- bCancel: "Cancelar"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "Modificar fila seleccionada",
64
- addtext:" ",
65
- addtitle: "Agregar nova fila",
66
- deltext: " ",
67
- deltitle: "Eliminar fila seleccionada",
68
- searchtext: " ",
69
- searchtitle: "Cercar informació",
70
- refreshtext: "",
71
- refreshtitle: "Refrescar taula",
72
- alertcap: "Avís",
73
- alerttext: "Seleccioni una fila",
74
- viewtext: " ",
75
- viewtitle: "Veure fila seleccionada"
76
- },
77
- // setcolumns module
78
- col : {
79
- caption: "Mostrar/ocultar columnes",
80
- bSubmit: "Enviar",
81
- bCancel: "Cancelar"
82
- },
83
- errors : {
84
- errcap : "Error",
85
- nourl : "No s'ha especificat una URL",
86
- norecords: "No hi ha dades per processar",
87
- model : "Les columnes de noms són diferents de les columnes del model"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: ".", defaultValue: '0'},
91
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
92
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
- date : {
94
- dayNames: [
95
- "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
96
- "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
97
- ],
98
- monthNames: [
99
- "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
100
- "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
101
- ],
102
- AmPm : ["am","pm","AM","PM"],
103
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
- srcformat: 'Y-m-d',
105
- newformat: 'd-m-Y',
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);
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 = {
11
+ defaults : {
12
+ recordtext: "Mostrant {0} - {1} de {2}",
13
+ emptyrecords: "Sense registres que mostrar",
14
+ loadtext: "Carregant...",
15
+ pgtext : "Pàgina {0} de {1}"
16
+ },
17
+ search : {
18
+ caption: "Cerca...",
19
+ Find: "Cercar",
20
+ Reset: "Buidar",
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: "tot" }, { op: "OR", text: "qualsevol" } ],
23
+ matchText: " match",
24
+ rulesText: " rules"
25
+ },
26
+ edit : {
27
+ addCaption: "Afegir registre",
28
+ editCaption: "Modificar registre",
29
+ bSubmit: "Guardar",
30
+ bCancel: "Cancelar",
31
+ bClose: "Tancar",
32
+ saveData: "Les dades han canviat. Guardar canvis?",
33
+ bYes : "Yes",
34
+ bNo : "No",
35
+ bExit : "Cancel",
36
+ msg: {
37
+ required:"Camp obligatori",
38
+ number:"Introdueixi un nombre",
39
+ minValue:"El valor ha de ser major o igual que ",
40
+ maxValue:"El valor ha de ser menor o igual a ",
41
+ email: "no és una direcció de correu vàlida",
42
+ integer: "Introdueixi un valor enter",
43
+ date: "Introdueixi una data correcta ",
44
+ url: "no és una URL vàlida. Prefix requerit ('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: "Veure registre",
53
+ bClose: "Tancar"
54
+ },
55
+ del : {
56
+ caption: "Eliminar",
57
+ msg: "¿Desitja eliminar els registres seleccionats?",
58
+ bSubmit: "Eliminar",
59
+ bCancel: "Cancelar"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Modificar fila seleccionada",
64
+ addtext:" ",
65
+ addtitle: "Agregar nova fila",
66
+ deltext: " ",
67
+ deltitle: "Eliminar fila seleccionada",
68
+ searchtext: " ",
69
+ searchtitle: "Cercar informació",
70
+ refreshtext: "",
71
+ refreshtitle: "Refrescar taula",
72
+ alertcap: "Avís",
73
+ alerttext: "Seleccioni una fila",
74
+ viewtext: " ",
75
+ viewtitle: "Veure fila seleccionada"
76
+ },
77
+ // setcolumns module
78
+ col : {
79
+ caption: "Mostrar/ocultar columnes",
80
+ bSubmit: "Enviar",
81
+ bCancel: "Cancelar"
82
+ },
83
+ errors : {
84
+ errcap : "Error",
85
+ nourl : "No s'ha especificat una URL",
86
+ norecords: "No hi ha dades per processar",
87
+ model : "Les columnes de noms són diferents de les columnes del model"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
96
+ "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
97
+ ],
98
+ monthNames: [
99
+ "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
100
+ "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
101
+ ],
102
+ AmPm : ["am","pm","AM","PM"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd-m-Y',
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);
@@ -1,132 +1,132 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Chinese Translation for v3.6
4
- * waiting 2010.01.18
5
- * http://waiting.javaeye.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 2010.05.04
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 = {
14
- defaults : {
15
- recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
16
- emptyrecords: "无数据显示",
17
- loadtext: "读取中...",
18
- pgtext : " {0} 共 {1} 页"
19
- },
20
- search : {
21
- caption: "搜索...",
22
- Find: "查找",
23
- Reset: "重置",
24
- odata : ['等于\u3000\u3000', '不等\u3000\u3000', '小于\u3000\u3000', '小于等于','大于\u3000\u3000','大于等于',
25
- '开始于','不开始于','属于\u3000\u3000','不属于','结束于','不结束于','包含\u3000\u3000','不包含'],
26
- groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
27
- matchText: " 匹配",
28
- rulesText: " 规则"
29
- },
30
- edit : {
31
- addCaption: "添加记录",
32
- editCaption: "编辑记录",
33
- bSubmit: "提交",
34
- bCancel: "取消",
35
- bClose: "关闭",
36
- saveData: "数据已改变,是否保存?",
37
- bYes : "是",
38
- bNo : "否",
39
- bExit : "取消",
40
- msg: {
41
- required:"此字段必需",
42
- number:"请输入有效数字",
43
- minValue:"输值必须大于等于 ",
44
- maxValue:"输值必须小于等于 ",
45
- email: "这不是有效的e-mail地址",
46
- integer: "请输入有效整数",
47
- date: "请输入有效时间",
48
- url: "无效网址。前缀必须为 ('http://' 或 'https://')",
49
- nodefined : " 未定义!",
50
- novalue : " 需要返回值!",
51
- customarray : "自定义函数需要返回数组!",
52
- customfcheck : "Custom function should be present in case of custom checking!"
53
-
54
- }
55
- },
56
- view : {
57
- caption: "查看记录",
58
- bClose: "关闭"
59
- },
60
- del : {
61
- caption: "删除",
62
- msg: "删除所选记录?",
63
- bSubmit: "删除",
64
- bCancel: "取消"
65
- },
66
- nav : {
67
- edittext: "",
68
- edittitle: "编辑所选记录",
69
- addtext:"",
70
- addtitle: "添加新记录",
71
- deltext: "",
72
- deltitle: "删除所选记录",
73
- searchtext: "",
74
- searchtitle: "查找",
75
- refreshtext: "",
76
- refreshtitle: "刷新表格",
77
- alertcap: "注意",
78
- alerttext: "请选择记录",
79
- viewtext: "",
80
- viewtitle: "查看所选记录"
81
- },
82
- col : {
83
- caption: "选择列",
84
- bSubmit: "确定",
85
- bCancel: "取消"
86
- },
87
- errors : {
88
- errcap : "错误",
89
- nourl : "没有设置url",
90
- norecords: "没有要处理的记录",
91
- model : "colNames 和 colModel 长度不等!"
92
- },
93
- formatter : {
94
- integer : {thousandsSeparator: " ", defaultValue: '0'},
95
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
96
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
97
- date : {
98
- dayNames: [
99
- "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
100
- "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
101
- ],
102
- monthNames: [
103
- "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
104
- "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
105
- ],
106
- AmPm : ["am","pm","AM","PM"],
107
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
108
- srcformat: 'Y-m-d',
109
- newformat: 'm-d-Y',
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);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Chinese Translation for v3.6
4
+ * waiting 2010.01.18
5
+ * http://waiting.javaeye.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 2010.05.04
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 = {
14
+ defaults : {
15
+ recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
16
+ emptyrecords: "无数据显示",
17
+ loadtext: "读取中...",
18
+ pgtext : " {0} 共 {1} 页"
19
+ },
20
+ search : {
21
+ caption: "搜索...",
22
+ Find: "查找",
23
+ Reset: "重置",
24
+ odata : ['等于\u3000\u3000', '不等\u3000\u3000', '小于\u3000\u3000', '小于等于','大于\u3000\u3000','大于等于',
25
+ '开始于','不开始于','属于\u3000\u3000','不属于','结束于','不结束于','包含\u3000\u3000','不包含'],
26
+ groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
27
+ matchText: " 匹配",
28
+ rulesText: " 规则"
29
+ },
30
+ edit : {
31
+ addCaption: "添加记录",
32
+ editCaption: "编辑记录",
33
+ bSubmit: "提交",
34
+ bCancel: "取消",
35
+ bClose: "关闭",
36
+ saveData: "数据已改变,是否保存?",
37
+ bYes : "是",
38
+ bNo : "否",
39
+ bExit : "取消",
40
+ msg: {
41
+ required:"此字段必需",
42
+ number:"请输入有效数字",
43
+ minValue:"输值必须大于等于 ",
44
+ maxValue:"输值必须小于等于 ",
45
+ email: "这不是有效的e-mail地址",
46
+ integer: "请输入有效整数",
47
+ date: "请输入有效时间",
48
+ url: "无效网址。前缀必须为 ('http://' 或 'https://')",
49
+ nodefined : " 未定义!",
50
+ novalue : " 需要返回值!",
51
+ customarray : "自定义函数需要返回数组!",
52
+ customfcheck : "Custom function should be present in case of custom checking!"
53
+
54
+ }
55
+ },
56
+ view : {
57
+ caption: "查看记录",
58
+ bClose: "关闭"
59
+ },
60
+ del : {
61
+ caption: "删除",
62
+ msg: "删除所选记录?",
63
+ bSubmit: "删除",
64
+ bCancel: "取消"
65
+ },
66
+ nav : {
67
+ edittext: "",
68
+ edittitle: "编辑所选记录",
69
+ addtext:"",
70
+ addtitle: "添加新记录",
71
+ deltext: "",
72
+ deltitle: "删除所选记录",
73
+ searchtext: "",
74
+ searchtitle: "查找",
75
+ refreshtext: "",
76
+ refreshtitle: "刷新表格",
77
+ alertcap: "注意",
78
+ alerttext: "请选择记录",
79
+ viewtext: "",
80
+ viewtitle: "查看所选记录"
81
+ },
82
+ col : {
83
+ caption: "选择列",
84
+ bSubmit: "确定",
85
+ bCancel: "取消"
86
+ },
87
+ errors : {
88
+ errcap : "错误",
89
+ nourl : "没有设置url",
90
+ norecords: "没有要处理的记录",
91
+ model : "colNames 和 colModel 长度不等!"
92
+ },
93
+ formatter : {
94
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
95
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
96
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
97
+ date : {
98
+ dayNames: [
99
+ "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
100
+ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
101
+ ],
102
+ monthNames: [
103
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
104
+ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
105
+ ],
106
+ AmPm : ["am","pm","AM","PM"],
107
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
108
+ srcformat: 'Y-m-d',
109
+ newformat: 'm-d-Y',
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);