compass-jquery-plugin 0.2.4.1 → 0.2.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/README.textile +6 -6
  2. data/VERSION.yml +1 -1
  3. data/compass-jquery-plugin.gemspec +7 -2
  4. data/gem_tasks/jqgrid.rake +13 -4
  5. data/lib/jquery/jqgrid.rb +11 -10
  6. data/lib/jquery/jrails.rb +10 -18
  7. data/templates/jqgrid/i18n/jqgrid/locale-bg.js +132 -128
  8. data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +1 -1
  9. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +132 -128
  10. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +1 -1
  11. data/templates/jqgrid/i18n/jqgrid/locale-cat.js +128 -124
  12. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +1 -1
  13. data/templates/jqgrid/i18n/jqgrid/locale-cs.js +127 -123
  14. data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +1 -1
  15. data/templates/jqgrid/i18n/jqgrid/locale-de.js +127 -123
  16. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +1 -1
  17. data/templates/jqgrid/i18n/jqgrid/locale-dk.js +128 -124
  18. data/templates/jqgrid/i18n/jqgrid/locale-dk.min.js +1 -1
  19. data/templates/jqgrid/i18n/jqgrid/locale-el.js +126 -122
  20. data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +1 -1
  21. data/templates/jqgrid/i18n/jqgrid/locale-en.js +128 -123
  22. data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +1 -1
  23. data/templates/jqgrid/i18n/jqgrid/locale-fa.js +125 -121
  24. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +1 -1
  25. data/templates/jqgrid/i18n/jqgrid/locale-fi.js +128 -124
  26. data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +1 -1
  27. data/templates/jqgrid/i18n/jqgrid/locale-fr.js +126 -122
  28. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +1 -1
  29. data/templates/jqgrid/i18n/jqgrid/locale-he.js +127 -0
  30. data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +1 -0
  31. data/templates/jqgrid/i18n/jqgrid/locale-is.js +126 -122
  32. data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +1 -1
  33. data/templates/jqgrid/i18n/jqgrid/locale-it.js +126 -122
  34. data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +1 -1
  35. data/templates/jqgrid/i18n/jqgrid/locale-jp.js +127 -123
  36. data/templates/jqgrid/i18n/jqgrid/locale-jp.min.js +1 -1
  37. data/templates/jqgrid/i18n/jqgrid/locale-nl.js +148 -144
  38. data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +1 -1
  39. data/templates/jqgrid/i18n/jqgrid/locale-no.js +121 -116
  40. data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +1 -1
  41. data/templates/jqgrid/i18n/jqgrid/locale-pl.js +126 -122
  42. data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +1 -1
  43. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +127 -123
  44. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +1 -1
  45. data/templates/jqgrid/i18n/jqgrid/locale-pt.js +125 -121
  46. data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +1 -1
  47. data/templates/jqgrid/i18n/jqgrid/locale-ro.js +139 -0
  48. data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +1 -0
  49. data/templates/jqgrid/i18n/jqgrid/locale-ru.js +127 -123
  50. data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +1 -1
  51. data/templates/jqgrid/i18n/jqgrid/locale-sp.js +128 -124
  52. data/templates/jqgrid/i18n/jqgrid/locale-sp.min.js +1 -1
  53. data/templates/jqgrid/i18n/jqgrid/locale-sv.js +117 -112
  54. data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +1 -1
  55. data/templates/jqgrid/i18n/jqgrid/locale-tr.js +126 -122
  56. data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +1 -1
  57. data/templates/jqgrid/i18n/jqgrid/locale-ua.js +127 -123
  58. data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +1 -1
  59. data/templates/jqgrid/jquery.jqGrid.js +9913 -8988
  60. data/templates/jqgrid/jquery.jqGrid.min.js +1 -1
  61. data/templates/jqgrid/jquery.ui/jqGrid.sass +745 -580
  62. data/templates/jqgrid/manifest.rb +62 -57
  63. data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +13 -0
  64. data/templates/jrails/jquery.js +7644 -7626
  65. data/templates/jrails/jquery.min.js +19 -19
  66. data/templates/jrails/jrails.js +192 -197
  67. data/templates/jrails/jrails.min.js +1 -1
  68. data/templates/secret_sauce/app/views/ui/_ui_grid_for_without_block.js.haml +139 -136
  69. metadata +7 -2
