compass-jquery-plugin 0.3.2.3 → 0.3.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. data/README.md +54 -37
  2. data/VERSION.yml +1 -1
  3. data/lib/handle_attributes.rb +4 -4
  4. data/lib/handle_js_files.rb +5 -5
  5. data/lib/jqtouch_theme.rb +2 -2
  6. data/lib/jquery/dynatree.rb +2 -2
  7. data/lib/jquery/emulators.rb +1 -1
  8. data/lib/jquery/flash_messages.rb +6 -6
  9. data/lib/jquery/graphics.rb +5 -0
  10. data/lib/jquery/gridify/assertions.rb +1 -1
  11. data/lib/jquery/gridify/grid.rb +76 -59
  12. data/lib/jquery/gridify/grid_column.rb +73 -67
  13. data/lib/jquery/gridify/grid_finder.rb +79 -79
  14. data/lib/jquery/gridify/grid_options.rb +154 -149
  15. data/lib/jquery/gridify/grid_view.rb +143 -143
  16. data/lib/jquery/gridify.rb +25 -25
  17. data/lib/jquery/ical/calendar.rb +2 -2
  18. data/lib/jquery/ical/event.rb +48 -44
  19. data/lib/jquery/ical/helpers/ui_event_helper.rb +3 -3
  20. data/lib/jquery/jqgrid/jqgrid.rb +58 -58
  21. data/lib/jquery/jqgrid.rb +1 -1
  22. data/lib/jquery/jqtouch.rb +1 -1
  23. data/lib/jquery/jquery.rb +117 -117
  24. data/lib/jquery/jquery_auto_complete.rb +9 -9
  25. data/lib/jquery/jquery_json_response.rb +12 -12
  26. data/lib/jquery/jquery_selector_assertions.rb +55 -53
  27. data/lib/jquery/jstree.rb +2 -2
  28. data/lib/jquery/mobile.rb +1 -1
  29. data/lib/jquery/ribbon.rb +2 -2
  30. data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +5 -5
  31. data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +5 -5
  32. data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +1 -1
  33. data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +39 -39
  34. data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +74 -74
  35. data/lib/jquery/secret_sauce/model/find_for_grid.rb +21 -21
  36. data/lib/jquery/secret_sauce.rb +1 -1
  37. data/lib/jquery/tools.rb +1 -1
  38. data/lib/jquery_mobile_theme.rb +2 -2
  39. data/lib/jquery_ui_theme.rb +12 -12
  40. data/templates/dynatree/config/initializers/dynatree.rb +3 -3
  41. data/templates/dynatree/jquery/dynatree/aero.scss +16 -16
  42. data/templates/dynatree/jquery/dynatree/aqua.scss +16 -16
  43. data/templates/dynatree/jquery/dynatree/crystal.scss +16 -16
  44. data/templates/dynatree/jquery/dynatree/xp.scss +17 -17
  45. data/templates/dynatree/jquery.dynatree.js +2926 -2912
  46. data/templates/emulators/config/initializers/emulators.rb +6 -6
  47. data/templates/graphics/config/initializers/graphics.rb +5 -0
  48. data/templates/graphics/jquery/ganttView.scss +89 -0
  49. data/templates/graphics/jquery.ganttView.js +1669 -0
  50. data/templates/graphics/jquery.ganttView.min.js +70 -0
  51. data/templates/{jquery → graphics}/jquery.sparkline.js +466 -438
  52. data/templates/{jquery → graphics}/jquery.sparkline.min.js +0 -0
  53. data/templates/graphics/manifest.rb +9 -0
  54. data/templates/jqgrid/config/initializers/jqgrid.rb +1 -1
  55. data/templates/jqgrid/i18n/jqgrid/locale-ar.js +131 -125
  56. data/templates/jqgrid/i18n/jqgrid/locale-bg.js +135 -131
  57. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +135 -131
  58. data/templates/jqgrid/i18n/jqgrid/locale-cat.js +132 -126
  59. data/templates/jqgrid/i18n/jqgrid/locale-cn.js +137 -131
  60. data/templates/jqgrid/i18n/jqgrid/locale-cs.js +133 -127
  61. data/templates/jqgrid/i18n/jqgrid/locale-da.js +132 -126
  62. data/templates/jqgrid/i18n/jqgrid/locale-de.js +138 -132
  63. data/templates/jqgrid/i18n/jqgrid/locale-el.js +131 -125
  64. data/templates/jqgrid/i18n/jqgrid/locale-en.js +133 -127
  65. data/templates/jqgrid/i18n/jqgrid/locale-es.js +133 -127
  66. data/templates/jqgrid/i18n/jqgrid/locale-fa.js +19 -16
  67. data/templates/jqgrid/i18n/jqgrid/locale-fi.js +132 -126
  68. data/templates/jqgrid/i18n/jqgrid/locale-fr.js +131 -125
  69. data/templates/jqgrid/i18n/jqgrid/locale-gl.js +131 -125
  70. data/templates/jqgrid/i18n/jqgrid/locale-he.js +132 -126
  71. data/templates/jqgrid/i18n/jqgrid/locale-hu.js +133 -127
  72. data/templates/jqgrid/i18n/jqgrid/locale-is.js +131 -125
  73. data/templates/jqgrid/i18n/jqgrid/locale-it.js +8 -1
  74. data/templates/jqgrid/i18n/jqgrid/locale-ja.js +139 -136
  75. data/templates/jqgrid/i18n/jqgrid/locale-nl.js +4 -1
  76. data/templates/jqgrid/i18n/jqgrid/locale-no.js +14 -1
  77. data/templates/jqgrid/i18n/jqgrid/locale-pl.js +132 -126
  78. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +132 -126
  79. data/templates/jqgrid/i18n/jqgrid/locale-pt.js +130 -124
  80. data/templates/jqgrid/i18n/jqgrid/locale-ro.js +144 -138
  81. data/templates/jqgrid/i18n/jqgrid/locale-ru.js +132 -126
  82. data/templates/jqgrid/i18n/jqgrid/locale-sk.js +132 -126
  83. data/templates/jqgrid/i18n/jqgrid/locale-sr.js +133 -127
  84. data/templates/jqgrid/i18n/jqgrid/locale-sv.js +132 -126
  85. data/templates/jqgrid/i18n/jqgrid/locale-tr.js +131 -125
  86. data/templates/jqgrid/i18n/jqgrid/locale-ua.js +132 -126
  87. data/templates/jqgrid/jquery.jqGrid.js +12735 -10444
  88. data/templates/jqgrid/jquery.jqGrid.min.js +477 -469
  89. data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +12 -10
  90. data/templates/jqtouch/config/initializers/jqtouch.rb +3 -3
  91. data/templates/jqtouch/jquery/touch/jqtouch.scss +1 -1
  92. data/templates/jqtouch/jquery.jqtouch.js +10025 -10043
  93. data/templates/jquery/config/initializers/jquery.rb +2 -4
  94. data/templates/jquery/history.adapter.jquery.js +71 -0
  95. data/templates/jquery/history.adapter.jquery.min.js +4 -0
  96. data/templates/jquery/history.html4.js +690 -0
  97. data/templates/jquery/history.html4.min.js +21 -0
  98. data/templates/jquery/history.js +1297 -0
  99. data/templates/jquery/history.min.js +29 -0
  100. data/templates/jquery/i18n/jquery.ui/datepicker-af.js +20 -20
  101. data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.js +19 -19
  102. data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +19 -19
  103. data/templates/jquery/i18n/jquery.ui/datepicker-az.js +19 -19
  104. data/templates/jquery/i18n/jquery.ui/datepicker-bg.js +8 -8
  105. data/templates/jquery/i18n/jquery.ui/datepicker-bs.js +20 -20
  106. data/templates/jquery/i18n/jquery.ui/datepicker-ca.js +20 -20
  107. data/templates/jquery/i18n/jquery.ui/datepicker-cs.js +20 -20
  108. data/templates/jquery/i18n/jquery.ui/datepicker-da.js +14 -14
  109. data/templates/jquery/i18n/jquery.ui/datepicker-de.js +20 -20
  110. data/templates/jquery/i18n/jquery.ui/datepicker-el.js +20 -20
  111. data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.js +20 -20
  112. data/templates/jquery/i18n/jquery.ui/datepicker-en-GB.js +20 -20
  113. data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.js +20 -20
  114. data/templates/jquery/i18n/jquery.ui/datepicker-eo.js +20 -20
  115. data/templates/jquery/i18n/jquery.ui/datepicker-es.js +20 -20
  116. data/templates/jquery/i18n/jquery.ui/datepicker-et.js +20 -20
  117. data/templates/jquery/i18n/jquery.ui/datepicker-eu.js +20 -20
  118. data/templates/jquery/i18n/jquery.ui/datepicker-fa.js +18 -18
  119. data/templates/jquery/i18n/jquery.ui/datepicker-fi.js +15 -15
  120. data/templates/jquery/i18n/jquery.ui/datepicker-fo.js +20 -20
  121. data/templates/jquery/i18n/jquery.ui/datepicker-fr-CH.js +20 -20
  122. data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +22 -22
  123. data/templates/jquery/i18n/jquery.ui/datepicker-gl.js +20 -20
  124. data/templates/jquery/i18n/jquery.ui/datepicker-he.js +20 -20
  125. data/templates/jquery/i18n/jquery.ui/datepicker-hr.js +20 -20
  126. data/templates/jquery/i18n/jquery.ui/datepicker-hu.js +20 -20
  127. data/templates/jquery/i18n/jquery.ui/datepicker-hu.min.js +1 -1
  128. data/templates/jquery/i18n/jquery.ui/datepicker-hy.js +20 -20
  129. data/templates/jquery/i18n/jquery.ui/datepicker-id.js +20 -20
  130. data/templates/jquery/i18n/jquery.ui/datepicker-is.js +20 -20
  131. data/templates/jquery/i18n/jquery.ui/datepicker-it.js +20 -20
  132. data/templates/jquery/i18n/jquery.ui/datepicker-ja.js +20 -20
  133. data/templates/jquery/i18n/jquery.ui/datepicker-ko.js +20 -20
  134. data/templates/jquery/i18n/jquery.ui/datepicker-kz.js +20 -20
  135. data/templates/jquery/i18n/jquery.ui/datepicker-lt.js +20 -20
  136. data/templates/jquery/i18n/jquery.ui/datepicker-lv.js +20 -20
  137. data/templates/jquery/i18n/jquery.ui/datepicker-ml.js +20 -20
  138. data/templates/jquery/i18n/jquery.ui/datepicker-ms.js +20 -20
  139. data/templates/jquery/i18n/jquery.ui/datepicker-nl.js +20 -20
  140. data/templates/jquery/i18n/jquery.ui/datepicker-no.js +16 -16
  141. data/templates/jquery/i18n/jquery.ui/datepicker-no.min.js +2 -2
  142. data/templates/jquery/i18n/jquery.ui/datepicker-pl.js +20 -20
  143. data/templates/jquery/i18n/jquery.ui/datepicker-pt-BR.js +20 -20
  144. data/templates/jquery/i18n/jquery.ui/datepicker-pt.js +20 -20
  145. data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +18 -18
  146. data/templates/jquery/i18n/jquery.ui/datepicker-ro.js +20 -20
  147. data/templates/jquery/i18n/jquery.ui/datepicker-ru.js +20 -20
  148. data/templates/jquery/i18n/jquery.ui/datepicker-sk.js +20 -20
  149. data/templates/jquery/i18n/jquery.ui/datepicker-sl.js +20 -20
  150. data/templates/jquery/i18n/jquery.ui/datepicker-sq.js +20 -20
  151. data/templates/jquery/i18n/jquery.ui/datepicker-sr-SR.js +20 -20
  152. data/templates/jquery/i18n/jquery.ui/datepicker-sr.js +20 -20
  153. data/templates/jquery/i18n/jquery.ui/datepicker-sv.js +14 -14
  154. data/templates/jquery/i18n/jquery.ui/datepicker-ta.js +20 -20
  155. data/templates/jquery/i18n/jquery.ui/datepicker-th.js +20 -20
  156. data/templates/jquery/i18n/jquery.ui/datepicker-tr.js +20 -20
  157. data/templates/jquery/i18n/jquery.ui/datepicker-uk.js +20 -20
  158. data/templates/jquery/i18n/jquery.ui/datepicker-vi.js +20 -20
  159. data/templates/jquery/i18n/jquery.ui/datepicker-zh-CN.js +20 -20
  160. data/templates/jquery/i18n/jquery.ui/datepicker-zh-HK.js +20 -20
  161. data/templates/jquery/i18n/jquery.ui/datepicker-zh-TW.js +20 -20
  162. data/templates/jquery/{partials → jquery/ui}/_flash_messages.scss +0 -0
  163. data/templates/jquery/jquery/ui/_theme.scss +14 -13
  164. data/templates/jquery/jquery/ui/contextMenu/configure.png +0 -0
  165. data/templates/jquery/jquery/ui/contextMenu/copy.png +0 -0
  166. data/templates/jquery/jquery/ui/contextMenu/cut.png +0 -0
  167. data/templates/jquery/jquery/ui/contextMenu/delete.png +0 -0
  168. data/templates/jquery/jquery/ui/contextMenu/edit.png +0 -0
  169. data/templates/jquery/jquery/ui/contextMenu/exit.png +0 -0
  170. data/templates/jquery/jquery/ui/contextMenu/new.png +0 -0
  171. data/templates/jquery/jquery/ui/contextMenu/paste.png +0 -0
  172. data/templates/jquery/jquery/ui/contextMenu/rename.png +0 -0
  173. data/templates/jquery/jquery/ui/contextMenu/show.png +0 -0
  174. data/templates/jquery/jquery/ui/contextMenu/trash.png +0 -0
  175. data/templates/jquery/jquery/ui/contextMenu.scss +16 -10
  176. data/templates/jquery/jquery-ui.js +11839 -23066
  177. data/templates/jquery/jquery-ui.min.js +401 -795
  178. data/templates/jquery/jquery.bgiframe.js +27 -25
  179. data/templates/jquery/jquery.contextMenu.js +209 -196
  180. data/templates/jquery/jquery.cookie.js +3 -1
  181. data/templates/jquery/jquery.dotimeout.js +236 -228
  182. data/templates/jquery/jquery.dst.js +154 -151
  183. data/templates/jquery/jquery.farbtastic.js +293 -293
  184. data/templates/jquery/jquery.flashMessages.js +26 -0
  185. data/templates/jquery/jquery.flashMessages.min.js +1 -0
  186. data/templates/jquery/jquery.form.js +803 -786
  187. data/templates/jquery/jquery.haml.js +248 -247
  188. data/templates/jquery/jquery.hotkeys.js +89 -89
  189. data/templates/jquery/jquery.js +8141 -8106
  190. data/templates/jquery/jquery.layout.js +2451 -2415
  191. data/templates/jquery/jquery.min.js +167 -166
  192. data/templates/jquery/jquery.mousewheel.js +62 -54
  193. data/templates/jquery/jquery.offline.js +171 -171
  194. data/templates/jquery/jquery.pngFix.js +76 -76
  195. data/templates/jquery/jquery.replacetext.js +83 -83
  196. data/templates/jquery/jquery.themeswitchertool.js +202 -177
  197. data/templates/jquery/jquery.tmpl.js +478 -473
  198. data/templates/jquery/jquery.tmplPlus.js +82 -81
  199. data/templates/jquery/jrails.js +178 -175
  200. data/templates/jquery/json.js +77 -7
  201. data/templates/jquery/json2.js +480 -0
  202. data/templates/jquery/json2.min.js +7 -0
  203. data/templates/jquery/lib/tasks/haml.rake +2 -2
  204. data/templates/jquery/manifest.rb +21 -17
  205. data/templates/jstree/jquery.jstree.js +5967 -4536
  206. data/templates/mobile/config/initializers/mobile.rb +1 -1
  207. data/templates/mobile/jquery/mobile/_base.scss +944 -927
  208. data/templates/mobile/jquery/mobile/default.scss +61 -48
  209. data/templates/mobile/jquery/mobile/valencia.scss +56 -42
  210. data/templates/mobile/jquery.mobile.js +4461 -4347
  211. data/templates/mobile/jquery.mobile.min.js +11 -2
  212. data/templates/mobile/lib/tasks/jquery.mobile.rake +12 -12
  213. data/templates/ribbon/config/initializers/ribbon.rb +2 -2
  214. data/templates/ribbon/jquery.ribbon.js +50 -29
  215. data/templates/secret_sauce/secret_sauce.js +8 -8
  216. data/templates/tools/flowplayer.js +945 -1
  217. data/templates/tools/jquery.tools.js +4645 -4335
  218. data/templates/tools/jquery.tools.min.js +37 -37
  219. data/templates/tools/lib/tasks/jquery.tools.rake +4 -4
  220. data/templates/tools/swfobject.js +813 -773
  221. metadata +33 -21
  222. data/templates/jquery/haml.js +0 -506
  223. data/templates/jquery/haml.min.js +0 -5
  224. data/templates/jquery/jquery/ui/contextMenu/door.png +0 -0
  225. data/templates/jquery/jquery/ui/contextMenu/page_white_copy.png +0 -0
  226. data/templates/jquery/jquery/ui/contextMenu/page_white_delete.png +0 -0
  227. data/templates/jquery/jquery/ui/contextMenu/page_white_edit.png +0 -0
  228. data/templates/jquery/jquery/ui/contextMenu/page_white_new.png +0 -0
  229. data/templates/jquery/jquery/ui/contextMenu/page_white_paste.png +0 -0
  230. data/templates/jquery/jquery.compat-1.3.js +0 -291
  231. data/templates/jquery/jquery.compat-1.3.min.js +0 -6
  232. data/templates/jquery/jquery.flash_messages.js +0 -5
  233. data/templates/jquery/jquery.flash_messages.min.js +0 -1
  234. data/templates/jquery/jquery.history.js +0 -194
  235. data/templates/jquery/jquery.history.min.js +0 -5
