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,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Danish Translation
4
+ * Kaare Rasmussen kjs@jasonic.dk
5
+ * http://jasonic.dk/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: "View {0} - {1} of {2}",
13
+ emptyrecords: "No records to view",
14
+ loadtext: "Loading...",
15
+ pgtext : "Page {0} of {1}"
16
+ },
17
+ search : {
18
+ caption: "Søg...",
19
+ Find: "Find",
20
+ Reset: "Nulstil",
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: " match",
24
+ rulesText: " rules"
25
+ },
26
+ edit : {
27
+ addCaption: "Tilføj",
28
+ editCaption: "Ret",
29
+ bSubmit: "Send",
30
+ bCancel: "Annuller",
31
+ bClose: "Luk",
32
+ saveData: "Data has been changed! Save changes?",
33
+ bYes : "Yes",
34
+ bNo : "No",
35
+ bExit : "Cancel",
36
+ msg: {
37
+ required:"Felt er nødvendigt",
38
+ number:"Indtast venligst et validt tal",
39
+ minValue:"værdi skal være større end eller lig med",
40
+ maxValue:"værdi skal være mindre end eller lig med",
41
+ email: "er ikke en valid email",
42
+ integer: "Indtast venligst et validt heltalt",
43
+ date: "Indtast venligst en valid datoværdi",
44
+ url: "is not a valid URL. Prefix required ('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: "View Record",
53
+ bClose: "Close"
54
+ },
55
+ del : {
56
+ caption: "Slet",
57
+ msg: "Slet valgte række(r)?",
58
+ bSubmit: "Slet",
59
+ bCancel: "Annuller"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Rediger valgte række",
64
+ addtext:" ",
65
+ addtitle: "Tilføj ny række",
66
+ deltext: " ",
67
+ deltitle: "Slet valgte række",
68
+ searchtext: " ",
69
+ searchtitle: "Find poster",
70
+ refreshtext: "",
71
+ refreshtitle: "Indlæs igen",
72
+ alertcap: "Advarsel",
73
+ alerttext: "Vælg venligst række",
74
+ viewtext: "",
75
+ viewtitle: "View selected row"
76
+ },
77
+ col : {
78
+ caption: "Vis/skjul kolonner",
79
+ bSubmit: "Send",
80
+ bCancel: "Annuller"
81
+ },
82
+ errors : {
83
+ errcap : "Fejl",
84
+ nourl : "Ingel url valgt",
85
+ norecords: "Ingen poster at behandle",
86
+ model : "colNames og colModel har ikke samme længde!"
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
+ "Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør",
95
+ "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
96
+ ],
97
+ monthNames: [
98
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
99
+ "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
100
+ ],
101
+ AmPm : ["","","",""],
102
+ S: function (j) {return '.'},
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: "j/n/Y",
109
+ LongDate: "l d. F Y",
110
+ FullDateTime: "l d F Y G:i:s",
111
+ MonthDay: "d. F",
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
+ // DK
128
+ })(jQuery);
@@ -0,0 +1,126 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Greek (el) Translation
4
+ * Alex Cicovic
5
+ * http://www.alexcicovic.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: "View {0} - {1} of {2}",
13
+ emptyrecords: "No records to view",
14
+ loadtext: "Φόρτωση...",
15
+ pgtext : "Page {0} of {1}"
16
+ },
17
+ search : {
18
+ caption: "Αναζήτηση...",
19
+ Find: "Εύρεση",
20
+ Reset: "Επαναφορά",
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: " match",
24
+ rulesText: " rules"
25
+ },
26
+ edit : {
27
+ addCaption: "Εισαγωγή Εγγραφής",
28
+ editCaption: "Επεξεργασία Εγγραφής",
29
+ bSubmit: "Καταχώρηση",
30
+ bCancel: "Άκυρο",
31
+ bClose: "Κλείσιμο",
32
+ saveData: "Data has been changed! Save changes?",
33
+ bYes : "Yes",
34
+ bNo : "No",
35
+ bExit : "Cancel",
36
+ msg: {
37
+ required:"Το πεδίο είναι απαραίτητο",
38
+ number:"Το πεδίο δέχεται μόνο αριθμούς",
39
+ minValue:"Η τιμή πρέπει να είναι μεγαλύτερη ή ίση του ",
40
+ maxValue:"Η τιμή πρέπει να είναι μικρότερη ή ίση του ",
41
+ email: "Η διεύθυνση e-mail δεν είναι έγκυρη",
42
+ integer: "Το πεδίο δέχεται μόνο ακέραιους αριθμούς",
43
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
44
+ nodefined : " is not defined!",
45
+ novalue : " return value is required!",
46
+ customarray : "Custom function should return array!",
47
+ customfcheck : "Custom function should be present in case of custom checking!"
48
+ }
49
+ },
50
+ view : {
51
+ caption: "View Record",
52
+ bClose: "Close"
53
+ },
54
+ del : {
55
+ caption: "Διαγραφή",
56
+ msg: "Διαγραφή των επιλεγμένων εγγραφών;",
57
+ bSubmit: "Ναι",
58
+ bCancel: "Άκυρο"
59
+ },
60
+ nav : {
61
+ edittext: " ",
62
+ edittitle: "Επεξεργασία επιλεγμένης εγγραφής",
63
+ addtext:" ",
64
+ addtitle: "Εισαγωγή νέας εγγραφής",
65
+ deltext: " ",
66
+ deltitle: "Διαγραφή επιλεγμένης εγγραφής",
67
+ searchtext: " ",
68
+ searchtitle: "Εύρεση Εγγραφών",
69
+ refreshtext: "",
70
+ refreshtitle: "Ανανέωση Πίνακα",
71
+ alertcap: "Προσοχή",
72
+ alerttext: "Δεν έχετε επιλέξει εγγραφή",
73
+ viewtext: "",
74
+ viewtitle: "View selected row"
75
+ },
76
+ col : {
77
+ caption: "Εμφάνιση / Απόκρυψη Στηλών",
78
+ bSubmit: "ΟΚ",
79
+ bCancel: "Άκυρο"
80
+ },
81
+ errors : {
82
+ errcap : "Σφάλμα",
83
+ nourl : "Δεν έχει δοθεί διεύθυνση χειρισμού για τη συγκεκριμένη ενέργεια",
84
+ norecords: "Δεν υπάρχουν εγγραφές προς επεξεργασία",
85
+ model : "Άνισος αριθμός πεδίων colNames/colModel!"
86
+ },
87
+ formatter : {
88
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
89
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
90
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
91
+ date : {
92
+ dayNames: [
93
+ "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ",
94
+ "Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"
95
+ ],
96
+ monthNames: [
97
+ "Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ",
98
+ "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"
99
+ ],
100
+ AmPm : ["πμ","μμ","ΠΜ","ΜΜ"],
101
+ S: function (j) {return j == 1 || j > 1 ? ['η'][Math.min((j - 1) % 10, 3)] : ''},
102
+ srcformat: 'Y-m-d',
103
+ newformat: 'd/m/Y',
104
+ masks : {
105
+ ISO8601Long:"Y-m-d H:i:s",
106
+ ISO8601Short:"Y-m-d",
107
+ ShortDate: "n/j/Y",
108
+ LongDate: "l, F d, Y",
109
+ FullDateTime: "l, F d, Y g:i:s A",
110
+ MonthDay: "F d",
111
+ ShortTime: "g:i A",
112
+ LongTime: "g:i:s A",
113
+ SortableDateTime: "Y-m-d\\TH:i:s",
114
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
115
+ YearMonth: "F, Y"
116
+ },
117
+ reformatAfterEdit : false
118
+ },
119
+ baseLinkUrl: '',
120
+ showAction: '',
121
+ target: '',
122
+ checkbox : {disabled:true},
123
+ idName : 'id'
124
+ }
125
+ };
126
+ })(jQuery);
@@ -0,0 +1,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid English 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: "View {0} - {1} of {2}",
13
+ emptyrecords: "No records to view",
14
+ loadtext: "Loading...",
15
+ pgtext : "Page {0} of {1}"
16
+ },
17
+ search : {
18
+ caption: "Search...",
19
+ Find: "Find",
20
+ Reset: "Reset",
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: " match",
24
+ rulesText: " rules"
25
+ },
26
+ edit : {
27
+ addCaption: "Add Record",
28
+ editCaption: "Edit Record",
29
+ bSubmit: "Submit",
30
+ bCancel: "Cancel",
31
+ bClose: "Close",
32
+ saveData: "Data has been changed! Save changes?",
33
+ bYes : "Yes",
34
+ bNo : "No",
35
+ bExit : "Cancel",
36
+ msg: {
37
+ required:"Field is required",
38
+ number:"Please, enter valid number",
39
+ minValue:"value must be greater than or equal to ",
40
+ maxValue:"value must be less than or equal to",
41
+ email: "is not a valid e-mail",
42
+ integer: "Please, enter valid integer value",
43
+ date: "Please, enter valid date value",
44
+ url: "is not a valid URL. Prefix required ('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
+ },
52
+ view : {
53
+ caption: "View Record",
54
+ bClose: "Close"
55
+ },
56
+ del : {
57
+ caption: "Delete",
58
+ msg: "Delete selected record(s)?",
59
+ bSubmit: "Delete",
60
+ bCancel: "Cancel"
61
+ },
62
+ nav : {
63
+ edittext: "",
64
+ edittitle: "Edit selected row",
65
+ addtext:"",
66
+ addtitle: "Add new row",
67
+ deltext: "",
68
+ deltitle: "Delete selected row",
69
+ searchtext: "",
70
+ searchtitle: "Find records",
71
+ refreshtext: "",
72
+ refreshtitle: "Reload Grid",
73
+ alertcap: "Warning",
74
+ alerttext: "Please, select row",
75
+ viewtext: "",
76
+ viewtitle: "View selected row"
77
+ },
78
+ col : {
79
+ caption: "Select columns",
80
+ bSubmit: "Ok",
81
+ bCancel: "Cancel"
82
+ },
83
+ errors : {
84
+ errcap : "Error",
85
+ nourl : "No url is set",
86
+ norecords: "No records to process",
87
+ model : "Length of 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
+ "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
96
+ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
97
+ ],
98
+ monthNames: [
99
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
100
+ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
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: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ };
128
+ })(jQuery);
@@ -0,0 +1,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Spanish Translation
4
+ * Traduccion jqGrid en Español por Yamil Bracho
5
+ * Traduccion corregida y ampliada por Faserline, S.L.
6
+ * http://www.faserline.com
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: "Mostrando {0} - {1} de {2}",
14
+ emptyrecords: "Sin registros que mostrar",
15
+ loadtext: "Cargando...",
16
+ pgtext : "Página {0} de {1}"
17
+ },
18
+ search : {
19
+ caption: "Búsqueda...",
20
+ Find: "Buscar",
21
+ Reset: "Limpiar",
22
+ odata : ['igual ', 'no igual a', 'menor que', 'menor o igual que','mayor que','mayor o igual a', 'empiece por','no empiece por','está en','no está en','termina por','no termina por','contiene','no contiene'],
23
+ groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ],
24
+ matchText: " match",
25
+ rulesText: " reglas"
26
+ },
27
+ edit : {
28
+ addCaption: "Agregar registro",
29
+ editCaption: "Modificar registro",
30
+ bSubmit: "Guardar",
31
+ bCancel: "Cancelar",
32
+ bClose: "Cerrar",
33
+ saveData: "Se han modificado los datos, ¿guardar cambios?",
34
+ bYes : "Si",
35
+ bNo : "No",
36
+ bExit : "Cancelar",
37
+ msg: {
38
+ required:"Campo obligatorio",
39
+ number:"Introduzca un número",
40
+ minValue:"El valor debe ser mayor o igual a ",
41
+ maxValue:"El valor debe ser menor o igual a ",
42
+ email: "no es una dirección de correo válida",
43
+ integer: "Introduzca un valor entero",
44
+ date: "Introduza una fecha correcta ",
45
+ url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')",
46
+ nodefined : " no está definido.",
47
+ novalue : " valor de retorno es requerido.",
48
+ customarray : "La función personalizada debe devolver un array.",
49
+ customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada."
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Consultar registro",
54
+ bClose: "Cerrar"
55
+ },
56
+ del : {
57
+ caption: "Eliminar",
58
+ msg: "¿Desea eliminar los registros seleccionados?",
59
+ bSubmit: "Eliminar",
60
+ bCancel: "Cancelar"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Modificar fila seleccionada",
65
+ addtext:" ",
66
+ addtitle: "Agregar nueva fila",
67
+ deltext: " ",
68
+ deltitle: "Eliminar fila seleccionada",
69
+ searchtext: " ",
70
+ searchtitle: "Buscar información",
71
+ refreshtext: "",
72
+ refreshtitle: "Recargar datos",
73
+ alertcap: "Aviso",
74
+ alerttext: "Seleccione una fila",
75
+ viewtext: "",
76
+ viewtitle: "Ver fila seleccionada"
77
+ },
78
+ col : {
79
+ caption: "Mostrar/ocultar columnas",
80
+ bSubmit: "Enviar",
81
+ bCancel: "Cancelar"
82
+ },
83
+ errors : {
84
+ errcap : "Error",
85
+ nourl : "No se ha especificado una URL",
86
+ norecords: "No hay datos para procesar",
87
+ model : "Las columnas de nombres son diferentes de las columnas de modelo"
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
+ "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa",
96
+ "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"
97
+ ],
98
+ monthNames: [
99
+ "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic",
100
+ "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
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: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ };
128
+ })(jQuery);
@@ -0,0 +1,125 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Persian Translation
4
+ * Dual licensed under the MIT and GPL licenses:
5
+ * http://www.opensource.org/licenses/mit-license.php
6
+ * http://www.gnu.org/licenses/gpl.html
7
+ **/
8
+ $.jgrid = {
9
+ defaults : {
10
+ recordtext: "View {0} - {1} of {2}",
11
+ emptyrecords: "No records to view",
12
+ loadtext: "بارگزاري...",
13
+ pgtext : "Page {0} of {1}"
14
+ },
15
+ search : {
16
+ caption: "جستجو...",
17
+ Find: "يافته ها",
18
+ Reset: "نتايج",
19
+ 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'],
20
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
21
+ matchText: " match",
22
+ rulesText: " rules"
23
+ },
24
+ edit : {
25
+ addCaption: "اضافه کردن رکورد",
26
+ editCaption: "ويرايش رکورد",
27
+ bSubmit: "ثبت",
28
+ bCancel: "انصراف",
29
+ bClose: "بستن",
30
+ saveData: "Data has been changed! Save changes?",
31
+ bYes : "Yes",
32
+ bNo : "No",
33
+ bExit : "Cancel",
34
+ msg: {
35
+ required:"فيلدها بايد ختما پر شوند",
36
+ number:"لطفا عدد وعتبر وارد کنيد",
37
+ minValue:"مقدار وارد شده بايد بزرگتر يا مساوي با",
38
+ maxValue:"مقدار وارد شده بايد کوچکتر يا مساوي",
39
+ email: "پست الکترونيک وارد شده معتبر نيست",
40
+ integer: "لطفا يک عدد صحيح وارد کنيد",
41
+ date: "لطفا يک تاريخ معتبر وارد کنيد",
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: "حذف",
55
+ msg: "از حذف گزينه هاي انتخاب شده مطمئن هستيد؟",
56
+ bSubmit: "حذف",
57
+ bCancel: "ابطال"
58
+ },
59
+ nav : {
60
+ edittext: " ",
61
+ edittitle: "ويرايش رديف هاي انتخاب شده",
62
+ addtext:" ",
63
+ addtitle: "افزودن رديف جديد",
64
+ deltext: " ",
65
+ deltitle: "حذف ردبف هاي انتخاب شده",
66
+ searchtext: " ",
67
+ searchtitle: "جستجوي رديف",
68
+ refreshtext: "",
69
+ refreshtitle: "بازيابي مجدد صفحه",
70
+ alertcap: "اخطار",
71
+ alerttext: "لطفا يک رديف انتخاب کنيد",
72
+ viewtext: "",
73
+ viewtitle: "View selected row"
74
+ },
75
+ col : {
76
+ caption: "نمايش/عدم نمايش ستون",
77
+ bSubmit: "ثبت",
78
+ bCancel: "انصراف"
79
+ },
80
+ errors : {
81
+ errcap : "خطا",
82
+ nourl : "هيچ آدرسي تنظيم نشده است",
83
+ norecords: "هيچ رکوردي براي پردازش موجود نيست",
84
+ model : "طول نام ستون ها محالف ستون هاي مدل مي باشد!"
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
+ "يک", "دو", "سه", "چهار", "پنج", "جمع", "شنب",
93
+ "يکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"
94
+ ],
95
+ monthNames: [
96
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
97
+ "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "December"
98
+ ],
99
+ AmPm : ["ب.ظ","ب.ظ","ق.ظ","ق.ظ"],
100
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
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);