rails_jq_grid 0.0.3.pre2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/VERSION +1 -1
  2. data/public/javascripts/rails-jqgrid/Changes.txt +0 -0
  3. data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg.js +132 -1
  4. data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg1251.js +132 -1
  5. data/public/javascripts/rails-jqgrid/i18n/grid.locale-cat.js +128 -1
  6. data/public/javascripts/rails-jqgrid/i18n/grid.locale-cn.js +132 -1
  7. data/public/javascripts/rails-jqgrid/i18n/grid.locale-cs.js +128 -1
  8. data/public/javascripts/rails-jqgrid/i18n/grid.locale-da.js +128 -0
  9. data/public/javascripts/rails-jqgrid/i18n/grid.locale-de.js +133 -1
  10. data/public/javascripts/rails-jqgrid/i18n/grid.locale-el.js +126 -1
  11. data/public/javascripts/rails-jqgrid/i18n/grid.locale-en.js +128 -1
  12. data/public/javascripts/rails-jqgrid/i18n/grid.locale-es.js +128 -1
  13. data/public/javascripts/rails-jqgrid/i18n/grid.locale-fa.js +145 -1
  14. data/public/javascripts/rails-jqgrid/i18n/grid.locale-fi.js +130 -1
  15. data/public/javascripts/rails-jqgrid/i18n/grid.locale-fr.js +126 -1
  16. data/public/javascripts/rails-jqgrid/i18n/grid.locale-gl.js +126 -0
  17. data/public/javascripts/rails-jqgrid/i18n/grid.locale-he.js +127 -1
  18. data/public/javascripts/rails-jqgrid/i18n/grid.locale-hu.js +129 -1
  19. data/public/javascripts/rails-jqgrid/i18n/grid.locale-is.js +126 -1
  20. data/public/javascripts/rails-jqgrid/i18n/grid.locale-it.js +1 -1
  21. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ja.js +155 -1
  22. data/public/javascripts/rails-jqgrid/i18n/grid.locale-nl.js +149 -1
  23. data/public/javascripts/rails-jqgrid/i18n/grid.locale-no.js +1 -1
  24. data/public/javascripts/rails-jqgrid/i18n/grid.locale-pl.js +127 -1
  25. data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt-br.js +127 -1
  26. data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt.js +125 -1
  27. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ro.js +139 -1
  28. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ru.js +127 -1
  29. data/public/javascripts/rails-jqgrid/i18n/grid.locale-sk.js +127 -1
  30. data/public/javascripts/rails-jqgrid/i18n/grid.locale-sr.js +128 -0
  31. data/public/javascripts/rails-jqgrid/i18n/grid.locale-sv.js +127 -1
  32. data/public/javascripts/rails-jqgrid/i18n/grid.locale-tr.js +126 -1
  33. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ua.js +127 -1
  34. data/public/javascripts/rails-jqgrid/install.txt +0 -0
  35. data/public/javascripts/rails-jqgrid/jquery.jqGrid.min.js +445 -432
  36. data/public/javascripts/rails-jqgrid/src/JsonXml.js +329 -329
  37. data/public/javascripts/rails-jqgrid/src/css/ellipsis-xbl.xml +0 -0
  38. data/public/javascripts/rails-jqgrid/src/css/ui.jqgrid.css +139 -129
  39. data/public/javascripts/rails-jqgrid/src/css/ui.multiselect.css +0 -0
  40. data/public/javascripts/rails-jqgrid/src/grid.base.js +3078 -3003
  41. data/public/javascripts/rails-jqgrid/src/grid.celledit.js +486 -486
  42. data/public/javascripts/rails-jqgrid/src/grid.common.js +646 -636
  43. data/public/javascripts/rails-jqgrid/src/grid.custom.js +820 -817
  44. data/public/javascripts/rails-jqgrid/src/grid.formedit.js +1954 -1872
  45. data/public/javascripts/rails-jqgrid/src/grid.grouping.js +250 -0
  46. data/public/javascripts/rails-jqgrid/src/grid.import.js +200 -200
  47. data/public/javascripts/rails-jqgrid/src/grid.inlinedit.js +255 -250
  48. data/public/javascripts/rails-jqgrid/src/grid.jqueryui.js +504 -503
  49. data/public/javascripts/rails-jqgrid/src/grid.loader.js +1 -0
  50. data/public/javascripts/rails-jqgrid/src/grid.postext.js +63 -63
  51. data/public/javascripts/rails-jqgrid/src/grid.setcolumns.js +125 -125
  52. data/public/javascripts/rails-jqgrid/src/grid.subgrid.js +260 -260
  53. data/public/javascripts/rails-jqgrid/src/grid.tbltogrid.js +106 -106
  54. data/public/javascripts/rails-jqgrid/src/grid.treegrid.js +489 -482
  55. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg.js +132 -132
  56. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg1251.js +132 -132
  57. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cat.js +128 -128
  58. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cn.js +132 -132
  59. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cs.js +128 -128
  60. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-da.js +128 -0
  61. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-de.js +132 -127
  62. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-dk.js +0 -0
  63. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-el.js +126 -126
  64. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-en.js +128 -128
  65. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-es.js +128 -128
  66. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fa.js +145 -125
  67. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fi.js +130 -130
  68. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fr.js +2 -2
  69. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-gl.js +126 -0
  70. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-he.js +127 -127
  71. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-hu.js +129 -129
  72. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-is.js +126 -126
  73. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-it.js +0 -0
  74. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ja.js +155 -155
  75. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-nl.js +148 -148
  76. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-no.js +0 -0
  77. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pl.js +126 -126
  78. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt-br.js +127 -127
  79. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt.js +125 -125
  80. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ro.js +139 -139
  81. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ru.js +127 -127
  82. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sk.js +127 -127
  83. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sr.js +128 -0
  84. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sv.js +127 -127
  85. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-tr.js +126 -126
  86. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ua.js +127 -127
  87. data/public/javascripts/rails-jqgrid/src/jqDnR.js +68 -67
  88. data/public/javascripts/rails-jqgrid/src/jqModal.js +68 -68
  89. data/public/javascripts/rails-jqgrid/src/jquery.fmatter.js +563 -541
  90. data/public/javascripts/rails-jqgrid/src/jquery.searchFilter.js +1 -1
  91. data/public/javascripts/rails-jqgrid/src/ui.multiselect.js +0 -0
  92. data/public/stylesheets/rails-jqgrid/ellipsis-xbl.xml +0 -0
  93. data/public/stylesheets/rails-jqgrid/ui.jqgrid.css +139 -2
  94. data/rails_jq_grid.gemspec +10 -3
  95. metadata +15 -11
@@ -1,125 +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);
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);
@@ -1,139 +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);
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);