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,125 +1,131 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Portuguese Translation
4
- * Tradu��o da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
5
- * Dual licensed under the MIT and GPL licenses:
6
- * http://www.opensource.org/licenses/mit-license.php
7
- * http://www.gnu.org/licenses/gpl.html
8
- **/
9
- $.jgrid = {
10
- defaults : {
11
- recordtext: "View {0} - {1} of {2}",
12
- emptyrecords: "No records to view",
13
- loadtext: "A carregar...",
14
- pgtext : "Page {0} of {1}"
15
- },
16
- search : {
17
- caption: "Busca...",
18
- Find: "Procurar",
19
- Reset: "Limpar",
20
- 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'],
21
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
22
- matchText: " match",
23
- rulesText: " rules"
24
- },
25
- edit : {
26
- addCaption: "Adicionar Registo",
27
- editCaption: "Modificar Registo",
28
- bSubmit: "Submeter",
29
- bCancel: "Cancelar",
30
- bClose: "Fechar",
31
- saveData: "Data has been changed! Save changes?",
32
- bYes : "Yes",
33
- bNo : "No",
34
- bExit : "Cancel",
35
- msg: {
36
- required:"Campo obrigat�rio",
37
- number:"Por favor, introduza um numero",
38
- minValue:"O valor deve ser maior ou igual que",
39
- maxValue:"O valor deve ser menor ou igual a",
40
- email: "N�o um endere�o de email v�lido",
41
- integer: "Por favor, introduza um numero inteiro",
42
- url: "is not a valid URL. Prefix required ('http://' or 'https://')",
43
- nodefined : " is not defined!",
44
- novalue : " return value is required!",
45
- customarray : "Custom function should return array!",
46
- customfcheck : "Custom function should be present in case of custom checking!"
47
- }
48
- },
49
- view : {
50
- caption: "View Record",
51
- bClose: "Close"
52
- },
53
- del : {
54
- caption: "Eliminar",
55
- msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
56
- bSubmit: "Eliminar",
57
- bCancel: "Cancelar"
58
- },
59
- nav : {
60
- edittext: " ",
61
- edittitle: "Modificar registo seleccionado",
62
- addtext:" ",
63
- addtitle: "Adicionar novo registo",
64
- deltext: " ",
65
- deltitle: "Eliminar registo seleccionado",
66
- searchtext: " ",
67
- searchtitle: "Procurar",
68
- refreshtext: "",
69
- refreshtitle: "Actualizar",
70
- alertcap: "Aviso",
71
- alerttext: "Por favor, seleccione um registo",
72
- viewtext: "",
73
- viewtitle: "View selected row"
74
- },
75
- col : {
76
- caption: "Mostrar/Ocultar Colunas",
77
- bSubmit: "Enviar",
78
- bCancel: "Cancelar"
79
- },
80
- errors : {
81
- errcap : "Erro",
82
- nourl : "N�o especificou um url",
83
- norecords: "N�o existem dados para processar",
84
- model : "Tamanho do colNames <> 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
- "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
93
- "Domingo", "Segunda-Feira", "Ter�a-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado"
94
- ],
95
- monthNames: [
96
- "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
97
- "Janeiro", "Fevereiro", "Maro", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
98
- ],
99
- AmPm : ["am","pm","AM","PM"],
100
- S: function (j) {return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'},
101
- srcformat: 'Y-m-d',
102
- newformat: 'd/m/Y',
103
- masks : {
104
- ISO8601Long:"Y-m-d H:i:s",
105
- ISO8601Short:"Y-m-d",
106
- ShortDate: "n/j/Y",
107
- LongDate: "l, F d, Y",
108
- FullDateTime: "l, F d, Y g:i:s A",
109
- MonthDay: "F d",
110
- ShortTime: "g:i A",
111
- LongTime: "g:i:s A",
112
- SortableDateTime: "Y-m-d\\TH:i:s",
113
- UniversalSortableDateTime: "Y-m-d H:i:sO",
114
- YearMonth: "F, Y"
115
- },
116
- reformatAfterEdit : false
117
- },
118
- baseLinkUrl: '',
119
- showAction: '',
120
- target: '',
121
- checkbox : {disabled:true},
122
- idName : 'id'
123
- }
124
- };
1
+ ;
2
+ (function($) {
3
+ /**
4
+ * jqGrid Portuguese Translation
5
+ * Tradu��o da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = {
11
+ defaults : {
12
+ recordtext: "View {0} - {1} of {2}",
13
+ emptyrecords: "No records to view",
14
+ loadtext: "A carregar...",
15
+ pgtext : "Page {0} of {1}"
16
+ },
17
+ search : {
18
+ caption: "Busca...",
19
+ Find: "Procurar",
20
+ Reset: "Limpar",
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: [
23
+ { op: "AND", text: "all" },
24
+ { op: "OR", text: "any" }
25
+ ],
26
+ matchText: " match",
27
+ rulesText: " rules"
28
+ },
29
+ edit : {
30
+ addCaption: "Adicionar Registo",
31
+ editCaption: "Modificar Registo",
32
+ bSubmit: "Submeter",
33
+ bCancel: "Cancelar",
34
+ bClose: "Fechar",
35
+ saveData: "Data has been changed! Save changes?",
36
+ bYes : "Yes",
37
+ bNo : "No",
38
+ bExit : "Cancel",
39
+ msg: {
40
+ required:"Campo obrigatrio",
41
+ number:"Por favor, introduza um numero",
42
+ minValue:"O valor deve ser maior ou igual que",
43
+ maxValue:"O valor deve ser menor ou igual a",
44
+ email: "N�o um endere�o de email v�lido",
45
+ integer: "Por favor, introduza um numero inteiro",
46
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
47
+ nodefined : " is not defined!",
48
+ novalue : " return value is required!",
49
+ customarray : "Custom function should return array!",
50
+ customfcheck : "Custom function should be present in case of custom checking!"
51
+ }
52
+ },
53
+ view : {
54
+ caption: "View Record",
55
+ bClose: "Close"
56
+ },
57
+ del : {
58
+ caption: "Eliminar",
59
+ msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
60
+ bSubmit: "Eliminar",
61
+ bCancel: "Cancelar"
62
+ },
63
+ nav : {
64
+ edittext: " ",
65
+ edittitle: "Modificar registo seleccionado",
66
+ addtext:" ",
67
+ addtitle: "Adicionar novo registo",
68
+ deltext: " ",
69
+ deltitle: "Eliminar registo seleccionado",
70
+ searchtext: " ",
71
+ searchtitle: "Procurar",
72
+ refreshtext: "",
73
+ refreshtitle: "Actualizar",
74
+ alertcap: "Aviso",
75
+ alerttext: "Por favor, seleccione um registo",
76
+ viewtext: "",
77
+ viewtitle: "View selected row"
78
+ },
79
+ col : {
80
+ caption: "Mostrar/Ocultar Colunas",
81
+ bSubmit: "Enviar",
82
+ bCancel: "Cancelar"
83
+ },
84
+ errors : {
85
+ errcap : "Erro",
86
+ nourl : "N�o especificou um url",
87
+ norecords: "N�o existem dados para processar",
88
+ model : "Tamanho do colNames <> colModel!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
92
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94
+ date : {
95
+ dayNames: [
96
+ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
97
+ "Domingo", "Segunda-Feira", "Tera-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado"
98
+ ],
99
+ monthNames: [
100
+ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
101
+ "Janeiro", "Fevereiro", "Mar�o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {
105
+ return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'
106
+ },
107
+ srcformat: 'Y-m-d',
108
+ newformat: 'd/m/Y',
109
+ masks : {
110
+ ISO8601Long:"Y-m-d H:i:s",
111
+ ISO8601Short:"Y-m-d",
112
+ ShortDate: "n/j/Y",
113
+ LongDate: "l, F d, Y",
114
+ FullDateTime: "l, F d, Y g:i:s A",
115
+ MonthDay: "F d",
116
+ ShortTime: "g:i A",
117
+ LongTime: "g:i:s A",
118
+ SortableDateTime: "Y-m-d\\TH:i:s",
119
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
120
+ YearMonth: "F, Y"
121
+ },
122
+ reformatAfterEdit : false
123
+ },
124
+ baseLinkUrl: '',
125
+ showAction: '',
126
+ target: '',
127
+ checkbox : {disabled:true},
128
+ idName : 'id'
129
+ }
130
+ };
125
131
  })(jQuery);
@@ -1,139 +1,145 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Romanian Translation
4
- * Alexandru Emil Lupu contact@alecslupu.ro
5
- * http://www.alecslupu.ro/
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: "Vizualizare {0} - {1} din {2}",
13
- emptyrecords: "Nu există înregistrări de vizualizat",
14
- loadtext: "Încărcare...",
15
- pgtext : "Pagina {0} din {1}"
16
- },
17
- search : {
18
- caption: "Caută...",
19
- Find: "Caută",
20
- Reset: "Resetare",
21
- odata : ['egal', 'diferit', 'mai mic', 'mai mic sau egal','mai mare','mai mare sau egal', 'începe cu','nu începe cu','se găsește în','nu se găsește în','se termină cu','nu se termină cu','conține',''],
22
- groupOps: [ { op: "AND", text: "toate" }, { op: "OR", text: "oricare" } ],
23
- matchText: " găsite",
24
- rulesText: " reguli"
25
- },
26
- edit : {
27
- addCaption: "Adăugare înregistrare",
28
- editCaption: "Modificare înregistrare",
29
- bSubmit: "Salvează",
30
- bCancel: "Anulare",
31
- bClose: "Închide",
32
- saveData: "Informațiile au fost modificate! Salvați modificările?",
33
- bYes : "Da",
34
- bNo : "Nu",
35
- bExit : "Anulare",
36
- msg: {
37
- required:"Câmpul este obligatoriu",
38
- number:"Vă rugăm introduceți un număr valid",
39
- minValue:"valoarea trebuie sa fie mai mare sau egală cu",
40
- maxValue:"valoarea trebuie sa fie mai mică sau egală cu",
41
- email: "nu este o adresă de e-mail validă",
42
- integer: "Vă rugăm introduceți un număr valid",
43
- date: " rugăm introduceți o dată validă",
44
- url: "Nu este un URL valid. Prefixul este necesar('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: "Vizualizare înregistrare",
53
- bClose: "Închidere"
54
- },
55
- del : {
56
- caption: "Ștegere",
57
- msg: "Ștergeți înregistrarea (înregistrările) selectate?",
58
- bSubmit: "Șterge",
59
- bCancel: "Anulare"
60
- },
61
- nav : {
62
- edittext: "",
63
- edittitle: "Modifică rândul selectat",
64
- addtext:"",
65
- addtitle: "Adaugă rând nou",
66
- deltext: "",
67
- deltitle: "Șterge rândul selectat",
68
- searchtext: "",
69
- searchtitle: "Căutare înregistrări",
70
- refreshtext: "",
71
- refreshtitle: "Reîncarcare Grid",
72
- alertcap: "Avertisment",
73
- alerttext: " rugăm să selectați un rând",
74
- viewtext: "",
75
- viewtitle: "Vizualizează rândul selectat"
76
- },
77
- col : {
78
- caption: "Arată/Ascunde coloanele",
79
- bSubmit: "Salvează",
80
- bCancel: "Anulare"
81
- },
82
- errors : {
83
- errcap : "Eroare",
84
- nourl : "Niciun url nu este setat",
85
- norecords: "Nu sunt înregistrări de procesat",
86
- model : "Lungimea 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
- "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm",
95
- "Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"
96
- ],
97
- monthNames: [
98
- "Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec",
99
- "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"
100
- ],
101
- AmPm : ["am","pm","AM","PM"],
102
- /*
103
- Here is a problem in romanian:
104
- M / F
105
- 1st = primul / prima
106
- 2nd = Al doilea / A doua
107
- 3rd = Al treilea / A treia
108
- 4th = Al patrulea/ A patra
109
- 5th = Al cincilea / A cincea
110
- 6th = Al șaselea / A șasea
111
- 7th = Al șaptelea / A șaptea
112
- ....
113
- */
114
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
115
- srcformat: 'Y-m-d',
116
- newformat: 'd/m/Y',
117
- masks : {
118
- ISO8601Long:"Y-m-d H:i:s",
119
- ISO8601Short:"Y-m-d",
120
- ShortDate: "n/j/Y",
121
- LongDate: "l, F d, Y",
122
- FullDateTime: "l, F d, Y g:i:s A",
123
- MonthDay: "F d",
124
- ShortTime: "g:i A",
125
- LongTime: "g:i:s A",
126
- SortableDateTime: "Y-m-d\\TH:i:s",
127
- UniversalSortableDateTime: "Y-m-d H:i:sO",
128
- YearMonth: "F, Y"
129
- },
130
- reformatAfterEdit : false
131
- },
132
- baseLinkUrl: '',
133
- showAction: '',
134
- target: '',
135
- checkbox : {disabled:true},
136
- idName : 'id'
137
- }
138
- };
1
+ ;
2
+ (function($) {
3
+ /**
4
+ * jqGrid Romanian Translation
5
+ * Alexandru Emil Lupu contact@alecslupu.ro
6
+ * http://www.alecslupu.ro/
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: "Vizualizare {0} - {1} din {2}",
14
+ emptyrecords: "Nu există înregistrări de vizualizat",
15
+ loadtext: "Încărcare...",
16
+ pgtext : "Pagina {0} din {1}"
17
+ },
18
+ search : {
19
+ caption: "Caută...",
20
+ Find: "Caută",
21
+ Reset: "Resetare",
22
+ odata : ['egal', 'diferit', 'mai mic', 'mai mic sau egal','mai mare','mai mare sau egal', 'începe cu','nu începe cu','se găsește în','nu se găsește în','se termină cu','nu se termină cu','conține',''],
23
+ groupOps: [
24
+ { op: "AND", text: "toate" },
25
+ { op: "OR", text: "oricare" }
26
+ ],
27
+ matchText: " găsite",
28
+ rulesText: " reguli"
29
+ },
30
+ edit : {
31
+ addCaption: "Adăugare înregistrare",
32
+ editCaption: "Modificare înregistrare",
33
+ bSubmit: "Salvează",
34
+ bCancel: "Anulare",
35
+ bClose: "Închide",
36
+ saveData: "Informațiile au fost modificate! Salvați modificările?",
37
+ bYes : "Da",
38
+ bNo : "Nu",
39
+ bExit : "Anulare",
40
+ msg: {
41
+ required:"Câmpul este obligatoriu",
42
+ number:"Vă rugăm introduceți un număr valid",
43
+ minValue:"valoarea trebuie sa fie mai mare sau egală cu",
44
+ maxValue:"valoarea trebuie sa fie mai mică sau egală cu",
45
+ email: "nu este o adresă de e-mail validă",
46
+ integer: " rugăm introduceți un număr valid",
47
+ date: " rugăm introduceți o dată validă",
48
+ url: "Nu este un URL valid. Prefixul este necesar('http://' or 'https://')",
49
+ nodefined : " is not defined!",
50
+ novalue : " return value is required!",
51
+ customarray : "Custom function should return array!",
52
+ customfcheck : "Custom function should be present in case of custom checking!"
53
+ }
54
+ },
55
+ view : {
56
+ caption: "Vizualizare înregistrare",
57
+ bClose: "Închidere"
58
+ },
59
+ del : {
60
+ caption: "Ștegere",
61
+ msg: "Ștergeți înregistrarea (înregistrările) selectate?",
62
+ bSubmit: "Șterge",
63
+ bCancel: "Anulare"
64
+ },
65
+ nav : {
66
+ edittext: "",
67
+ edittitle: "Modifică rândul selectat",
68
+ addtext:"",
69
+ addtitle: "Adaugă rând nou",
70
+ deltext: "",
71
+ deltitle: "Șterge rândul selectat",
72
+ searchtext: "",
73
+ searchtitle: "Căutare înregistrări",
74
+ refreshtext: "",
75
+ refreshtitle: "Reîncarcare Grid",
76
+ alertcap: "Avertisment",
77
+ alerttext: "Vă rugăm să selectați un rând",
78
+ viewtext: "",
79
+ viewtitle: "Vizualizează rândul selectat"
80
+ },
81
+ col : {
82
+ caption: "Arată/Ascunde coloanele",
83
+ bSubmit: "Salvează",
84
+ bCancel: "Anulare"
85
+ },
86
+ errors : {
87
+ errcap : "Eroare",
88
+ nourl : "Niciun url nu este setat",
89
+ norecords: "Nu sunt înregistrări de procesat",
90
+ model : "Lungimea 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
+ "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm",
99
+ "Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"
100
+ ],
101
+ monthNames: [
102
+ "Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec",
103
+ "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"
104
+ ],
105
+ AmPm : ["am","pm","AM","PM"],
106
+ /*
107
+ Here is a problem in romanian:
108
+ M / F
109
+ 1st = primul / prima
110
+ 2nd = Al doilea / A doua
111
+ 3rd = Al treilea / A treia
112
+ 4th = Al patrulea/ A patra
113
+ 5th = Al cincilea / A cincea
114
+ 6th = Al șaselea / A șasea
115
+ 7th = Al șaptelea / A șaptea
116
+ ....
117
+ */
118
+ S: function (j) {
119
+ return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'
120
+ },
121
+ srcformat: 'Y-m-d',
122
+ newformat: 'd/m/Y',
123
+ masks : {
124
+ ISO8601Long:"Y-m-d H:i:s",
125
+ ISO8601Short:"Y-m-d",
126
+ ShortDate: "n/j/Y",
127
+ LongDate: "l, F d, Y",
128
+ FullDateTime: "l, F d, Y g:i:s A",
129
+ MonthDay: "F d",
130
+ ShortTime: "g:i A",
131
+ LongTime: "g:i:s A",
132
+ SortableDateTime: "Y-m-d\\TH:i:s",
133
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
134
+ YearMonth: "F, Y"
135
+ },
136
+ reformatAfterEdit : false
137
+ },
138
+ baseLinkUrl: '',
139
+ showAction: '',
140
+ target: '',
141
+ checkbox : {disabled:true},
142
+ idName : 'id'
143
+ }
144
+ };
139
145
  })(jQuery);