@@ -1,132 +1,138 @@
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
- };
1
+ ;
2
+ (function($) {
3
+ /**
4
+ * jqGrid Chinese Translation for v3.6
5
+ * waiting 2010.01.18
6
+ * http://waiting.javaeye.com/
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
+ * update 2010.05.04
12
+ * 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
13
+ **/
14
+ $.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 : ['等于\u3000\u3000', '不等\u3000\u3000', '小于\u3000\u3000', '小于等于','大于\u3000\u3000','大于等于',
26
+ '开始于','不开始于','属于\u3000\u3000','不属于','结束于','不结束于','包含\u3000\u3000','不包含'],
27
+ groupOps: [
28
+ { op: "AND", text: "所有" },
29
+ { op: "OR", text: "任一" }
30
+ ],
31
+ matchText: " 匹配",
32
+ rulesText: " 规则"
33
+ },
34
+ edit : {
35
+ addCaption: "添加记录",
36
+ editCaption: "编辑记录",
37
+ bSubmit: "提交",
38
+ bCancel: "取消",
39
+ bClose: "关闭",
40
+ saveData: "数据已改变,是否保存?",
41
+ bYes : "",
42
+ bNo : "",
43
+ bExit : "取消",
44
+ msg: {
45
+ required:"此字段必需",
46
+ number:"请输入有效数字",
47
+ minValue:"输值必须大于等于 ",
48
+ maxValue:"输值必须小于等于 ",
49
+ email: "这不是有效的e-mail地址",
50
+ integer: "请输入有效整数",
51
+ date: "请输入有效时间",
52
+ url: "无效网址。前缀必须为 ('http://' 'https://')",
53
+ nodefined : " 未定义!",
54
+ novalue : " 需要返回值!",
55
+ customarray : "自定义函数需要返回数组!",
56
+ customfcheck : "Custom function should be present in case of custom checking!"
57
+
58
+ }
59
+ },
60
+ view : {
61
+ caption: "查看记录",
62
+ bClose: "关闭"
63
+ },
64
+ del : {
65
+ caption: "删除",
66
+ msg: "删除所选记录?",
67
+ bSubmit: "删除",
68
+ bCancel: "取消"
69
+ },
70
+ nav : {
71
+ edittext: "",
72
+ edittitle: "编辑所选记录",
73
+ addtext:"",
74
+ addtitle: "添加新记录",
75
+ deltext: "",
76
+ deltitle: "删除所选记录",
77
+ searchtext: "",
78
+ searchtitle: "查找",
79
+ refreshtext: "",
80
+ refreshtitle: "刷新表格",
81
+ alertcap: "注意",
82
+ alerttext: "请选择记录",
83
+ viewtext: "",
84
+ viewtitle: "查看所选记录"
85
+ },
86
+ col : {
87
+ caption: "选择列",
88
+ bSubmit: "确定",
89
+ bCancel: "取消"
90
+ },
91
+ errors : {
92
+ errcap : "错误",
93
+ nourl : "没有设置url",
94
+ norecords: "没有要处理的记录",
95
+ model : "colNames colModel 长度不等!"
96
+ },
97
+ formatter : {
98
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
99
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
100
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
101
+ date : {
102
+ dayNames: [
103
+ "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
104
+ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
105
+ ],
106
+ monthNames: [
107
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
108
+ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
109
+ ],
110
+ AmPm : ["am","pm","AM","PM"],
111
+ S: function (j) {
112
+ return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'
113
+ },
114
+ srcformat: 'Y-m-d',
115
+ newformat: 'm-d-Y',
116
+ masks : {
117
+ ISO8601Long:"Y-m-d H:i:s",
118
+ ISO8601Short:"Y-m-d",
119
+ ShortDate: "Y/j/n",
120
+ LongDate: "l, F d, Y",
121
+ FullDateTime: "l, F d, Y g:i:s A",
122
+ MonthDay: "F d",
123
+ ShortTime: "g:i A",
124
+ LongTime: "g:i:s A",
125
+ SortableDateTime: "Y-m-d\\TH:i:s",
126
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
127
+ YearMonth: "F, Y"
128
+ },
129
+ reformatAfterEdit : false
130
+ },
131
+ baseLinkUrl: '',
132
+ showAction: '',
133
+ target: '',
134
+ checkbox : {disabled:true},
135
+ idName : 'id'
136
+ }
137
+ };
132
138
  })(jQuery);
