rails_jq_grid 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. data/COPYRIGHT.txt +17 -0
  2. data/GPL-LICENSE +675 -0
  3. data/README.rdoc +176 -0
  4. data/Rakefile +47 -0
  5. data/VERSION +1 -0
  6. data/app/helpers/rails_jq_grid/jq_grid_css_helper.rb +29 -0
  7. data/app/helpers/rails_jq_grid/jq_grid_helper.rb +21 -0
  8. data/app/helpers/rails_jq_grid/jq_grid_js_helper.rb +30 -0
  9. data/app/models/rails_jq_grid/jq_grid.rb +315 -0
  10. data/app/models/rails_jq_grid/jq_grid_column.rb +33 -0
  11. data/app/models/rails_jq_grid/jq_grid_method_missing.rb +50 -0
  12. data/app/models/rails_jq_grid/jq_grid_option_or_method.rb +46 -0
  13. data/lib/rails_jq_grid/acts_as_jq_grid_able.rb +76 -0
  14. data/lib/rails_jq_grid/acts_as_jq_grid_data_source.rb +34 -0
  15. data/lib/rails_jq_grid/engine.rb +23 -0
  16. data/lib/rails_jq_grid.rb +7 -0
  17. data/lib/tasks/rails_jq_grid.rake +1 -0
  18. data/public/javascripts/rails-jqgrid/Changes.txt +1160 -0
  19. data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg.js +1 -0
  20. data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg1251.js +1 -0
  21. data/public/javascripts/rails-jqgrid/i18n/grid.locale-cat.js +1 -0
  22. data/public/javascripts/rails-jqgrid/i18n/grid.locale-cn.js +1 -0
  23. data/public/javascripts/rails-jqgrid/i18n/grid.locale-cs.js +1 -0
  24. data/public/javascripts/rails-jqgrid/i18n/grid.locale-de.js +1 -0
  25. data/public/javascripts/rails-jqgrid/i18n/grid.locale-dk.js +1 -0
  26. data/public/javascripts/rails-jqgrid/i18n/grid.locale-el.js +1 -0
  27. data/public/javascripts/rails-jqgrid/i18n/grid.locale-en.js +1 -0
  28. data/public/javascripts/rails-jqgrid/i18n/grid.locale-es.js +1 -0
  29. data/public/javascripts/rails-jqgrid/i18n/grid.locale-fa.js +1 -0
  30. data/public/javascripts/rails-jqgrid/i18n/grid.locale-fi.js +1 -0
  31. data/public/javascripts/rails-jqgrid/i18n/grid.locale-fr.js +1 -0
  32. data/public/javascripts/rails-jqgrid/i18n/grid.locale-he.js +1 -0
  33. data/public/javascripts/rails-jqgrid/i18n/grid.locale-hu.js +1 -0
  34. data/public/javascripts/rails-jqgrid/i18n/grid.locale-is.js +1 -0
  35. data/public/javascripts/rails-jqgrid/i18n/grid.locale-it.js +1 -0
  36. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ja.js +1 -0
  37. data/public/javascripts/rails-jqgrid/i18n/grid.locale-nl.js +1 -0
  38. data/public/javascripts/rails-jqgrid/i18n/grid.locale-no.js +1 -0
  39. data/public/javascripts/rails-jqgrid/i18n/grid.locale-pl.js +1 -0
  40. data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt-br.js +1 -0
  41. data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt.js +1 -0
  42. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ro.js +1 -0
  43. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ru.js +1 -0
  44. data/public/javascripts/rails-jqgrid/i18n/grid.locale-sk.js +1 -0
  45. data/public/javascripts/rails-jqgrid/i18n/grid.locale-sv.js +1 -0
  46. data/public/javascripts/rails-jqgrid/i18n/grid.locale-tr.js +1 -0
  47. data/public/javascripts/rails-jqgrid/i18n/grid.locale-ua.js +1 -0
  48. data/public/javascripts/rails-jqgrid/install.txt +43 -0
  49. data/public/javascripts/rails-jqgrid/jquery-1.4.2.min.js +154 -0
  50. data/public/javascripts/rails-jqgrid/jquery-ui-1.8.4.custom.min.js +763 -0
  51. data/public/javascripts/rails-jqgrid/jquery.jqGrid.min.js +445 -0
  52. data/public/javascripts/rails-jqgrid/src/JsonXml.js +330 -0
  53. data/public/javascripts/rails-jqgrid/src/css/ellipsis-xbl.xml +13 -0
  54. data/public/javascripts/rails-jqgrid/src/css/jquery.searchFilter.css +7 -0
  55. data/public/javascripts/rails-jqgrid/src/css/ui.jqgrid.css +129 -0
  56. data/public/javascripts/rails-jqgrid/src/css/ui.multiselect.css +30 -0
  57. data/public/javascripts/rails-jqgrid/src/grid.base.js +3003 -0
  58. data/public/javascripts/rails-jqgrid/src/grid.celledit.js +486 -0
  59. data/public/javascripts/rails-jqgrid/src/grid.common.js +636 -0
  60. data/public/javascripts/rails-jqgrid/src/grid.custom.js +818 -0
  61. data/public/javascripts/rails-jqgrid/src/grid.formedit.js +1872 -0
  62. data/public/javascripts/rails-jqgrid/src/grid.import.js +201 -0
  63. data/public/javascripts/rails-jqgrid/src/grid.inlinedit.js +250 -0
  64. data/public/javascripts/rails-jqgrid/src/grid.jqueryui.js +503 -0
  65. data/public/javascripts/rails-jqgrid/src/grid.loader.js +47 -0
  66. data/public/javascripts/rails-jqgrid/src/grid.postext.js +64 -0
  67. data/public/javascripts/rails-jqgrid/src/grid.setcolumns.js +126 -0
  68. data/public/javascripts/rails-jqgrid/src/grid.subgrid.js +260 -0
  69. data/public/javascripts/rails-jqgrid/src/grid.tbltogrid.js +106 -0
  70. data/public/javascripts/rails-jqgrid/src/grid.treegrid.js +483 -0
  71. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg.js +132 -0
  72. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg1251.js +132 -0
  73. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cat.js +128 -0
  74. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cn.js +132 -0
  75. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cs.js +128 -0
  76. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-de.js +128 -0
  77. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-dk.js +128 -0
  78. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-el.js +126 -0
  79. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-en.js +128 -0
  80. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-es.js +128 -0
  81. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fa.js +125 -0
  82. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fi.js +130 -0
  83. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fr.js +126 -0
  84. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-he.js +127 -0
  85. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-hu.js +129 -0
  86. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-is.js +126 -0
  87. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-it.js +1 -0
  88. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ja.js +155 -0
  89. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-nl.js +149 -0
  90. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-no.js +1 -0
  91. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pl.js +127 -0
  92. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt-br.js +127 -0
  93. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt.js +125 -0
  94. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ro.js +139 -0
  95. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ru.js +127 -0
  96. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sk.js +127 -0
  97. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sv.js +127 -0
  98. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-tr.js +126 -0
  99. data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ua.js +127 -0
  100. data/public/javascripts/rails-jqgrid/src/jqDnR.js +68 -0
  101. data/public/javascripts/rails-jqgrid/src/jqModal.js +69 -0
  102. data/public/javascripts/rails-jqgrid/src/jquery.fmatter.js +542 -0
  103. data/public/javascripts/rails-jqgrid/src/jquery.searchFilter.js +716 -0
  104. data/public/javascripts/rails-jqgrid/src/ui.multiselect.js +314 -0
  105. data/public/stylesheets/rails-jqgrid/ellipsis-xbl.xml +13 -0
  106. data/public/stylesheets/rails-jqgrid/themes/AUTHORS.txt +30 -0
  107. data/public/stylesheets/rails-jqgrid/themes/GPL-LICENSE.txt +278 -0
  108. data/public/stylesheets/rails-jqgrid/themes/MIT-LICENSE.txt +25 -0
  109. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  110. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  111. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  112. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  113. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  114. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  115. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  116. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  117. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  118. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  119. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  120. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  121. data/public/stylesheets/rails-jqgrid/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  122. data/public/stylesheets/rails-jqgrid/themes/smoothness/jquery-ui-1.8.4.custom.css +572 -0
  123. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
  124. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  125. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
  126. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  127. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  128. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  129. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  130. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  131. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  132. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
  133. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_056b93_256x240.png +0 -0
  134. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
  135. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
  136. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
  137. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
  138. data/public/stylesheets/rails-jqgrid/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
  139. data/public/stylesheets/rails-jqgrid/themes/start/jquery-ui-1.8.4.custom.css +573 -0
  140. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  141. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  142. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
  143. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  144. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  145. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  146. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  147. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  148. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  149. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
  150. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
  151. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
  152. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
  153. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
  154. data/public/stylesheets/rails-jqgrid/themes/ui-darkness/jquery-ui-1.8.4.custom.css +572 -0
  155. data/public/stylesheets/rails-jqgrid/themes/version.txt +1 -0
  156. data/public/stylesheets/rails-jqgrid/ui.jqgrid.css +2 -0
  157. data/rails_jq_grid.gemspec +200 -0
  158. data/spec/spec.opts +1 -0
  159. data/spec/spec_helper.rb +8 -0
  160. metadata +240 -0
