rails_jq_grid 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYRIGHT.txt +17 -0
- data/GPL-LICENSE +675 -0
- data/README.rdoc +176 -0
- data/Rakefile +47 -0
- data/VERSION +1 -0
- data/app/helpers/rails_jq_grid/jq_grid_css_helper.rb +29 -0
- data/app/helpers/rails_jq_grid/jq_grid_helper.rb +21 -0
- data/app/helpers/rails_jq_grid/jq_grid_js_helper.rb +30 -0
- data/app/models/rails_jq_grid/jq_grid.rb +315 -0
- data/app/models/rails_jq_grid/jq_grid_column.rb +33 -0
- data/app/models/rails_jq_grid/jq_grid_method_missing.rb +50 -0
- data/app/models/rails_jq_grid/jq_grid_option_or_method.rb +46 -0
- data/lib/rails_jq_grid/acts_as_jq_grid_able.rb +76 -0
- data/lib/rails_jq_grid/acts_as_jq_grid_data_source.rb +34 -0
- data/lib/rails_jq_grid/engine.rb +23 -0
- data/lib/rails_jq_grid.rb +7 -0
- data/lib/tasks/rails_jq_grid.rake +1 -0
- data/public/javascripts/rails-jqgrid/Changes.txt +1160 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg1251.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-cat.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-cn.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-cs.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-de.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-dk.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-el.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-en.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-es.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-fa.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-fi.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-fr.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-he.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-hu.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-is.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-it.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ja.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-nl.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-no.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-pl.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt-br.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ro.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ru.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-sk.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-sv.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-tr.js +1 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ua.js +1 -0
- data/public/javascripts/rails-jqgrid/install.txt +43 -0
- data/public/javascripts/rails-jqgrid/jquery-1.4.2.min.js +154 -0
- data/public/javascripts/rails-jqgrid/jquery-ui-1.8.4.custom.min.js +763 -0
- data/public/javascripts/rails-jqgrid/jquery.jqGrid.min.js +445 -0
- data/public/javascripts/rails-jqgrid/src/JsonXml.js +330 -0
- data/public/javascripts/rails-jqgrid/src/css/ellipsis-xbl.xml +13 -0
- data/public/javascripts/rails-jqgrid/src/css/jquery.searchFilter.css +7 -0
- data/public/javascripts/rails-jqgrid/src/css/ui.jqgrid.css +129 -0
- data/public/javascripts/rails-jqgrid/src/css/ui.multiselect.css +30 -0
- data/public/javascripts/rails-jqgrid/src/grid.base.js +3003 -0
- data/public/javascripts/rails-jqgrid/src/grid.celledit.js +486 -0
- data/public/javascripts/rails-jqgrid/src/grid.common.js +636 -0
- data/public/javascripts/rails-jqgrid/src/grid.custom.js +818 -0
- data/public/javascripts/rails-jqgrid/src/grid.formedit.js +1872 -0
- data/public/javascripts/rails-jqgrid/src/grid.import.js +201 -0
- data/public/javascripts/rails-jqgrid/src/grid.inlinedit.js +250 -0
- data/public/javascripts/rails-jqgrid/src/grid.jqueryui.js +503 -0
- data/public/javascripts/rails-jqgrid/src/grid.loader.js +47 -0
- data/public/javascripts/rails-jqgrid/src/grid.postext.js +64 -0
- data/public/javascripts/rails-jqgrid/src/grid.setcolumns.js +126 -0
- data/public/javascripts/rails-jqgrid/src/grid.subgrid.js +260 -0
- data/public/javascripts/rails-jqgrid/src/grid.tbltogrid.js +106 -0
- data/public/javascripts/rails-jqgrid/src/grid.treegrid.js +483 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg.js +132 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg1251.js +132 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cat.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cn.js +132 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cs.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-de.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-dk.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-el.js +126 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-en.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-es.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fa.js +125 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fi.js +130 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fr.js +126 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-he.js +127 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-hu.js +129 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-is.js +126 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-it.js +1 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ja.js +155 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-nl.js +149 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-no.js +1 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pl.js +127 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt-br.js +127 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt.js +125 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ro.js +139 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ru.js +127 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sk.js +127 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sv.js +127 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-tr.js +126 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ua.js +127 -0
- data/public/javascripts/rails-jqgrid/src/jqDnR.js +68 -0
- data/public/javascripts/rails-jqgrid/src/jqModal.js +69 -0
- data/public/javascripts/rails-jqgrid/src/jquery.fmatter.js +542 -0
- data/public/javascripts/rails-jqgrid/src/jquery.searchFilter.js +716 -0
- data/public/javascripts/rails-jqgrid/src/ui.multiselect.js +314 -0
- data/public/stylesheets/rails-jqgrid/ellipsis-xbl.xml +13 -0
- data/public/stylesheets/rails-jqgrid/themes/AUTHORS.txt +30 -0
- data/public/stylesheets/rails-jqgrid/themes/GPL-LICENSE.txt +278 -0
- data/public/stylesheets/rails-jqgrid/themes/MIT-LICENSE.txt +25 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/smoothness/jquery-ui-1.8.4.custom.css +572 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_056b93_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/start/jquery-ui-1.8.4.custom.css +573 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/stylesheets/rails-jqgrid/themes/ui-darkness/jquery-ui-1.8.4.custom.css +572 -0
- data/public/stylesheets/rails-jqgrid/themes/version.txt +1 -0
- data/public/stylesheets/rails-jqgrid/ui.jqgrid.css +2 -0
- data/rails_jq_grid.gemspec +200 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +8 -0
- metadata +240 -0
@@ -0,0 +1,125 @@
|
|
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", "Mar�o", "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
|
+
};
|
125
|
+
})(jQuery);
|
@@ -0,0 +1,139 @@
|
|
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: "Vă rugăm să 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: "Vă 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
|
+
};
|
139
|
+
})(jQuery);
|
@@ -0,0 +1,127 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru)
|
4
|
+
* Sergey Dyagovchenko
|
5
|
+
* http://d.sumy.ua
|
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: "Просмотр {0} - {1} из {2}",
|
13
|
+
emptyrecords: "Нет записей для просмотра",
|
14
|
+
loadtext: "Загрузка...",
|
15
|
+
pgtext : "Стр. {0} из {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Поиск...",
|
19
|
+
Find: "Найти",
|
20
|
+
Reset: "Сброс",
|
21
|
+
odata : ['равно', 'не равно', 'меньше', 'меньше или равно','больше','больше или равно', 'начинается с','не начинается с','находится в','не находится в','заканчивается на','не заканчивается на','содержит','не содержит'],
|
22
|
+
groupOps: [ { op: "AND", text: "все" }, { op: "OR", text: "любой" } ],
|
23
|
+
matchText: " совпадает",
|
24
|
+
rulesText: " правила"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Добавить запись",
|
28
|
+
editCaption: "Редактировать запись",
|
29
|
+
bSubmit: "Сохранить",
|
30
|
+
bCancel: "Отмена",
|
31
|
+
bClose: "Закрыть",
|
32
|
+
saveData: "Данные были измененны! Сохранить изменения?",
|
33
|
+
bYes : "Да",
|
34
|
+
bNo : "Нет",
|
35
|
+
bExit : "Отмена",
|
36
|
+
msg: {
|
37
|
+
required:"Поле является обязательным",
|
38
|
+
number:"Пожалуйста, введите правильное число",
|
39
|
+
minValue:"значение должно быть больше либо равно",
|
40
|
+
maxValue:"значение должно быть меньше либо равно",
|
41
|
+
email: "некорректное значение e-mail",
|
42
|
+
integer: "Пожалуйста, введите целое число",
|
43
|
+
date: "Пожалуйста, введите правильную дату",
|
44
|
+
url: "неверная ссылка. Необходимо ввести префикс ('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: "Просмотр записи",
|
53
|
+
bClose: "Закрыть"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Удалить",
|
57
|
+
msg: "Удалить выбранную запись(и)?",
|
58
|
+
bSubmit: "Удалить",
|
59
|
+
bCancel: "Отмена"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Редактировать выбранную запись",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Добавить новую запись",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Удалить выбранную запись",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Найти записи",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Обновить таблицу",
|
72
|
+
alertcap: "Внимание",
|
73
|
+
alerttext: "Пожалуйста, выберите запись",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Просмотреть выбранную запись"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Показать/скрыть столбцы",
|
79
|
+
bSubmit: "Сохранить",
|
80
|
+
bCancel: "Отмена"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Ошибка",
|
84
|
+
nourl : "URL не установлен",
|
85
|
+
norecords: "Нет записей для обработки",
|
86
|
+
model : "Число полей не соответствует числу столбцов таблицы!"
|
87
|
+
},
|
88
|
+
formatter : {
|
89
|
+
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
90
|
+
number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
|
91
|
+
currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
|
92
|
+
date : {
|
93
|
+
dayNames: [
|
94
|
+
"Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб",
|
95
|
+
"Воскресение", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек",
|
99
|
+
"Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'd.m.Y',
|
105
|
+
masks : {
|
106
|
+
ISO8601Long:"Y-m-d H:i:s",
|
107
|
+
ISO8601Short:"Y-m-d",
|
108
|
+
ShortDate: "n.j.Y",
|
109
|
+
LongDate: "l, F d, Y",
|
110
|
+
FullDateTime: "l, F d, Y G:i:s",
|
111
|
+
MonthDay: "F d",
|
112
|
+
ShortTime: "G:i",
|
113
|
+
LongTime: "G:i:s",
|
114
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
115
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
116
|
+
YearMonth: "F, Y"
|
117
|
+
},
|
118
|
+
reformatAfterEdit : false
|
119
|
+
},
|
120
|
+
baseLinkUrl: '',
|
121
|
+
showAction: '',
|
122
|
+
target: '',
|
123
|
+
checkbox : {disabled:true},
|
124
|
+
idName : 'id'
|
125
|
+
}
|
126
|
+
};
|
127
|
+
})(jQuery);
|
@@ -0,0 +1,127 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Slovak Translation
|
4
|
+
* Milan Cibulka
|
5
|
+
* http://trirand.com/blog/
|
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: "Zobrazených {0} - {1} z {2} záznamov",
|
13
|
+
emptyrecords: "Neboli nájdené žiadne záznamy",
|
14
|
+
loadtext: "Načítám...",
|
15
|
+
pgtext : "Strana {0} z {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Vyhľadávam...",
|
19
|
+
Find: "Hľadať",
|
20
|
+
Reset: "Reset",
|
21
|
+
odata : ['rovná sa', 'nerovná sa', 'menšie', 'menšie alebo rovnajúce sa','väčšie', 'väčšie alebo rovnajúce sa', 'začína s', 'nezačína s', 'je v', 'nie je v', 'končí s', 'nekončí s', 'obahuje', 'neobsahuje'],
|
22
|
+
groupOps: [ { op: "AND", text: "všetkých" }, { op: "OR", text: "niektorého z" } ],
|
23
|
+
matchText: " hľadať podla",
|
24
|
+
rulesText: " pravidiel"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Pridať záznam",
|
28
|
+
editCaption: "Editácia záznamov",
|
29
|
+
bSubmit: "Uložiť",
|
30
|
+
bCancel: "Storno",
|
31
|
+
bClose: "Zavrieť",
|
32
|
+
saveData: "Údaje boli zmenené! Uložiť zmeny?",
|
33
|
+
bYes : "Ano",
|
34
|
+
bNo : "Nie",
|
35
|
+
bExit : "Zrušiť",
|
36
|
+
msg: {
|
37
|
+
required:"Pole je požadované",
|
38
|
+
number:"Prosím, vložte valídne číslo",
|
39
|
+
minValue:"hodnota musí býť väčšia ako alebo rovná ",
|
40
|
+
maxValue:"hodnota musí býť menšia ako alebo rovná ",
|
41
|
+
email: "nie je valídny e-mail",
|
42
|
+
integer: "Prosím, vložte celé číslo",
|
43
|
+
date: "Prosím, vložte valídny dátum",
|
44
|
+
url: "nie je platnou URL. Požadovaný prefix ('http://' alebo 'https://')",
|
45
|
+
nodefined : " nie je definovaný!",
|
46
|
+
novalue : " je vyžadovaná návratová hodnota!",
|
47
|
+
customarray : "Custom function mala vrátiť pole!",
|
48
|
+
customfcheck : "Custom function by mala byť prítomná v prípade custom checking!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Zobraziť záznam",
|
53
|
+
bClose: "Zavrieť"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Zmazať",
|
57
|
+
msg: "Zmazať vybraný(é) záznam(y)?",
|
58
|
+
bSubmit: "Zmazať",
|
59
|
+
bCancel: "Storno"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Editovať vybraný riadok",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Pridať nový riadek",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Zmazať vybraný záznam ",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Nájsť záznamy",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Obnoviť tabuľku",
|
72
|
+
alertcap: "Varovanie",
|
73
|
+
alerttext: "Prosím, vyberte riadok",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Zobraziť vybraný riadok"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Zobrazit/Skrýť stĺpce",
|
79
|
+
bSubmit: "Uložiť",
|
80
|
+
bCancel: "Storno"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Chyba",
|
84
|
+
nourl : "Nie je nastavená url",
|
85
|
+
norecords: "Žiadne záznamy k spracovaniu",
|
86
|
+
model : "Dĺžka colNames <> colModel!"
|
87
|
+
},
|
88
|
+
formatter : {
|
89
|
+
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
90
|
+
number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
|
91
|
+
currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
|
92
|
+
date : {
|
93
|
+
dayNames: [
|
94
|
+
"Ne", "Po", "Ut", "St", "Št", "Pi", "So",
|
95
|
+
"Nedela", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatek", "Sobota"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec",
|
99
|
+
"Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"
|
100
|
+
],
|
101
|
+
AmPm : ["do","od","DO","OD"],
|
102
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'd/m/Y',
|
105
|
+
masks : {
|
106
|
+
ISO8601Long:"Y-m-d H:i:s",
|
107
|
+
ISO8601Short:"Y-m-d",
|
108
|
+
ShortDate: "n/j/Y",
|
109
|
+
LongDate: "l, F d, Y",
|
110
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
111
|
+
MonthDay: "F d",
|
112
|
+
ShortTime: "g:i A",
|
113
|
+
LongTime: "g:i:s A",
|
114
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
115
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
116
|
+
YearMonth: "F, Y"
|
117
|
+
},
|
118
|
+
reformatAfterEdit : false
|
119
|
+
},
|
120
|
+
baseLinkUrl: '',
|
121
|
+
showAction: '',
|
122
|
+
target: '',
|
123
|
+
checkbox : {disabled:true},
|
124
|
+
idName : 'id'
|
125
|
+
}
|
126
|
+
};
|
127
|
+
})(jQuery);
|
@@ -0,0 +1,127 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Swedish Translation
|
4
|
+
* Harald Normann harald.normann@wts.se, harald.normann@gmail.com
|
5
|
+
* http://www.worldteamsoftware.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: "Visar {0} - {1} av {2}",
|
13
|
+
emptyrecords: "Det finns inga poster att visa",
|
14
|
+
loadtext: "Laddar...",
|
15
|
+
pgtext : "Sida {0} av {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Sök Poster - Ange sökvillkor",
|
19
|
+
Find: "Sök",
|
20
|
+
Reset: "Nollställ Villkor",
|
21
|
+
odata : ['lika', 'ej lika', 'mindre', 'mindre eller lika','större','större eller lika', 'börjar med','börjar inte med','tillhör','tillhör inte','slutar med','slutar inte med','innehåller','innehåller inte'],
|
22
|
+
groupOps: [ { op: "AND", text: "alla" }, { op: "OR", text: "eller" } ],
|
23
|
+
matchText: " träff",
|
24
|
+
rulesText: " regler"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Ny Post",
|
28
|
+
editCaption: "Redigera Post",
|
29
|
+
bSubmit: "Spara",
|
30
|
+
bCancel: "Avbryt",
|
31
|
+
bClose: "Stäng",
|
32
|
+
saveData: "Data har ändrats! Spara förändringar?",
|
33
|
+
bYes : "Ja",
|
34
|
+
bNo : "Nej",
|
35
|
+
bExit : "Avbryt",
|
36
|
+
msg: {
|
37
|
+
required:"Fältet är obligatoriskt",
|
38
|
+
number:"Välj korrekt nummer",
|
39
|
+
minValue:"värdet måste vara större än eller lika med",
|
40
|
+
maxValue:"värdet måste vara mindre än eller lika med",
|
41
|
+
email: "är inte korrekt e-post adress",
|
42
|
+
integer: "Var god ange korrekt heltal",
|
43
|
+
date: "Var god ange korrekt datum",
|
44
|
+
url: "är inte en korrekt URL. Prefix måste anges ('http://' or 'https://')",
|
45
|
+
nodefined : " är inte definierad!",
|
46
|
+
novalue : " returvärde måste anges!",
|
47
|
+
customarray : "Custom funktion måste returnera en vektor!",
|
48
|
+
customfcheck : "Custom funktion måste finnas om Custom kontroll sker!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Visa Post",
|
53
|
+
bClose: "Stäng"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Radera",
|
57
|
+
msg: "Radera markerad(e) post(er)?",
|
58
|
+
bSubmit: "Radera",
|
59
|
+
bCancel: "Avbryt"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Redigera markerad rad",
|
64
|
+
addtext:"",
|
65
|
+
addtitle: "Skapa ny post",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Radera markerad rad",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Sök poster",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Uppdatera data",
|
72
|
+
alertcap: "Varning",
|
73
|
+
alerttext: "Ingen rad är markerad",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Visa markerad rad"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Välj Kolumner",
|
79
|
+
bSubmit: "OK",
|
80
|
+
bCancel: "Avbryt"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Fel",
|
84
|
+
nourl : "URL saknas",
|
85
|
+
norecords: "Det finns inga poster att bearbeta",
|
86
|
+
model : "Antal 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:"Kr", defaultValue: '0,00'},
|
92
|
+
date : {
|
93
|
+
dayNames: [
|
94
|
+
"Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör",
|
95
|
+
"Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
|
99
|
+
"Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"
|
100
|
+
],
|
101
|
+
AmPm : ["fm","em","FM","EM"],
|
102
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'Y-m-d',
|
105
|
+
masks : {
|
106
|
+
ISO8601Long:"Y-m-d H:i:s",
|
107
|
+
ISO8601Short:"Y-m-d",
|
108
|
+
ShortDate: "n/j/Y",
|
109
|
+
LongDate: "l, F d, Y",
|
110
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
111
|
+
MonthDay: "F d",
|
112
|
+
ShortTime: "g:i A",
|
113
|
+
LongTime: "g:i:s A",
|
114
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
115
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
116
|
+
YearMonth: "F, Y"
|
117
|
+
},
|
118
|
+
reformatAfterEdit : false
|
119
|
+
},
|
120
|
+
baseLinkUrl: '',
|
121
|
+
showAction: '',
|
122
|
+
target: '',
|
123
|
+
checkbox : {disabled:true},
|
124
|
+
idName : 'id'
|
125
|
+
}
|
126
|
+
};
|
127
|
+
})(jQuery);
|