@@ -1,128 +1,134 @@
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 = {
12
- defaults : {
13
- recordtext: "Zobrazeno {0} - {1} z {2} záznamů",
14
- emptyrecords: "Nenalezeny žádné záznamy",
15
- loadtext: "Načítám...",
16
- pgtext : "Strana {0} z {1}"
17
- },
18
- search : {
19
- caption: "Vyhledávám...",
20
- Find: "Hledat",
21
- Reset: "Reset",
22
- odata : ['rovno', 'nerovono', 'menší', 'menší nebo rovno','větší', 'větší nebo rovno', 'začíná s', 'nezačíná s', 'je v', 'není v', 'končí s', 'nekončí s', 'obahuje', 'neobsahuje'],
23
- groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ],
24
- matchText: " hledat podle",
25
- rulesText: " pravidel"
26
- },
27
- edit : {
28
- addCaption: "Přidat záznam",
29
- editCaption: "Editace záznamu",
30
- bSubmit: "Uložit",
31
- bCancel: "Storno",
32
- bClose: "Zavřít",
33
- saveData: "Data byla změněna! Uložit změny?",
34
- bYes : "Ano",
35
- bNo : "Ne",
36
- bExit : "Zrušit",
37
- msg: {
38
- required:"Pole je vyžadováno",
39
- number:"Prosím, vložte validní číslo",
40
- minValue:"hodnota musí být větší než nebo rovná ",
41
- maxValue:"hodnota musí být menší než nebo rovná ",
42
- email: "není validní e-mail",
43
- integer: "Prosím, vložte celé číslo",
44
- date: "Prosím, vložte validní datum",
45
- url: "není platnou URL. Vyžadován prefix ('http://' or 'https://')",
46
- nodefined : " není definován!",
47
- novalue : " je vyžadována návratová hodnota!",
48
- customarray : "Custom function mělá vrátit pole!",
49
- customfcheck : "Custom function by měla být přítomna v případě custom checking!"
50
- }
51
- },
52
- view : {
53
- caption: "Zobrazit záznam",
54
- bClose: "Zavřít"
55
- },
56
- del : {
57
- caption: "Smazat",
58
- msg: "Smazat vybraný(é) záznam(y)?",
59
- bSubmit: "Smazat",
60
- bCancel: "Storno"
61
- },
62
- nav : {
63
- edittext: " ",
64
- edittitle: "Editovat vybraný řádek",
65
- addtext:" ",
66
- addtitle: "Přidat nový řádek",
67
- deltext: " ",
68
- deltitle: "Smazat vybraný záznam ",
69
- searchtext: " ",
70
- searchtitle: "Najít záznamy",
71
- refreshtext: "",
72
- refreshtitle: "Obnovit tabulku",
73
- alertcap: "Varování",
74
- alerttext: "Prosím, vyberte řádek",
75
- viewtext: "",
76
- viewtitle: "Zobrazit vybraný řádek"
77
- },
78
- col : {
79
- caption: "Zobrazit/Skrýt sloupce",
80
- bSubmit: "Uložit",
81
- bCancel: "Storno"
82
- },
83
- errors : {
84
- errcap : "Chyba",
85
- nourl : "Není nastavena url",
86
- norecords: "Žádné záznamy ke zpracování",
87
- model : "Délka colNames <> colModel!"
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
- "Ne", "Po", "Út", "St", "Čt", "Pá", "So",
96
- "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"
97
- ],
98
- monthNames: [
99
- "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro",
100
- "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"
101
- ],
102
- AmPm : ["do","od","DO","OD"],
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: '',
123
- target: '',
124
- checkbox : {disabled:true},
125
- idName : 'id'
126
- }
127
- };
1
+ ;
2
+ (function($) {
3
+ /**
4
+ * jqGrid Czech Translation
5
+ * Pavel Jirak pavel.jirak@jipas.cz
6
+ * doplnil Thomas Wagner xwagne01@stud.fit.vutbr.cz
7
+ * http://trirand.com/blog/
8
+ * Dual licensed under the MIT and GPL licenses:
9
+ * http://www.opensource.org/licenses/mit-license.php
10
+ * http://www.gnu.org/licenses/gpl.html
11
+ **/
12
+ $.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 : ['rovno', 'nerovono', 'menší', 'menší nebo rovno','větší', 'větší nebo rovno', 'začíná s', 'nezačíná s', 'je v', 'není v', 'končí s', 'nekončí s', 'obahuje', 'neobsahuje'],
24
+ groupOps: [
25
+ { op: "AND", text: "všech" },
26
+ { op: "OR", text: "některého z" }
27
+ ],
28
+ matchText: " hledat podle",
29
+ rulesText: " pravidel"
30
+ },
31
+ edit : {
32
+ addCaption: "Přidat záznam",
33
+ editCaption: "Editace záznamu",
34
+ bSubmit: "Uložit",
35
+ bCancel: "Storno",
36
+ bClose: "Zavřít",
37
+ saveData: "Data byla změněna! Uložit změny?",
38
+ bYes : "Ano",
39
+ bNo : "Ne",
40
+ bExit : "Zrušit",
41
+ msg: {
42
+ required:"Pole je vyžadováno",
43
+ number:"Prosím, vložte validní číslo",
44
+ minValue:"hodnota musí být větší než nebo rovná ",
45
+ maxValue:"hodnota musí být menší než nebo rovná ",
46
+ email: "není validní e-mail",
47
+ integer: "Prosím, vložte celé číslo",
48
+ date: "Prosím, vložte validní datum",
49
+ url: "není platnou URL. Vyžadován prefix ('http://' or 'https://')",
50
+ nodefined : " není definován!",
51
+ novalue : " je vyžadována návratová hodnota!",
52
+ customarray : "Custom function mělá vrátit pole!",
53
+ customfcheck : "Custom function by měla být přítomna v případě custom checking!"
54
+ }
55
+ },
56
+ view : {
57
+ caption: "Zobrazit záznam",
58
+ bClose: "Zavřít"
59
+ },
60
+ del : {
61
+ caption: "Smazat",
62
+ msg: "Smazat vybraný(é) záznam(y)?",
63
+ bSubmit: "Smazat",
64
+ bCancel: "Storno"
65
+ },
66
+ nav : {
67
+ edittext: " ",
68
+ edittitle: "Editovat vybraný řádek",
69
+ addtext:" ",
70
+ addtitle: "Přidat nový řádek",
71
+ deltext: " ",
72
+ deltitle: "Smazat vybraný záznam ",
73
+ searchtext: " ",
74
+ searchtitle: "Najít záznamy",
75
+ refreshtext: "",
76
+ refreshtitle: "Obnovit tabulku",
77
+ alertcap: "Varování",
78
+ alerttext: "Prosím, vyberte řádek",
79
+ viewtext: "",
80
+ viewtitle: "Zobrazit vybraný řádek"
81
+ },
82
+ col : {
83
+ caption: "Zobrazit/Skrýt sloupce",
84
+ bSubmit: "Uložit",
85
+ bCancel: "Storno"
86
+ },
87
+ errors : {
88
+ errcap : "Chyba",
89
+ nourl : "Není nastavena url",
90
+ norecords: "Žádné záznamy ke zpracování",
91
+ model : "Délka 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
+ "Ne", "Po", "Út", "St", "Čt", "", "So",
100
+ "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"
101
+ ],
102
+ monthNames: [
103
+ "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro",
104
+ "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"
105
+ ],
106
+ AmPm : ["do","od","DO","OD"],
107
+ S: function (j) {
108
+ return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'
109
+ },
110
+ srcformat: 'Y-m-d',
111
+ newformat: 'd/m/Y',
112
+ masks : {
113
+ ISO8601Long:"Y-m-d H:i:s",
114
+ ISO8601Short:"Y-m-d",
115
+ ShortDate: "n/j/Y",
116
+ LongDate: "l, F d, Y",
117
+ FullDateTime: "l, F d, Y g:i:s A",
118
+ MonthDay: "F d",
119
+ ShortTime: "g:i A",
120
+ LongTime: "g:i:s A",
121
+ SortableDateTime: "Y-m-d\\TH:i:s",
122
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
123
+ YearMonth: "F, Y"
124
+ },
125
+ reformatAfterEdit : false
126
+ },
127
+ baseLinkUrl: '',
128
+ showAction: '',
129
+ target: '',
130
+ checkbox : {disabled:true},
131
+ idName : 'id'
132
+ }
133
+ };
128
134
  })(jQuery);