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.
- data/README.md +54 -37
- data/VERSION.yml +1 -1
- data/lib/handle_attributes.rb +4 -4
- data/lib/handle_js_files.rb +5 -5
- data/lib/jqtouch_theme.rb +2 -2
- data/lib/jquery/dynatree.rb +2 -2
- data/lib/jquery/emulators.rb +1 -1
- data/lib/jquery/flash_messages.rb +6 -6
- data/lib/jquery/graphics.rb +5 -0
- data/lib/jquery/gridify/assertions.rb +1 -1
- data/lib/jquery/gridify/grid.rb +76 -59
- data/lib/jquery/gridify/grid_column.rb +73 -67
- data/lib/jquery/gridify/grid_finder.rb +79 -79
- data/lib/jquery/gridify/grid_options.rb +154 -149
- data/lib/jquery/gridify/grid_view.rb +143 -143
- data/lib/jquery/gridify.rb +25 -25
- data/lib/jquery/ical/calendar.rb +2 -2
- data/lib/jquery/ical/event.rb +48 -44
- data/lib/jquery/ical/helpers/ui_event_helper.rb +3 -3
- data/lib/jquery/jqgrid/jqgrid.rb +58 -58
- data/lib/jquery/jqgrid.rb +1 -1
- data/lib/jquery/jqtouch.rb +1 -1
- data/lib/jquery/jquery.rb +117 -117
- data/lib/jquery/jquery_auto_complete.rb +9 -9
- data/lib/jquery/jquery_json_response.rb +12 -12
- data/lib/jquery/jquery_selector_assertions.rb +55 -53
- data/lib/jquery/jstree.rb +2 -2
- data/lib/jquery/mobile.rb +1 -1
- data/lib/jquery/ribbon.rb +2 -2
- data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +5 -5
- data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +5 -5
- data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +1 -1
- data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +39 -39
- data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +74 -74
- data/lib/jquery/secret_sauce/model/find_for_grid.rb +21 -21
- data/lib/jquery/secret_sauce.rb +1 -1
- data/lib/jquery/tools.rb +1 -1
- data/lib/jquery_mobile_theme.rb +2 -2
- data/lib/jquery_ui_theme.rb +12 -12
- data/templates/dynatree/config/initializers/dynatree.rb +3 -3
- data/templates/dynatree/jquery/dynatree/aero.scss +16 -16
- data/templates/dynatree/jquery/dynatree/aqua.scss +16 -16
- data/templates/dynatree/jquery/dynatree/crystal.scss +16 -16
- data/templates/dynatree/jquery/dynatree/xp.scss +17 -17
- data/templates/dynatree/jquery.dynatree.js +2926 -2912
- data/templates/emulators/config/initializers/emulators.rb +6 -6
- data/templates/graphics/config/initializers/graphics.rb +5 -0
- data/templates/graphics/jquery/ganttView.scss +89 -0
- data/templates/graphics/jquery.ganttView.js +1669 -0
- data/templates/graphics/jquery.ganttView.min.js +70 -0
- data/templates/{jquery → graphics}/jquery.sparkline.js +466 -438
- data/templates/{jquery → graphics}/jquery.sparkline.min.js +0 -0
- data/templates/graphics/manifest.rb +9 -0
- data/templates/jqgrid/config/initializers/jqgrid.rb +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ar.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +135 -131
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +135 -131
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-cn.js +137 -131
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-da.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +138 -132
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-es.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +19 -16
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-gl.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-hu.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +8 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ja.js +139 -136
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +4 -1
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +14 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +130 -124
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +144 -138
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-sk.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-sr.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +132 -126
- data/templates/jqgrid/jquery.jqGrid.js +12735 -10444
- data/templates/jqgrid/jquery.jqGrid.min.js +477 -469
- data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +12 -10
- data/templates/jqtouch/config/initializers/jqtouch.rb +3 -3
- data/templates/jqtouch/jquery/touch/jqtouch.scss +1 -1
- data/templates/jqtouch/jquery.jqtouch.js +10025 -10043
- data/templates/jquery/config/initializers/jquery.rb +2 -4
- data/templates/jquery/history.adapter.jquery.js +71 -0
- data/templates/jquery/history.adapter.jquery.min.js +4 -0
- data/templates/jquery/history.html4.js +690 -0
- data/templates/jquery/history.html4.min.js +21 -0
- data/templates/jquery/history.js +1297 -0
- data/templates/jquery/history.min.js +29 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-af.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-az.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-bg.js +8 -8
- data/templates/jquery/i18n/jquery.ui/datepicker-bs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ca.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-cs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-da.js +14 -14
- data/templates/jquery/i18n/jquery.ui/datepicker-de.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-el.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-GB.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-eo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-es.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-et.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-eu.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fa.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-fi.js +15 -15
- data/templates/jquery/i18n/jquery.ui/datepicker-fo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr-CH.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +22 -22
- data/templates/jquery/i18n/jquery.ui/datepicker-gl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-he.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-hy.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-id.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-is.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-it.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ja.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ko.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-kz.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-lt.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-lv.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ms.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-no.js +16 -16
- data/templates/jquery/i18n/jquery.ui/datepicker-no.min.js +2 -2
- data/templates/jquery/i18n/jquery.ui/datepicker-pl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-pt-BR.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-pt.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-ro.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ru.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sq.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr-SR.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sv.js +14 -14
- data/templates/jquery/i18n/jquery.ui/datepicker-ta.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-th.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-tr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-uk.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-vi.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-CN.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-HK.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-TW.js +20 -20
- data/templates/jquery/{partials → jquery/ui}/_flash_messages.scss +0 -0
- data/templates/jquery/jquery/ui/_theme.scss +14 -13
- data/templates/jquery/jquery/ui/contextMenu/configure.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/copy.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/cut.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/delete.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/edit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/exit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/new.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/paste.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/rename.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/show.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/trash.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu.scss +16 -10
- data/templates/jquery/jquery-ui.js +11839 -23066
- data/templates/jquery/jquery-ui.min.js +401 -795
- data/templates/jquery/jquery.bgiframe.js +27 -25
- data/templates/jquery/jquery.contextMenu.js +209 -196
- data/templates/jquery/jquery.cookie.js +3 -1
- data/templates/jquery/jquery.dotimeout.js +236 -228
- data/templates/jquery/jquery.dst.js +154 -151
- data/templates/jquery/jquery.farbtastic.js +293 -293
- data/templates/jquery/jquery.flashMessages.js +26 -0
- data/templates/jquery/jquery.flashMessages.min.js +1 -0
- data/templates/jquery/jquery.form.js +803 -786
- data/templates/jquery/jquery.haml.js +248 -247
- data/templates/jquery/jquery.hotkeys.js +89 -89
- data/templates/jquery/jquery.js +8141 -8106
- data/templates/jquery/jquery.layout.js +2451 -2415
- data/templates/jquery/jquery.min.js +167 -166
- data/templates/jquery/jquery.mousewheel.js +62 -54
- data/templates/jquery/jquery.offline.js +171 -171
- data/templates/jquery/jquery.pngFix.js +76 -76
- data/templates/jquery/jquery.replacetext.js +83 -83
- data/templates/jquery/jquery.themeswitchertool.js +202 -177
- data/templates/jquery/jquery.tmpl.js +478 -473
- data/templates/jquery/jquery.tmplPlus.js +82 -81
- data/templates/jquery/jrails.js +178 -175
- data/templates/jquery/json.js +77 -7
- data/templates/jquery/json2.js +480 -0
- data/templates/jquery/json2.min.js +7 -0
- data/templates/jquery/lib/tasks/haml.rake +2 -2
- data/templates/jquery/manifest.rb +21 -17
- data/templates/jstree/jquery.jstree.js +5967 -4536
- data/templates/mobile/config/initializers/mobile.rb +1 -1
- data/templates/mobile/jquery/mobile/_base.scss +944 -927
- data/templates/mobile/jquery/mobile/default.scss +61 -48
- data/templates/mobile/jquery/mobile/valencia.scss +56 -42
- data/templates/mobile/jquery.mobile.js +4461 -4347
- data/templates/mobile/jquery.mobile.min.js +11 -2
- data/templates/mobile/lib/tasks/jquery.mobile.rake +12 -12
- data/templates/ribbon/config/initializers/ribbon.rb +2 -2
- data/templates/ribbon/jquery.ribbon.js +50 -29
- data/templates/secret_sauce/secret_sauce.js +8 -8
- data/templates/tools/flowplayer.js +945 -1
- data/templates/tools/jquery.tools.js +4645 -4335
- data/templates/tools/jquery.tools.min.js +37 -37
- data/templates/tools/lib/tasks/jquery.tools.rake +4 -4
- data/templates/tools/swfobject.js +813 -773
- metadata +33 -21
- data/templates/jquery/haml.js +0 -506
- data/templates/jquery/haml.min.js +0 -5
- data/templates/jquery/jquery/ui/contextMenu/door.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_copy.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_delete.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_edit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_new.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_paste.png +0 -0
- data/templates/jquery/jquery.compat-1.3.js +0 -291
- data/templates/jquery/jquery.compat-1.3.min.js +0 -6
- data/templates/jquery/jquery.flash_messages.js +0 -5
- data/templates/jquery/jquery.flash_messages.min.js +0 -1
- data/templates/jquery/jquery.history.js +0 -194
- data/templates/jquery/jquery.history.min.js +0 -5
@@ -1,125 +1,131 @@
|
|
1
|
-
;
|
2
|
-
|
3
|
-
|
4
|
-
*
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
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 obrigat�rio",
|
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", "Ter�a-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
|
-
;
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
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: "Vă rugăm introduceți un număr valid",
|
47
|
+
date: "Vă rugăm să 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);
|