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.
- data/README.textile +6 -6
- data/VERSION.yml +1 -1
- data/compass-jquery-plugin.gemspec +7 -2
- data/gem_tasks/jqgrid.rake +13 -4
- data/lib/jquery/jqgrid.rb +11 -10
- data/lib/jquery/jrails.rb +10 -18
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +132 -128
- data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +132 -128
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +128 -124
- data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +127 -123
- data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +127 -123
- data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-dk.js +128 -124
- data/templates/jqgrid/i18n/jqgrid/locale-dk.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +126 -122
- data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +128 -123
- data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +125 -121
- data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +128 -124
- data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +126 -122
- data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +127 -0
- data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +126 -122
- data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +126 -122
- data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-jp.js +127 -123
- data/templates/jqgrid/i18n/jqgrid/locale-jp.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +148 -144
- data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +121 -116
- data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +126 -122
- data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +127 -123
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +125 -121
- data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +139 -0
- data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +127 -123
- data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-sp.js +128 -124
- data/templates/jqgrid/i18n/jqgrid/locale-sp.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +117 -112
- data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +126 -122
- data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +127 -123
- data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +1 -1
- data/templates/jqgrid/jquery.jqGrid.js +9913 -8988
- data/templates/jqgrid/jquery.jqGrid.min.js +1 -1
- data/templates/jqgrid/jquery.ui/jqGrid.sass +745 -580
- data/templates/jqgrid/manifest.rb +62 -57
- data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +13 -0
- data/templates/jrails/jquery.js +7644 -7626
- data/templates/jrails/jquery.min.js +19 -19
- data/templates/jrails/jrails.js +192 -197
- data/templates/jrails/jrails.min.js +1 -1
- data/templates/secret_sauce/app/views/ui/_ui_grid_for_without_block.js.haml +139 -136
- 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
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
},
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
"
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
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:"
|
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
|
-
|
46
|
-
|
47
|
-
|
48
|
-
},
|
49
|
-
|
50
|
-
caption: "
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
"
|
93
|
-
"
|
94
|
-
],
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
}
|
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);
|