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,126 +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);
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);
@@ -1,128 +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);
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);