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,127 +1,127 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Polish Translation
4
- * Łukasz Schab
5
- * http://FreeTree.pl
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: "Pokaż {0} - {1} z {2}",
13
- emptyrecords: "Brak rekordów do pokazania",
14
- loadtext: "\u0142adowanie...",
15
- pgtext : "Strona {0} z {1}"
16
- },
17
- search : {
18
- caption: "Wyszukiwanie...",
19
- Find: "Szukaj",
20
- Reset: "Czyść",
21
- odata : ['dok\u0142adnie', 'różne od', 'mniejsze od', 'mniejsze lub równe','większe od','większe lub równe', 'zaczyna się od','nie zaczyna się od','zawiera','nie zawiera','kończy się na','nie kończy się na','zawiera','nie zawiera'],
22
- groupOps: [ { op: "ORAZ", text: "wszystkie" }, { op: "LUB", text: "każdy" } ],
23
- matchText: " pasuje",
24
- rulesText: " regu\u0142y"
25
- },
26
- edit : {
27
- addCaption: "Dodaj rekord",
28
- editCaption: "Edytuj rekord",
29
- bSubmit: "Zapisz",
30
- bCancel: "Anuluj",
31
- bClose: "Zamknij",
32
- saveData: "Dane zosta\u0142y zmienione! Zapisać zmiany?",
33
- bYes : "Tak",
34
- bNo : "Nie",
35
- bExit : "Anuluj",
36
- msg: {
37
- required:"Pole jest wymagane",
38
- number:"Proszę wpisać poprawną liczbę",
39
- minValue:"wartość musi być większa lub równa",
40
- maxValue:"wartość musi być mniejsza od",
41
- email: "nie jest adresem e-mail",
42
- integer: "Proszę wpisać poprawną liczbę",
43
- date: "Proszę podaj poprawną datę",
44
- url: "jest niew\u0142aściwym adresem URL. Pamiętaj o prefiksie ('http://' lub '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: "Pokaż rekord",
53
- bClose: "Zamknij"
54
- },
55
- del : {
56
- caption: "Usuwanie",
57
- msg: "Czy usunąć wybrany rekord(y)?",
58
- bSubmit: "Usuń",
59
- bCancel: "Anuluj"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "Edytuj wybrany wiersz",
64
- addtext:" ",
65
- addtitle: "Dodaj nowy wiersz",
66
- deltext: " ",
67
- deltitle: "Usuń wybrany wiersz",
68
- searchtext: " ",
69
- searchtitle: "Wyszukaj rekord",
70
- refreshtext: "",
71
- refreshtitle: "Prze\u0142aduj",
72
- alertcap: "Uwaga",
73
- alerttext: "Proszę wybrać wiersz",
74
- viewtext: "",
75
- viewtitle: "View selected row"
76
- },
77
- col : {
78
- caption: "Pokaż/Ukryj kolumny",
79
- bSubmit: "Zatwierdź",
80
- bCancel: "Anuluj"
81
- },
82
- errors : {
83
- errcap : "B\u0142ąd",
84
- nourl : "Brak adresu url",
85
- norecords: "Brak danych",
86
- model : "D\u0142ugość 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
- "Nie", "Pon", "Wt", "Śr", "Cz", "Pi", "So",
95
- "Niedziela", "Poniedzia\u0142ek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"
96
- ],
97
- monthNames: [
98
- "Sty", "Lu", "Mar", "Kwie", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru",
99
- "Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"
100
- ],
101
- AmPm : ["am","pm","AM","PM"],
102
- S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
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
- };
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Polish Translation
4
+ * Łukasz Schab
5
+ * http://FreeTree.pl
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: "Pokaż {0} - {1} z {2}",
13
+ emptyrecords: "Brak rekordów do pokazania",
14
+ loadtext: "\u0142adowanie...",
15
+ pgtext : "Strona {0} z {1}"
16
+ },
17
+ search : {
18
+ caption: "Wyszukiwanie...",
19
+ Find: "Szukaj",
20
+ Reset: "Czyść",
21
+ odata : ['dok\u0142adnie', 'różne od', 'mniejsze od', 'mniejsze lub równe','większe od','większe lub równe', 'zaczyna się od','nie zaczyna się od','zawiera','nie zawiera','kończy się na','nie kończy się na','zawiera','nie zawiera'],
22
+ groupOps: [ { op: "ORAZ", text: "wszystkie" }, { op: "LUB", text: "każdy" } ],
23
+ matchText: " pasuje",
24
+ rulesText: " regu\u0142y"
25
+ },
26
+ edit : {
27
+ addCaption: "Dodaj rekord",
28
+ editCaption: "Edytuj rekord",
29
+ bSubmit: "Zapisz",
30
+ bCancel: "Anuluj",
31
+ bClose: "Zamknij",
32
+ saveData: "Dane zosta\u0142y zmienione! Zapisać zmiany?",
33
+ bYes : "Tak",
34
+ bNo : "Nie",
35
+ bExit : "Anuluj",
36
+ msg: {
37
+ required:"Pole jest wymagane",
38
+ number:"Proszę wpisać poprawną liczbę",
39
+ minValue:"wartość musi być większa lub równa",
40
+ maxValue:"wartość musi być mniejsza od",
41
+ email: "nie jest adresem e-mail",
42
+ integer: "Proszę wpisać poprawną liczbę",
43
+ date: "Proszę podaj poprawną datę",
44
+ url: "jest niew\u0142aściwym adresem URL. Pamiętaj o prefiksie ('http://' lub '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: "Pokaż rekord",
53
+ bClose: "Zamknij"
54
+ },
55
+ del : {
56
+ caption: "Usuwanie",
57
+ msg: "Czy usunąć wybrany rekord(y)?",
58
+ bSubmit: "Usuń",
59
+ bCancel: "Anuluj"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Edytuj wybrany wiersz",
64
+ addtext:" ",
65
+ addtitle: "Dodaj nowy wiersz",
66
+ deltext: " ",
67
+ deltitle: "Usuń wybrany wiersz",
68
+ searchtext: " ",
69
+ searchtitle: "Wyszukaj rekord",
70
+ refreshtext: "",
71
+ refreshtitle: "Prze\u0142aduj",
72
+ alertcap: "Uwaga",
73
+ alerttext: "Proszę wybrać wiersz",
74
+ viewtext: "",
75
+ viewtitle: "View selected row"
76
+ },
77
+ col : {
78
+ caption: "Pokaż/Ukryj kolumny",
79
+ bSubmit: "Zatwierdź",
80
+ bCancel: "Anuluj"
81
+ },
82
+ errors : {
83
+ errcap : "B\u0142ąd",
84
+ nourl : "Brak adresu url",
85
+ norecords: "Brak danych",
86
+ model : "D\u0142ugość 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
+ "Nie", "Pon", "Wt", "Śr", "Cz", "Pi", "So",
95
+ "Niedziela", "Poniedzia\u0142ek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"
96
+ ],
97
+ monthNames: [
98
+ "Sty", "Lu", "Mar", "Kwie", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru",
99
+ "Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"
100
+ ],
101
+ AmPm : ["am","pm","AM","PM"],
102
+ S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
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
127
  })(jQuery);