@@ -1 +1 @@
1
- (function(a){a.jgrid={defaults:{recordtext:"View {0} - {1} of {2}",emptyrecords:"No records to view",loadtext:"Φόρτωση...",pgtext:"Page {0} of {1}"},search:{caption:"Αναζήτηση...",Find:"Εύρεση",Reset:"Επαναφορά",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"],groupOps:[{op:"AND",text:"all"},{op:"OR",text:"any"}],matchText:" match",rulesText:" rules"},edit:{addCaption:"Εισαγωγή Εγγραφής",editCaption:"Επεξεργασία Εγγραφής",bSubmit:"Καταχώρηση",bCancel:"Άκυρο",bClose:"Κλείσιμο",saveData:"Data has been changed! Save changes?",bYes:"Yes",bNo:"No",bExit:"Cancel",msg:{required:"Το πεδίο είναι απαραίτητο",number:"Το πεδίο δέχεται μόνο αριθμούς",minValue:"Η τιμή πρέπει να είναι μεγαλύτερη ή ίση του ",maxValue:"Η τιμή πρέπει να είναι μικρότερη ή ίση του ",email:"Η διεύθυνση e-mail δεν είναι έγκυρη",integer:"Το πεδίο δέχεται μόνο ακέραιους αριθμούς",url:"is not a valid URL. Prefix required ('http://' or 'https://')"}},view:{caption:"View Record",bClose:"Close"},del:{caption:"Διαγραφή",msg:"Διαγραφή των επιλεγμένων εγγραφών;",bSubmit:"Ναι",bCancel:"Άκυρο"},nav:{edittext:" ",edittitle:"Επεξεργασία επιλεγμένης εγγραφής",addtext:" ",addtitle:"Εισαγωγή νέας εγγραφής",deltext:" ",deltitle:"Διαγραφή επιλεγμένης εγγραφής",searchtext:" ",searchtitle:"Εύρεση Εγγραφών",refreshtext:"",refreshtitle:"Ανανέωση Πίνακα",alertcap:"Προσοχή",alerttext:"Δεν έχετε επιλέξει εγγραφή",viewtext:"",viewtitle:"View selected row"},col:{caption:"Εμφάνιση / Απόκρυψη Στηλών",bSubmit:"ΟΚ",bCancel:"Άκυρο"},errors:{errcap:"Σφάλμα",nourl:"Δεν έχει δοθεί διεύθυνση χειρισμού για τη συγκεκριμένη ενέργεια",norecords:"Δεν υπάρχουν εγγραφές προς επεξεργασία",model:"Άνισος αριθμός πεδίων colNames/colModel!"},formatter:{integer:{thousandsSeparator:" ",defaultValue:"0"},number:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,defaultValue:"0.00"},currency:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaultValue:"0.00"},date:{dayNames:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ","Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],monthNames:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ","Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],AmPm:["πμ","μμ","ΠΜ","ΜΜ"],S:function(b){return b==1||b>1?["η"][Math.min((b-1)%10,3)]:""},srcformat:"Y-m-d",newformat:"d/m/Y",masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"}}})(jQuery);
1
+ (function(a){a.jgrid={defaults:{recordtext:"View {0} - {1} of {2}",emptyrecords:"No records to view",loadtext:"Φόρτωση...",pgtext:"Page {0} of {1}"},search:{caption:"Αναζήτηση...",Find:"Εύρεση",Reset:"Επαναφορά",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"],groupOps:[{op:"AND",text:"all"},{op:"OR",text:"any"}],matchText:" match",rulesText:" rules"},edit:{addCaption:"Εισαγωγή Εγγραφής",editCaption:"Επεξεργασία Εγγραφής",bSubmit:"Καταχώρηση",bCancel:"Άκυρο",bClose:"Κλείσιμο",saveData:"Data has been changed! Save changes?",bYes:"Yes",bNo:"No",bExit:"Cancel",msg:{required:"Το πεδίο είναι απαραίτητο",number:"Το πεδίο δέχεται μόνο αριθμούς",minValue:"Η τιμή πρέπει να είναι μεγαλύτερη ή ίση του ",maxValue:"Η τιμή πρέπει να είναι μικρότερη ή ίση του ",email:"Η διεύθυνση e-mail δεν είναι έγκυρη",integer:"Το πεδίο δέχεται μόνο ακέραιους αριθμούς",url:"is not a valid URL. Prefix required ('http://' or 'https://')",nodefined:" is not defined!",novalue:" return value is required!",customarray:"Custom function should return array!",customfcheck:"Custom function should be present in case of custom checking!"}},view:{caption:"View Record",bClose:"Close"},del:{caption:"Διαγραφή",msg:"Διαγραφή των επιλεγμένων εγγραφών;",bSubmit:"Ναι",bCancel:"Άκυρο"},nav:{edittext:" ",edittitle:"Επεξεργασία επιλεγμένης εγγραφής",addtext:" ",addtitle:"Εισαγωγή νέας εγγραφής",deltext:" ",deltitle:"Διαγραφή επιλεγμένης εγγραφής",searchtext:" ",searchtitle:"Εύρεση Εγγραφών",refreshtext:"",refreshtitle:"Ανανέωση Πίνακα",alertcap:"Προσοχή",alerttext:"Δεν έχετε επιλέξει εγγραφή",viewtext:"",viewtitle:"View selected row"},col:{caption:"Εμφάνιση / Απόκρυψη Στηλών",bSubmit:"ΟΚ",bCancel:"Άκυρο"},errors:{errcap:"Σφάλμα",nourl:"Δεν έχει δοθεί διεύθυνση χειρισμού για τη συγκεκριμένη ενέργεια",norecords:"Δεν υπάρχουν εγγραφές προς επεξεργασία",model:"Άνισος αριθμός πεδίων colNames/colModel!"},formatter:{integer:{thousandsSeparator:" ",defaultValue:"0"},number:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,defaultValue:"0.00"},currency:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaultValue:"0.00"},date:{dayNames:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ","Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],monthNames:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ","Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],AmPm:["πμ","μμ","ΠΜ","ΜΜ"],S:function(b){return b==1||b>1?["η"][Math.min((b-1)%10,3)]:""},srcformat:"Y-m-d",newformat:"d/m/Y",masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"}}})(jQuery);
@@ -1,123 +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
- }
46
- },
47
- view : {
48
- caption: "View Record",
49
- bClose: "Close"
50
- },
51
- del : {
52
- caption: "Delete",
53
- msg: "Delete selected record(s)?",
54
- bSubmit: "Delete",
55
- bCancel: "Cancel"
56
- },
57
- nav : {
58
- edittext: "",
59
- edittitle: "Edit selected row",
60
- addtext:"",
61
- addtitle: "Add new row",
62
- deltext: "",
63
- deltitle: "Delete selected row",
64
- searchtext: "",
65
- searchtitle: "Find records",
66
- refreshtext: "",
67
- refreshtitle: "Reload Grid",
68
- alertcap: "Warning",
69
- alerttext: "Please, select row",
70
- viewtext: "",
71
- viewtitle: "View selected row"
72
- },
73
- col : {
74
- caption: "Show/Hide Columns",
75
- bSubmit: "Submit",
76
- bCancel: "Cancel"
77
- },
78
- errors : {
79
- errcap : "Error",
80
- nourl : "No url is set",
81
- norecords: "No records to process",
82
- model : "Length of colNames <> colModel!"
83
- },
84
- formatter : {
85
- integer : {thousandsSeparator: " ", defaultValue: '0'},
86
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
87
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
88
- date : {
89
- dayNames: [
90
- "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
91
- "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
92
- ],
93
- monthNames: [
94
- "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
95
- "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
96
- ],
97
- AmPm : ["am","pm","AM","PM"],
98
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
99
- srcformat: 'Y-m-d',
100
- newformat: 'd/m/Y',
101
- masks : {
102
- ISO8601Long:"Y-m-d H:i:s",
103
- ISO8601Short:"Y-m-d",
104
- ShortDate: "n/j/Y",
105
- LongDate: "l, F d, Y",
106
- FullDateTime: "l, F d, Y g:i:s A",
107
- MonthDay: "F d",
108
- ShortTime: "g:i A",
109
- LongTime: "g:i:s A",
110
- SortableDateTime: "Y-m-d\\TH:i:s",
111
- UniversalSortableDateTime: "Y-m-d H:i:sO",
112
- YearMonth: "F, Y"
113
- },
114
- reformatAfterEdit : false
115
- },
116
- baseLinkUrl: '',
117
- showAction: '',
118
- target: '',
119
- checkbox : {disabled:true},
120
- idName : 'id'
121
- }
122
- };
123
- })(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);
@@ -1 +1 @@
1
- (function(a){a.jgrid={defaults:{recordtext:"View {0} - {1} of {2}",emptyrecords:"No records to view",loadtext:"Loading...",pgtext:"Page {0} of {1}"},search:{caption:"Search...",Find:"Find",Reset:"Reset",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"],groupOps:[{op:"AND",text:"all"},{op:"OR",text:"any"}],matchText:" match",rulesText:" rules"},edit:{addCaption:"Add Record",editCaption:"Edit Record",bSubmit:"Submit",bCancel:"Cancel",bClose:"Close",saveData:"Data has been changed! Save changes?",bYes:"Yes",bNo:"No",bExit:"Cancel",msg:{required:"Field is required",number:"Please, enter valid number",minValue:"value must be greater than or equal to ",maxValue:"value must be less than or equal to",email:"is not a valid e-mail",integer:"Please, enter valid integer value",date:"Please, enter valid date value",url:"is not a valid URL. Prefix required ('http://' or 'https://')"}},view:{caption:"View Record",bClose:"Close"},del:{caption:"Delete",msg:"Delete selected record(s)?",bSubmit:"Delete",bCancel:"Cancel"},nav:{edittext:"",edittitle:"Edit selected row",addtext:"",addtitle:"Add new row",deltext:"",deltitle:"Delete selected row",searchtext:"",searchtitle:"Find records",refreshtext:"",refreshtitle:"Reload Grid",alertcap:"Warning",alerttext:"Please, select row",viewtext:"",viewtitle:"View selected row"},col:{caption:"Show/Hide Columns",bSubmit:"Submit",bCancel:"Cancel"},errors:{errcap:"Error",nourl:"No url is set",norecords:"No records to process",model:"Length of colNames <> colModel!"},formatter:{integer:{thousandsSeparator:" ",defaultValue:"0"},number:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,defaultValue:"0.00"},currency:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaultValue:"0.00"},date:{dayNames:["Sun","Mon","Tue","Wed","Thr","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],AmPm:["am","pm","AM","PM"],S:function(b){return b<11||b>13?["st","nd","rd","th"][Math.min((b-1)%10,3)]:"th"},srcformat:"Y-m-d",newformat:"d/m/Y",masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"}}})(jQuery);
1
+ (function(a){a.jgrid={defaults:{recordtext:"View {0} - {1} of {2}",emptyrecords:"No records to view",loadtext:"Loading...",pgtext:"Page {0} of {1}"},search:{caption:"Search...",Find:"Find",Reset:"Reset",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"],groupOps:[{op:"AND",text:"all"},{op:"OR",text:"any"}],matchText:" match",rulesText:" rules"},edit:{addCaption:"Add Record",editCaption:"Edit Record",bSubmit:"Submit",bCancel:"Cancel",bClose:"Close",saveData:"Data has been changed! Save changes?",bYes:"Yes",bNo:"No",bExit:"Cancel",msg:{required:"Field is required",number:"Please, enter valid number",minValue:"value must be greater than or equal to ",maxValue:"value must be less than or equal to",email:"is not a valid e-mail",integer:"Please, enter valid integer value",date:"Please, enter valid date value",url:"is not a valid URL. Prefix required ('http://' or 'https://')",nodefined:" is not defined!",novalue:" return value is required!",customarray:"Custom function should return array!",customfcheck:"Custom function should be present in case of custom checking!"}},view:{caption:"View Record",bClose:"Close"},del:{caption:"Delete",msg:"Delete selected record(s)?",bSubmit:"Delete",bCancel:"Cancel"},nav:{edittext:"",edittitle:"Edit selected row",addtext:"",addtitle:"Add new row",deltext:"",deltitle:"Delete selected row",searchtext:"",searchtitle:"Find records",refreshtext:"",refreshtitle:"Reload Grid",alertcap:"Warning",alerttext:"Please, select row",viewtext:"",viewtitle:"View selected row"},col:{caption:"Select columns",bSubmit:"Ok",bCancel:"Cancel"},errors:{errcap:"Error",nourl:"No url is set",norecords:"No records to process",model:"Length of colNames <> colModel!"},formatter:{integer:{thousandsSeparator:" ",defaultValue:"0"},number:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,defaultValue:"0.00"},currency:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaultValue:"0.00"},date:{dayNames:["Sun","Mon","Tue","Wed","Thr","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],AmPm:["am","pm","AM","PM"],S:function(b){return b<11||b>13?["st","nd","rd","th"][Math.min((b-1)%10,3)]:"th"},srcformat:"Y-m-d",newformat:"d/m/Y",masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"}}})(jQuery);
@@ -1,121 +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
- }
44
- },
45
- view : {
46
- caption: "View Record",
47
- bClose: "Close"
48
- },
49
- del : {
50
- caption: "حذف",
51
- msg: "از حذف گزينه هاي انتخاب شده مطمئن هستيد؟",
52
- bSubmit: "حذف",
53
- bCancel: "ابطال"
54
- },
55
- nav : {
56
- edittext: " ",
57
- edittitle: "ويرايش رديف هاي انتخاب شده",
58
- addtext:" ",
59
- addtitle: "افزودن رديف جديد",
60
- deltext: " ",
61
- deltitle: "حذف ردبف هاي انتخاب شده",
62
- searchtext: " ",
63
- searchtitle: "جستجوي رديف",
64
- refreshtext: "",
65
- refreshtitle: "بازيابي مجدد صفحه",
66
- alertcap: "اخطار",
67
- alerttext: "لطفا يک رديف انتخاب کنيد",
68
- viewtext: "",
69
- viewtitle: "View selected row"
70
- },
71
- col : {
72
- caption: "نمايش/عدم نمايش ستون",
73
- bSubmit: "ثبت",
74
- bCancel: "انصراف"
75
- },
76
- errors : {
77
- errcap : "خطا",
78
- nourl : "هيچ آدرسي تنظيم نشده است",
79
- norecords: "هيچ رکوردي براي پردازش موجود نيست",
80
- model : "طول نام ستون ها محالف ستون هاي مدل مي باشد!"
81
- },
82
- formatter : {
83
- integer : {thousandsSeparator: " ", defaultValue: '0'},
84
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
85
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
86
- date : {
87
- dayNames: [
88
- "يک", "دو", "سه", "چهار", "پنج", "جمع", "شنب",
89
- "يکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"
90
- ],
91
- monthNames: [
92
- "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
93
- "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "December"
94
- ],
95
- AmPm : ["ب.ظ","ب.ظ","ق.ظ","ق.ظ"],
96
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
97
- srcformat: 'Y-m-d',
98
- newformat: 'd/m/Y',
99
- masks : {
100
- ISO8601Long:"Y-m-d H:i:s",
101
- ISO8601Short:"Y-m-d",
102
- ShortDate: "n/j/Y",
103
- LongDate: "l, F d, Y",
104
- FullDateTime: "l, F d, Y g:i:s A",
105
- MonthDay: "F d",
106
- ShortTime: "g:i A",
107
- LongTime: "g:i:s A",
108
- SortableDateTime: "Y-m-d\\TH:i:s",
109
- UniversalSortableDateTime: "Y-m-d H:i:sO",
110
- YearMonth: "F, Y"
111
- },
112
- reformatAfterEdit : false
113
- },
114
- baseLinkUrl: '',
115
- showAction: 'نمايش',
116
- target: '',
117
- checkbox : {disabled:true},
118
- idName : 'id'
119
- }
120
- };
121
- })(jQuery);
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);