jqgrid-jquery-rails 4.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +52 -0
- data/Rakefile +1 -0
- data/jqgrid-jquery-rails.gemspec +27 -0
- data/lib/jqgrid-jquery-rails.rb +2 -0
- data/lib/jqgrid-jquery-rails/engine.rb +6 -0
- data/lib/jqgrid-jquery-rails/version.rb +12 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +133 -0
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +145 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +155 -0
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +149 -0
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +125 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +139 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +127 -0
- data/vendor/assets/javascripts/jqgrid-jquery-rails.js +5 -0
- data/vendor/assets/javascripts/jquery.jqGrid.min.js +487 -0
- data/vendor/assets/stylesheets/jqgrid-jquery-rails.css +6 -0
- data/vendor/assets/stylesheets/ui.jqgrid.css +136 -0
- metadata +165 -0
@@ -0,0 +1,145 @@
|
|
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: "نمابش {0} - {1} از {2}",
|
11
|
+
emptyrecords: "رکوردی یافت نشد",
|
12
|
+
loadtext: "بارگزاري...",
|
13
|
+
pgtext: "صفحه {0} از {1}"
|
14
|
+
},
|
15
|
+
search: {
|
16
|
+
caption: "جستجو...",
|
17
|
+
Find: "يافته ها",
|
18
|
+
Reset: "از نو",
|
19
|
+
odata: ['برابر', 'نا برابر', 'به', 'کوچکتر', 'از', 'بزرگتر', 'شروع با', 'شروع نشود با', 'نباشد', 'عضو این نباشد', 'اتمام با', 'تمام نشود با', 'حاوی', 'نباشد حاوی'],
|
20
|
+
groupOps: [{
|
21
|
+
op: "AND",
|
22
|
+
text: "کل"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
op: "OR",
|
26
|
+
text: "مجموع"
|
27
|
+
}],
|
28
|
+
matchText: " حاوی",
|
29
|
+
rulesText: " اطلاعات"
|
30
|
+
},
|
31
|
+
edit: {
|
32
|
+
addCaption: "اضافه کردن رکورد",
|
33
|
+
editCaption: "ويرايش رکورد",
|
34
|
+
bSubmit: "ثبت",
|
35
|
+
bCancel: "انصراف",
|
36
|
+
bClose: "بستن",
|
37
|
+
saveData: "دیتا تعییر کرد! ذخیره شود؟",
|
38
|
+
bYes: "بله",
|
39
|
+
bNo: "خیر",
|
40
|
+
bExit: "انصراف",
|
41
|
+
msg: {
|
42
|
+
required: "فيلدها بايد ختما پر شوند",
|
43
|
+
number: "لطفا عدد وعتبر وارد کنيد",
|
44
|
+
minValue: "مقدار وارد شده بايد بزرگتر يا مساوي با",
|
45
|
+
maxValue: "مقدار وارد شده بايد کوچکتر يا مساوي",
|
46
|
+
email: "پست الکترونيک وارد شده معتبر نيست",
|
47
|
+
integer: "لطفا يک عدد صحيح وارد کنيد",
|
48
|
+
date: "لطفا يک تاريخ معتبر وارد کنيد",
|
49
|
+
url: "این آدرس صحیح نمی باشد. پیشوند نیاز است ('http://' یا 'https://')",
|
50
|
+
nodefined: " تعریف نشده!",
|
51
|
+
novalue: " مقدار برگشتی اجباری است!",
|
52
|
+
customarray: "تابع شما باید مقدار آرایه داشته باشد!",
|
53
|
+
customfcheck: "برای داشتن متد دلخواه شما باید سطون با چکینگ دلخواه داشته باشید!"
|
54
|
+
}
|
55
|
+
},
|
56
|
+
view: {
|
57
|
+
caption: "نمایش رکورد",
|
58
|
+
bClose: "بستن"
|
59
|
+
},
|
60
|
+
del: {
|
61
|
+
caption: "حذف",
|
62
|
+
msg: "از حذف گزينه هاي انتخاب شده مطمئن هستيد؟",
|
63
|
+
bSubmit: "حذف",
|
64
|
+
bCancel: "ابطال"
|
65
|
+
},
|
66
|
+
nav: {
|
67
|
+
edittext: " ",
|
68
|
+
edittitle: "ويرايش رديف هاي انتخاب شده",
|
69
|
+
addtext: " ",
|
70
|
+
addtitle: "افزودن رديف جديد",
|
71
|
+
deltext: " ",
|
72
|
+
deltitle: "حذف ردبف هاي انتخاب شده",
|
73
|
+
searchtext: " ",
|
74
|
+
searchtitle: "جستجوي رديف",
|
75
|
+
refreshtext: "",
|
76
|
+
refreshtitle: "بازيابي مجدد صفحه",
|
77
|
+
alertcap: "اخطار",
|
78
|
+
alerttext: "لطفا يک رديف انتخاب کنيد",
|
79
|
+
viewtext: "",
|
80
|
+
viewtitle: "نمایش رکورد های انتخاب شده"
|
81
|
+
},
|
82
|
+
col: {
|
83
|
+
caption: "نمايش/عدم نمايش ستون",
|
84
|
+
bSubmit: "ثبت",
|
85
|
+
bCancel: "انصراف"
|
86
|
+
},
|
87
|
+
errors: {
|
88
|
+
errcap: "خطا",
|
89
|
+
nourl: "هيچ آدرسي تنظيم نشده است",
|
90
|
+
norecords: "هيچ رکوردي براي پردازش موجود نيست",
|
91
|
+
model: "طول نام ستون ها محالف ستون هاي مدل مي باشد!"
|
92
|
+
},
|
93
|
+
formatter: {
|
94
|
+
integer: {
|
95
|
+
thousandsSeparator: " ",
|
96
|
+
defaultValue: "0"
|
97
|
+
},
|
98
|
+
number: {
|
99
|
+
decimalSeparator: ".",
|
100
|
+
thousandsSeparator: " ",
|
101
|
+
decimalPlaces: 2,
|
102
|
+
defaultValue: "0.00"
|
103
|
+
},
|
104
|
+
currency: {
|
105
|
+
decimalSeparator: ".",
|
106
|
+
thousandsSeparator: " ",
|
107
|
+
decimalPlaces: 2,
|
108
|
+
prefix: "",
|
109
|
+
suffix: "",
|
110
|
+
defaultValue: "0"
|
111
|
+
},
|
112
|
+
date: {
|
113
|
+
dayNames: ["يک", "دو", "سه", "چهار", "پنج", "جمع", "شنب", "يکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
|
114
|
+
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "December"],
|
115
|
+
AmPm: ["ب.ظ", "ب.ظ", "ق.ظ", "ق.ظ"],
|
116
|
+
S: function (b) {
|
117
|
+
return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
|
118
|
+
},
|
119
|
+
srcformat: "Y-m-d",
|
120
|
+
newformat: "d/m/Y",
|
121
|
+
masks: {
|
122
|
+
ISO8601Long: "Y-m-d H:i:s",
|
123
|
+
ISO8601Short: "Y-m-d",
|
124
|
+
ShortDate: "n/j/Y",
|
125
|
+
LongDate: "l, F d, Y",
|
126
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
127
|
+
MonthDay: "F d",
|
128
|
+
ShortTime: "g:i A",
|
129
|
+
LongTime: "g:i:s A",
|
130
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
131
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
132
|
+
YearMonth: "F, Y"
|
133
|
+
},
|
134
|
+
reformatAfterEdit: false
|
135
|
+
},
|
136
|
+
baseLinkUrl: "",
|
137
|
+
showAction: "نمايش",
|
138
|
+
target: "",
|
139
|
+
checkbox: {
|
140
|
+
disabled: true
|
141
|
+
},
|
142
|
+
idName: "id"
|
143
|
+
}
|
144
|
+
}
|
145
|
+
})(jQuery);
|
@@ -0,0 +1,129 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid (fi) Finnish Translation
|
4
|
+
* Jukka Inkeri awot.fi 2010-05-19
|
5
|
+
* Alex Grönholm alex.gronholm@nextday.fi 2011-05-18
|
6
|
+
* http://awot.fi
|
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: "Rivit {0} - {1} / {2}",
|
14
|
+
emptyrecords: "Ei näytettäviä",
|
15
|
+
loadtext: "Haetaan...",
|
16
|
+
pgtext: "Sivu {0} / {1}"
|
17
|
+
},
|
18
|
+
search: {
|
19
|
+
caption: "Etsi...",
|
20
|
+
Find: "Etsi",
|
21
|
+
Reset: "Tyhjennä",
|
22
|
+
odata: ['on', 'ei ole', 'pienempi', 'pienempi tai yhtäsuuri','suurempi','suurempi tai yhtäsuuri', 'alkaa','ei ala','joukossa','ei joukossa','loppuu','ei lopu','sisältää','ei sisällä','on tyhjä','ei ole tyhjä'],
|
23
|
+
groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mikä tahansa" } ],
|
24
|
+
matchText: " täytä ehdot:",
|
25
|
+
rulesText: ""
|
26
|
+
},
|
27
|
+
edit: {
|
28
|
+
addCaption: "Uusi rivi",
|
29
|
+
editCaption: "Muokkaa riviä",
|
30
|
+
bSubmit: "OK",
|
31
|
+
bCancel: "Peru",
|
32
|
+
bClose: "Sulje",
|
33
|
+
saveData: "Tietoja muutettu! Tallennetaanko?",
|
34
|
+
bYes: "Kyllä",
|
35
|
+
bNo: "Ei",
|
36
|
+
bExit: "Peru",
|
37
|
+
msg: {
|
38
|
+
required: "pakollinen",
|
39
|
+
number: "Anna kelvollinen nro",
|
40
|
+
minValue: "arvon oltava suurempi tai yhtäsuuri kuin ",
|
41
|
+
maxValue: "arvon oltava pienempi tai yhtäsuuri kuin ",
|
42
|
+
email: "ei ole kelvollinen säpostiosoite",
|
43
|
+
integer: "Anna kelvollinen kokonaisluku",
|
44
|
+
date: "Anna kelvollinen pvm",
|
45
|
+
url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
|
46
|
+
nodefined: " ei ole määritelty!",
|
47
|
+
novalue: " paluuarvo vaaditaan!",
|
48
|
+
customarray: "Oman funktion tulee palauttaa jono!",
|
49
|
+
customfcheck: "Oma funktio on määriteltävä räätälöityä tarkastusta varten!"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
view: {
|
53
|
+
caption: "Näytä rivi",
|
54
|
+
bClose: "Sulje"
|
55
|
+
},
|
56
|
+
del: {
|
57
|
+
caption: "Poista",
|
58
|
+
msg: "Poista valitut rivit?",
|
59
|
+
bSubmit: "Poista",
|
60
|
+
bCancel: "Peru"
|
61
|
+
},
|
62
|
+
nav: {
|
63
|
+
edittext: "",
|
64
|
+
edittitle: "Muokkaa valittua riviä",
|
65
|
+
addtext: "",
|
66
|
+
addtitle: "Uusi rivi",
|
67
|
+
deltext: "",
|
68
|
+
deltitle: "Poista valittu rivi",
|
69
|
+
searchtext: "",
|
70
|
+
searchtitle: "Etsi tietoja",
|
71
|
+
refreshtext: "",
|
72
|
+
refreshtitle: "Lataa uudelleen",
|
73
|
+
alertcap: "Varoitus",
|
74
|
+
alerttext: "Valitse rivi",
|
75
|
+
viewtext: "",
|
76
|
+
viewtitle: "Näyta valitut rivit"
|
77
|
+
},
|
78
|
+
col: {
|
79
|
+
caption: "Valitse sarakkeet",
|
80
|
+
bSubmit: "OK",
|
81
|
+
bCancel: "Peru"
|
82
|
+
},
|
83
|
+
errors : {
|
84
|
+
errcap: "Virhe",
|
85
|
+
nourl: "URL on asettamatta",
|
86
|
+
norecords: "Ei muokattavia tietoja",
|
87
|
+
model: "Pituus 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
|
+
"Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
|
96
|
+
"Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
|
97
|
+
],
|
98
|
+
monthNames: [
|
99
|
+
"Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
|
100
|
+
"Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
|
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: "d.m.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
|
+
// FI
|
129
|
+
})(jQuery);
|
@@ -0,0 +1,126 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid French 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: "Enregistrements {0} - {1} sur {2}",
|
13
|
+
emptyrecords: "Aucun enregistrement à afficher",
|
14
|
+
loadtext: "Chargement...",
|
15
|
+
pgtext : "Page {0} sur {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Recherche...",
|
19
|
+
Find: "Chercher",
|
20
|
+
Reset: "Annuler",
|
21
|
+
odata : ['égal', 'différent', 'inférieur', 'inférieur ou égal','supérieur','supérieur ou égal', 'commence par','ne commence pas par','est dans',"n'est pas dans",'finit par','ne finit pas par','contient','ne contient pas'],
|
22
|
+
groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "aucun" } ],
|
23
|
+
matchText: " correspondance",
|
24
|
+
rulesText: " règles"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Ajouter",
|
28
|
+
editCaption: "Editer",
|
29
|
+
bSubmit: "Valider",
|
30
|
+
bCancel: "Annuler",
|
31
|
+
bClose: "Fermer",
|
32
|
+
saveData: "Les données ont changé ! Enregistrer les modifications ?",
|
33
|
+
bYes: "Oui",
|
34
|
+
bNo: "Non",
|
35
|
+
bExit: "Annuler",
|
36
|
+
msg: {
|
37
|
+
required: "Champ obligatoire",
|
38
|
+
number: "Saisissez un nombre correct",
|
39
|
+
minValue: "La valeur doit être supérieure ou égale à",
|
40
|
+
maxValue: "La valeur doit être inférieure ou égale à",
|
41
|
+
email: "n'est pas un email correct",
|
42
|
+
integer: "Saisissez un entier correct",
|
43
|
+
url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
|
44
|
+
nodefined : " n'est pas défini!",
|
45
|
+
novalue : " la valeur de retour est requise!",
|
46
|
+
customarray : "Une fonction personnalisée devrait retourner un tableau (array)!",
|
47
|
+
customfcheck : "Une fonction personnalisée devrait être présente dans le cas d'une vérification personnalisée!"
|
48
|
+
}
|
49
|
+
},
|
50
|
+
view : {
|
51
|
+
caption: "Voir les enregistrement",
|
52
|
+
bClose: "Fermer"
|
53
|
+
},
|
54
|
+
del : {
|
55
|
+
caption: "Supprimer",
|
56
|
+
msg: "Supprimer les enregistrements sélectionnés ?",
|
57
|
+
bSubmit: "Supprimer",
|
58
|
+
bCancel: "Annuler"
|
59
|
+
},
|
60
|
+
nav : {
|
61
|
+
edittext: " ",
|
62
|
+
edittitle: "Editer la ligne sélectionnée",
|
63
|
+
addtext:" ",
|
64
|
+
addtitle: "Ajouter une ligne",
|
65
|
+
deltext: " ",
|
66
|
+
deltitle: "Supprimer la ligne sélectionnée",
|
67
|
+
searchtext: " ",
|
68
|
+
searchtitle: "Chercher un enregistrement",
|
69
|
+
refreshtext: "",
|
70
|
+
refreshtitle: "Recharger le tableau",
|
71
|
+
alertcap: "Avertissement",
|
72
|
+
alerttext: "Veuillez sélectionner une ligne",
|
73
|
+
viewtext: "",
|
74
|
+
viewtitle: "Afficher la ligne sélectionnée"
|
75
|
+
},
|
76
|
+
col : {
|
77
|
+
caption: "Afficher/Masquer les colonnes",
|
78
|
+
bSubmit: "Valider",
|
79
|
+
bCancel: "Annuler"
|
80
|
+
},
|
81
|
+
errors : {
|
82
|
+
errcap : "Erreur",
|
83
|
+
nourl : "Aucune adresse n'est paramétrée",
|
84
|
+
norecords: "Aucun enregistrement à traiter",
|
85
|
+
model : "Nombre de titres (colNames) <> Nombre de données (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
|
+
"Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
|
94
|
+
"Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
|
95
|
+
],
|
96
|
+
monthNames: [
|
97
|
+
"Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc",
|
98
|
+
"Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"
|
99
|
+
],
|
100
|
+
AmPm : ["am","pm","AM","PM"],
|
101
|
+
S: function (j) {return j == 1 ? 'er' : 'e';},
|
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,126 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Galician Translation
|
4
|
+
* Translated by Jorge Barreiro <yortx.barry@gmail.com>
|
5
|
+
* Dual licensed under the MIT and GPL licenses:
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
7
|
+
* http://www.gnu.org/licenses/gpl.html
|
8
|
+
**/
|
9
|
+
$.jgrid = {
|
10
|
+
defaults : {
|
11
|
+
recordtext: "Amosando {0} - {1} de {2}",
|
12
|
+
emptyrecords: "Sen rexistros que amosar",
|
13
|
+
loadtext: "Cargando...",
|
14
|
+
pgtext : "Páxina {0} de {1}"
|
15
|
+
},
|
16
|
+
search : {
|
17
|
+
caption: "Búsqueda...",
|
18
|
+
Find: "Buscar",
|
19
|
+
Reset: "Limpar",
|
20
|
+
odata : ['igual ', 'diferente a', 'menor que', 'menor ou igual que','maior que','maior ou igual a', 'empece por','non empece por','está en','non está en','termina por','non termina por','contén','non contén'],
|
21
|
+
groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "calquera" } ],
|
22
|
+
matchText: " match",
|
23
|
+
rulesText: " regras"
|
24
|
+
},
|
25
|
+
edit : {
|
26
|
+
addCaption: "Engadir rexistro",
|
27
|
+
editCaption: "Modificar rexistro",
|
28
|
+
bSubmit: "Gardar",
|
29
|
+
bCancel: "Cancelar",
|
30
|
+
bClose: "Pechar",
|
31
|
+
saveData: "Modificáronse os datos, quere gardar os cambios?",
|
32
|
+
bYes : "Si",
|
33
|
+
bNo : "Non",
|
34
|
+
bExit : "Cancelar",
|
35
|
+
msg: {
|
36
|
+
required:"Campo obrigatorio",
|
37
|
+
number:"Introduza un número",
|
38
|
+
minValue:"O valor debe ser maior ou igual a ",
|
39
|
+
maxValue:"O valor debe ser menor ou igual a ",
|
40
|
+
email: "non é un enderezo de correo válido",
|
41
|
+
integer: "Introduza un valor enteiro",
|
42
|
+
date: "Introduza unha data correcta ",
|
43
|
+
url: "non é unha URL válida. Prefixo requerido ('http://' ou 'https://')",
|
44
|
+
nodefined : " non está definido.",
|
45
|
+
novalue : " o valor de retorno é obrigatorio.",
|
46
|
+
customarray : "A función persoalizada debe devolver un array.",
|
47
|
+
customfcheck : "A función persoalizada debe estar presente no caso de ter validación persoalizada."
|
48
|
+
}
|
49
|
+
},
|
50
|
+
view : {
|
51
|
+
caption: "Consultar rexistro",
|
52
|
+
bClose: "Pechar"
|
53
|
+
},
|
54
|
+
del : {
|
55
|
+
caption: "Eliminar",
|
56
|
+
msg: "Desexa eliminar os rexistros seleccionados?",
|
57
|
+
bSubmit: "Eliminar",
|
58
|
+
bCancel: "Cancelar"
|
59
|
+
},
|
60
|
+
nav : {
|
61
|
+
edittext: " ",
|
62
|
+
edittitle: "Modificar a fila seleccionada",
|
63
|
+
addtext:" ",
|
64
|
+
addtitle: "Engadir unha nova fila",
|
65
|
+
deltext: " ",
|
66
|
+
deltitle: "Eliminar a fila seleccionada",
|
67
|
+
searchtext: " ",
|
68
|
+
searchtitle: "Buscar información",
|
69
|
+
refreshtext: "",
|
70
|
+
refreshtitle: "Recargar datos",
|
71
|
+
alertcap: "Aviso",
|
72
|
+
alerttext: "Seleccione unha fila",
|
73
|
+
viewtext: "",
|
74
|
+
viewtitle: "Ver fila seleccionada"
|
75
|
+
},
|
76
|
+
col : {
|
77
|
+
caption: "Mostrar/ocultar columnas",
|
78
|
+
bSubmit: "Enviar",
|
79
|
+
bCancel: "Cancelar"
|
80
|
+
},
|
81
|
+
errors : {
|
82
|
+
errcap : "Erro",
|
83
|
+
nourl : "Non especificou unha URL",
|
84
|
+
norecords: "Non hai datos para procesar",
|
85
|
+
model : "As columnas de nomes son diferentes das columnas de modelo"
|
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
|
+
"Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa",
|
94
|
+
"Domingo", "Luns", "Martes", "Mércoles", "Xoves", "Vernes", "Sábado"
|
95
|
+
],
|
96
|
+
monthNames: [
|
97
|
+
"Xan", "Feb", "Mar", "Abr", "Mai", "Xuñ", "Xul", "Ago", "Set", "Out", "Nov", "Dec",
|
98
|
+
"Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"
|
99
|
+
],
|
100
|
+
AmPm : ["am","pm","AM","PM"],
|
101
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
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);
|