@@ -1,127 +1,127 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Brazilian-Portuguese Translation
4
- * Sergio Righi sergio.righi@gmail.com
5
- * http://curve.com.br
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: "Ver {0} - {1} of {2}",
13
- emptyrecords: "Nenhum registro para visualizar",
14
- loadtext: "Carregando...",
15
- pgtext : "Página {0} de {1}"
16
- },
17
- search : {
18
- caption: "Procurar...",
19
- Find: "Procurar",
20
- Reset: "Resetar",
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: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23
- matchText: " iguala",
24
- rulesText: " regras"
25
- },
26
- edit : {
27
- addCaption: "Incluir",
28
- editCaption: "Alterar",
29
- bSubmit: "Enviar",
30
- bCancel: "Cancelar",
31
- bClose: "Fechar",
32
- saveData: "Os dados foram alterados! Salvar alterações?",
33
- bYes : "Sim",
34
- bNo : "Não",
35
- bExit : "Cancelar",
36
- msg: {
37
- required:"Campo obrigatório",
38
- number:"Por favor, informe um número válido",
39
- minValue:"valor deve ser igual ou maior que ",
40
- maxValue:"valor deve ser menor ou igual a",
41
- email: "este e-mail não é válido",
42
- integer: "Por favor, informe um valor inteiro",
43
- date: "Por favor, informe uma data válida",
44
- url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')",
45
- nodefined : " não está definido!",
46
- novalue : " um valor de retorno é obrigatório!",
47
- customarray : "Função customizada deve retornar um array!",
48
- customfcheck : "Função customizada deve estar presente em caso de validação customizada!"
49
- }
50
- },
51
- view : {
52
- caption: "Ver Registro",
53
- bClose: "Fechar"
54
- },
55
- del : {
56
- caption: "Apagar",
57
- msg: "Apagar registros selecionado(s)?",
58
- bSubmit: "Apagar",
59
- bCancel: "Cancelar"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "Alterar registro selecionado",
64
- addtext:" ",
65
- addtitle: "Incluir novo registro",
66
- deltext: " ",
67
- deltitle: "Apagar registro selecionado",
68
- searchtext: " ",
69
- searchtitle: "Procurar registros",
70
- refreshtext: "",
71
- refreshtitle: "Recarrgando Tabela",
72
- alertcap: "Aviso",
73
- alerttext: "Por favor, selecione um registro",
74
- viewtext: "",
75
- viewtitle: "Ver linha selecionada"
76
- },
77
- col : {
78
- caption: "Mostrar/Esconder Colunas",
79
- bSubmit: "Enviar",
80
- bCancel: "Cancelar"
81
- },
82
- errors : {
83
- errcap : "Erro",
84
- nourl : "Nenhuma URL defenida",
85
- norecords: "Sem registros para exibir",
86
- model : "Comprimento de 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: "R$ ", suffix:"", defaultValue: '0,00'},
92
- date : {
93
- dayNames: [
94
- "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
95
- "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"
96
- ],
97
- monthNames: [
98
- "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
99
- "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
100
- ],
101
- AmPm : ["am","pm","AM","PM"],
102
- S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'},
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);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Brazilian-Portuguese Translation
4
+ * Sergio Righi sergio.righi@gmail.com
5
+ * http://curve.com.br
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: "Ver {0} - {1} of {2}",
13
+ emptyrecords: "Nenhum registro para visualizar",
14
+ loadtext: "Carregando...",
15
+ pgtext : "Página {0} de {1}"
16
+ },
17
+ search : {
18
+ caption: "Procurar...",
19
+ Find: "Procurar",
20
+ Reset: "Resetar",
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: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23
+ matchText: " iguala",
24
+ rulesText: " regras"
25
+ },
26
+ edit : {
27
+ addCaption: "Incluir",
28
+ editCaption: "Alterar",
29
+ bSubmit: "Enviar",
30
+ bCancel: "Cancelar",
31
+ bClose: "Fechar",
32
+ saveData: "Os dados foram alterados! Salvar alterações?",
33
+ bYes : "Sim",
34
+ bNo : "Não",
35
+ bExit : "Cancelar",
36
+ msg: {
37
+ required:"Campo obrigatório",
38
+ number:"Por favor, informe um número válido",
39
+ minValue:"valor deve ser igual ou maior que ",
40
+ maxValue:"valor deve ser menor ou igual a",
41
+ email: "este e-mail não é válido",
42
+ integer: "Por favor, informe um valor inteiro",
43
+ date: "Por favor, informe uma data válida",
44
+ url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')",
45
+ nodefined : " não está definido!",
46
+ novalue : " um valor de retorno é obrigatório!",
47
+ customarray : "Função customizada deve retornar um array!",
48
+ customfcheck : "Função customizada deve estar presente em caso de validação customizada!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "Ver Registro",
53
+ bClose: "Fechar"
54
+ },
55
+ del : {
56
+ caption: "Apagar",
57
+ msg: "Apagar registros selecionado(s)?",
58
+ bSubmit: "Apagar",
59
+ bCancel: "Cancelar"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Alterar registro selecionado",
64
+ addtext:" ",
65
+ addtitle: "Incluir novo registro",
66
+ deltext: " ",
67
+ deltitle: "Apagar registro selecionado",
68
+ searchtext: " ",
69
+ searchtitle: "Procurar registros",
70
+ refreshtext: "",
71
+ refreshtitle: "Recarrgando Tabela",
72
+ alertcap: "Aviso",
73
+ alerttext: "Por favor, selecione um registro",
74
+ viewtext: "",
75
+ viewtitle: "Ver linha selecionada"
76
+ },
77
+ col : {
78
+ caption: "Mostrar/Esconder Colunas",
79
+ bSubmit: "Enviar",
80
+ bCancel: "Cancelar"
81
+ },
82
+ errors : {
83
+ errcap : "Erro",
84
+ nourl : "Nenhuma URL defenida",
85
+ norecords: "Sem registros para exibir",
86
+ model : "Comprimento de 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: "R$ ", suffix:"", defaultValue: '0,00'},
92
+ date : {
93
+ dayNames: [
94
+ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
95
+ "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"
96
+ ],
97
+ monthNames: [
98
+ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
99
+ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
100
+ ],
101
+ AmPm : ["am","pm","AM","PM"],
102
+ S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'},
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);