@@ -0,0 +1,132 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Bulgarian Translation
4
+ * Tony Tomov tony@trirand.com
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: "{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: "�� � ������� ��. �����",
42
+ integer: "�������� ������� ���� �����",
43
+ date: "�������� ������� ����",
44
+ url: "e ��������� URL. �������� �� �������('http://' ��� 'https://')",
45
+ nodefined : " � ������������!",
46
+ novalue : " ������� ������� �� ��������!",
47
+ customarray : "������. ������� ������ �� ����� �����!",
48
+ customfcheck : "������������� ������� � ������������ ��� ���� ��� �������!"
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 : ["","","",""],
102
+ S: function (j) {
103
+ if(j==7 || j==8 || j== 27 || j== 28) {
104
+ return '��';
105
+ }
106
+ return ['��', '��', '��'][Math.min((j - 1) % 10, 2)];
107
+ },
108
+ srcformat: 'Y-m-d',
109
+ newformat: 'd/m/Y',
110
+ masks : {
111
+ ISO8601Long:"Y-m-d H:i:s",
112
+ ISO8601Short:"Y-m-d",
113
+ ShortDate: "n/j/Y",
114
+ LongDate: "l, F d, Y",
115
+ FullDateTime: "l, F d, Y g:i:s A",
116
+ MonthDay: "F d",
117
+ ShortTime: "g:i A",
118
+ LongTime: "g:i:s A",
119
+ SortableDateTime: "Y-m-d\\TH:i:s",
120
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
121
+ YearMonth: "F, Y"
122
+ },
123
+ reformatAfterEdit : false
124
+ },
125
+ baseLinkUrl: '',
126
+ showAction: '',
127
+ target: '',
128
+ checkbox : {disabled:true},
129
+ idName : 'id'
130
+ }
131
+ };
132
+ })(jQuery);
@@ -0,0 +1,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Catalan Translation
4
+ * Traducció jqGrid en Catatà per Faserline, S.L.
5
+ * http://www.faserline.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: "Mostrant {0} - {1} de {2}",
13
+ emptyrecords: "Sense registres que mostrar",
14
+ loadtext: "Carregant...",
15
+ pgtext : "Page {0} of {1}"
16
+ },
17
+ search : {
18
+ caption: "Cerca...",
19
+ Find: "Cercar",
20
+ Reset: "Buidar",
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: "tot" }, { op: "OR", text: "qualsevol" } ],
23
+ matchText: " match",
24
+ rulesText: " rules"
25
+ },
26
+ edit : {
27
+ addCaption: "Afegir registre",
28
+ editCaption: "Modificar registre",
29
+ bSubmit: "Guardar",
30
+ bCancel: "Cancelar",
31
+ bClose: "Tancar",
32
+ saveData: "Les dades han canviat. Guardar canvis?",
33
+ bYes : "Yes",
34
+ bNo : "No",
35
+ bExit : "Cancel",
36
+ msg: {
37
+ required:"Camp obligatori",
38
+ number:"Introdueixi un nombre",
39
+ minValue:"El valor ha de ser major o igual que ",
40
+ maxValue:"El valor ha de ser menor o igual a ",
41
+ email: "no és una direcció de correu vàlida",
42
+ integer: "Introdueixi un valor enter",
43
+ date: "Introdueixi una data correcta ",
44
+ url: "no és una URL vàlida. Prefix requerit ('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: "Veure registre",
53
+ bClose: "Tancar"
54
+ },
55
+ del : {
56
+ caption: "Eliminar",
57
+ msg: "¿Desitja eliminar els registres seleccionats?",
58
+ bSubmit: "Eliminar",
59
+ bCancel: "Cancelar"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Modificar fila seleccionada",
64
+ addtext:" ",
65
+ addtitle: "Agregar nova fila",
66
+ deltext: " ",
67
+ deltitle: "Eliminar fila seleccionada",
68
+ searchtext: " ",
69
+ searchtitle: "Cercar informació",
70
+ refreshtext: "",
71
+ refreshtitle: "Refrescar taula",
72
+ alertcap: "Avís",
73
+ alerttext: "Seleccioni una fila",
74
+ viewtext: " ",
75
+ viewtitle: "Veure fila seleccionada"
76
+ },
77
+ // setcolumns module
78
+ col : {
79
+ caption: "Mostrar/ocultar columnes",
80
+ bSubmit: "Enviar",
81
+ bCancel: "Cancelar"
82
+ },
83
+ errors : {
84
+ errcap : "Error",
85
+ nourl : "No s'ha especificat una URL",
86
+ norecords: "No hi ha dades per processar",
87
+ model : "Les columnes de noms són diferents de les columnes del model"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
96
+ "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
97
+ ],
98
+ monthNames: [
99
+ "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
100
+ "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
101
+ ],
102
+ AmPm : ["am","pm","AM","PM"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd-m-Y',
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "n/j/Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: 'show',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ };
128
+ })(jQuery);
@@ -0,0 +1,132 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Chinese Translation for v3.6
4
+ * waiting 2010.01.18
5
+ * http://waiting.javaeye.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
+ * update 2010.05.04
11
+ * add double u3000 SPACE for search:odata to fix SEARCH box display err when narrow width from only use of eq/ne/cn/in/lt/gt operator under IE6/7
12
+ **/
13
+ $.jgrid = {
14
+ defaults : {
15
+ recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
16
+ emptyrecords: "无数据显示",
17
+ loadtext: "读取中...",
18
+ pgtext : " {0} 共 {1} 页"
19
+ },
20
+ search : {
21
+ caption: "搜索...",
22
+ Find: "查找",
23
+ Reset: "重置",
24
+ odata : ['等于\u3000\u3000', '不等\u3000\u3000', '小于\u3000\u3000', '小于等于','大于\u3000\u3000','大于等于',
25
+ '开始于','不开始于','属于\u3000\u3000','不属于','结束于','不结束于','包含\u3000\u3000','不包含'],
26
+ groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
27
+ matchText: " 匹配",
28
+ rulesText: " 规则"
29
+ },
30
+ edit : {
31
+ addCaption: "添加记录",
32
+ editCaption: "编辑记录",
33
+ bSubmit: "提交",
34
+ bCancel: "取消",
35
+ bClose: "关闭",
36
+ saveData: "数据已改变,是否保存?",
37
+ bYes : "是",
38
+ bNo : "否",
39
+ bExit : "取消",
40
+ msg: {
41
+ required:"此字段必需",
42
+ number:"请输入有效数字",
43
+ minValue:"输值必须大于等于 ",
44
+ maxValue:"输值必须小于等于 ",
45
+ email: "这不是有效的e-mail地址",
46
+ integer: "请输入有效整数",
47
+ date: "请输入有效时间",
48
+ url: "无效网址。前缀必须为 ('http://' 或 'https://')",
49
+ nodefined : " 未定义!",
50
+ novalue : " 需要返回值!",
51
+ customarray : "自定义函数需要返回数组!",
52
+ customfcheck : "Custom function should be present in case of custom checking!"
53
+
54
+ }
55
+ },
56
+ view : {
57
+ caption: "查看记录",
58
+ bClose: "关闭"
59
+ },
60
+ del : {
61
+ caption: "删除",
62
+ msg: "删除所选记录?",
63
+ bSubmit: "删除",
64
+ bCancel: "取消"
65
+ },
66
+ nav : {
67
+ edittext: "",
68
+ edittitle: "编辑所选记录",
69
+ addtext:"",
70
+ addtitle: "添加新记录",
71
+ deltext: "",
72
+ deltitle: "删除所选记录",
73
+ searchtext: "",
74
+ searchtitle: "查找",
75
+ refreshtext: "",
76
+ refreshtitle: "刷新表格",
77
+ alertcap: "注意",
78
+ alerttext: "请选择记录",
79
+ viewtext: "",
80
+ viewtitle: "查看所选记录"
81
+ },
82
+ col : {
83
+ caption: "选择列",
84
+ bSubmit: "确定",
85
+ bCancel: "取消"
86
+ },
87
+ errors : {
88
+ errcap : "错误",
89
+ nourl : "没有设置url",
90
+ norecords: "没有要处理的记录",
91
+ model : "colNames 和 colModel 长度不等!"
92
+ },
93
+ formatter : {
94
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
95
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
96
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
97
+ date : {
98
+ dayNames: [
99
+ "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
100
+ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
101
+ ],
102
+ monthNames: [
103
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
104
+ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
105
+ ],
106
+ AmPm : ["am","pm","AM","PM"],
107
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
108
+ srcformat: 'Y-m-d',
109
+ newformat: 'm-d-Y',
110
+ masks : {
111
+ ISO8601Long:"Y-m-d H:i:s",
112
+ ISO8601Short:"Y-m-d",
113
+ ShortDate: "Y/j/n",
114
+ LongDate: "l, F d, Y",
115
+ FullDateTime: "l, F d, Y g:i:s A",
116
+ MonthDay: "F d",
117
+ ShortTime: "g:i A",
118
+ LongTime: "g:i:s A",
119
+ SortableDateTime: "Y-m-d\\TH:i:s",
120
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
121
+ YearMonth: "F, Y"
122
+ },
123
+ reformatAfterEdit : false
124
+ },
125
+ baseLinkUrl: '',
126
+ showAction: '',
127
+ target: '',
128
+ checkbox : {disabled:true},
129
+ idName : 'id'
130
+ }
131
+ };
132
+ })(jQuery);
@@ -0,0 +1,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Czech Translation
4
+ * Pavel Jirak pavel.jirak@jipas.cz
5
+ * doplnil Thomas Wagner xwagne01@stud.fit.vutbr.cz
6
+ * http://trirand.com/blog/
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: "Zobrazeno {0} - {1} z {2} záznamů",
14
+ emptyrecords: "Nenalezeny žádné záznamy",
15
+ loadtext: "Načítám...",
16
+ pgtext : "Strana {0} z {1}"
17
+ },
18
+ search : {
19
+ caption: "Vyhledávám...",
20
+ Find: "Hledat",
21
+ Reset: "Reset",
22
+ odata : ['rovno', 'nerovono', 'menší', 'menší nebo rovno','větší', 'větší nebo rovno', 'začíná s', 'nezačíná s', 'je v', 'není v', 'končí s', 'nekončí s', 'obahuje', 'neobsahuje'],
23
+ groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ],
24
+ matchText: " hledat podle",
25
+ rulesText: " pravidel"
26
+ },
27
+ edit : {
28
+ addCaption: "Přidat záznam",
29
+ editCaption: "Editace záznamu",
30
+ bSubmit: "Uložit",
31
+ bCancel: "Storno",
32
+ bClose: "Zavřít",
33
+ saveData: "Data byla změněna! Uložit změny?",
34
+ bYes : "Ano",
35
+ bNo : "Ne",
36
+ bExit : "Zrušit",
37
+ msg: {
38
+ required:"Pole je vyžadováno",
39
+ number:"Prosím, vložte validní číslo",
40
+ minValue:"hodnota musí být větší než nebo rovná ",
41
+ maxValue:"hodnota musí být menší než nebo rovná ",
42
+ email: "není validní e-mail",
43
+ integer: "Prosím, vložte celé číslo",
44
+ date: "Prosím, vložte validní datum",
45
+ url: "není platnou URL. Vyžadován prefix ('http://' or 'https://')",
46
+ nodefined : " není definován!",
47
+ novalue : " je vyžadována návratová hodnota!",
48
+ customarray : "Custom function mělá vrátit pole!",
49
+ customfcheck : "Custom function by měla být přítomna v případě custom checking!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Zobrazit záznam",
54
+ bClose: "Zavřít"
55
+ },
56
+ del : {
57
+ caption: "Smazat",
58
+ msg: "Smazat vybraný(é) záznam(y)?",
59
+ bSubmit: "Smazat",
60
+ bCancel: "Storno"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Editovat vybraný řádek",
65
+ addtext:" ",
66
+ addtitle: "Přidat nový řádek",
67
+ deltext: " ",
68
+ deltitle: "Smazat vybraný záznam ",
69
+ searchtext: " ",
70
+ searchtitle: "Najít záznamy",
71
+ refreshtext: "",
72
+ refreshtitle: "Obnovit tabulku",
73
+ alertcap: "Varování",
74
+ alerttext: "Prosím, vyberte řádek",
75
+ viewtext: "",
76
+ viewtitle: "Zobrazit vybraný řádek"
77
+ },
78
+ col : {
79
+ caption: "Zobrazit/Skrýt sloupce",
80
+ bSubmit: "Uložit",
81
+ bCancel: "Storno"
82
+ },
83
+ errors : {
84
+ errcap : "Chyba",
85
+ nourl : "Není nastavena url",
86
+ norecords: "Žádné záznamy ke zpracování",
87
+ model : "Délka colNames <> colModel!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93
+ date : {
94
+ dayNames: [
95
+ "Ne", "Po", "Út", "St", "Čt", "Pá", "So",
96
+ "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"
97
+ ],
98
+ monthNames: [
99
+ "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro",
100
+ "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"
101
+ ],
102
+ AmPm : ["do","od","DO","OD"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd/m/Y',
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "n/j/Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ };
128
+ })(jQuery);
@@ -0,0 +1,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid German Translation
4
+ * Version 1.0.0 (developed for jQuery Grid 3.3.1)
5
+ * Olaf Klöppel opensource@blue-hit.de
6
+ * http://blue-hit.de/
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: "Zeige {0} - {1} von {2}",
14
+ emptyrecords: "Keine Datensätze vorhanden",
15
+ loadtext: "Lädt...",
16
+ pgtext : "Seite {0} von {1}"
17
+ },
18
+ search : {
19
+ caption: "Suche...",
20
+ Find: "Finden",
21
+ Reset: "Zurücksetzen",
22
+ odata : ['gleich', 'ungleich', 'kleiner', 'kleiner gleich','größer','größer gleich', 'beginnt mit','beginnt nicht mit','ist in','ist nicht in','endet mit','endet nicht mit','enthält','enthält nicht'],
23
+ groupOps: [ { op: "AND", text: "alle" }, { op: "OR", text: "mindestens eins" } ],
24
+ matchText: " match",
25
+ rulesText: " rules"
26
+ },
27
+ edit : {
28
+ addCaption: "Datensatz hinzufügen",
29
+ editCaption: "Datensatz bearbeiten",
30
+ bSubmit: "Speichern",
31
+ bCancel: "Abbrechen",
32
+ bClose: "Schließen",
33
+ saveData: "Daten wurden geändert! Änderungen speichern?",
34
+ bYes : "ja",
35
+ bNo : "nein",
36
+ bExit : "abbrechen",
37
+ msg: {
38
+ required:"Feld ist erforderlich",
39
+ number: "Bitte geben Sie eine Zahl ein",
40
+ minValue:"Wert muss größer oder gleich sein, als ",
41
+ maxValue:"Wert muss kleiner oder gleich sein, als ",
42
+ email: "ist keine valide E-Mail Adresse",
43
+ integer: "Bitte geben Sie eine Ganzzahl ein",
44
+ date: "Bitte geben Sie ein gültiges Datum ein",
45
+ url: "ist keine gültige URL. Prefix muss eingegeben werden ('http://' oder 'https://')",
46
+ nodefined : " ist nicht definiert!",
47
+ novalue : " Rückgabewert ist erforderlich!",
48
+ customarray : "Benutzerdefinierte Funktion sollte ein Array zurückgeben!",
49
+ customfcheck : "Benutzerdefinierte Funktion sollte im Falle der benutzerdefinierten Überprüfung vorhanden sein!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Datensatz anschauen",
54
+ bClose: "Schließen"
55
+ },
56
+ del : {
57
+ caption: "Löschen",
58
+ msg: "Ausgewählte Datensätze löschen?",
59
+ bSubmit: "Löschen",
60
+ bCancel: "Abbrechen"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Ausgewählten Zeile editieren",
65
+ addtext:" ",
66
+ addtitle: "Neuen Zeile einfügen",
67
+ deltext: " ",
68
+ deltitle: "Ausgewählte Zeile löschen",
69
+ searchtext: " ",
70
+ searchtitle: "Datensatz finden",
71
+ refreshtext: "",
72
+ refreshtitle: "Tabelle neu laden",
73
+ alertcap: "Warnung",
74
+ alerttext: "Bitte Zeile auswählen",
75
+ viewtext: "",
76
+ viewtitle: "Ausgewählte Zeile anzeigen"
77
+ },
78
+ col : {
79
+ caption: "Spalten anzeigen/verbergen",
80
+ bSubmit: "Speichern",
81
+ bCancel: "Abbrechen"
82
+ },
83
+ errors : {
84
+ errcap : "Fehler",
85
+ nourl : "Keine URL angegeben",
86
+ norecords: "Keine Datensätze zum verarbeiten",
87
+ model : "colNames und colModel sind unterschiedlich lang!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" €", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa",
96
+ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"
97
+ ],
98
+ monthNames: [
99
+ "Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez",
100
+ "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"
101
+ ],
102
+ AmPm : ["am","pm","AM","PM"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd/m/Y',
106
+ masks : {
107
+ ISO8601Long:"d.m.Y H:i:s",
108
+ ISO8601Short:"d.m.Y",
109
+ ShortDate: "j.n.Y",
110
+ LongDate: "l, d. F Y",
111
+ FullDateTime: "l, d. F Y G:i:s",
112
+ MonthDay: "d. F",
113
+ ShortTime: "G:i",
114
+ LongTime: "G:i:s",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ };
128
+ })(jQuery);