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,128 +1,128 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Spanish Translation
4
- * Traduccion jqGrid en Español por Yamil Bracho
5
- * Traduccion corregida y ampliada por Faserline, S.L.
6
- * http://www.faserline.com
7
- * Dual licensed under the MIT and GPL licenses:
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * http://www.gnu.org/licenses/gpl.html
10
- **/
11
- $.jgrid = {
12
- defaults : {
13
- recordtext: "Mostrando {0} - {1} de {2}",
14
- emptyrecords: "Sin registros que mostrar",
15
- loadtext: "Cargando...",
16
- pgtext : "Página {0} de {1}"
17
- },
18
- search : {
19
- caption: "Búsqueda...",
20
- Find: "Buscar",
21
- Reset: "Limpiar",
22
- odata : ['igual ', 'no igual a', 'menor que', 'menor o igual que','mayor que','mayor o igual a', 'empiece por','no empiece por','está en','no está en','termina por','no termina por','contiene','no contiene'],
23
- groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ],
24
- matchText: " match",
25
- rulesText: " reglas"
26
- },
27
- edit : {
28
- addCaption: "Agregar registro",
29
- editCaption: "Modificar registro",
30
- bSubmit: "Guardar",
31
- bCancel: "Cancelar",
32
- bClose: "Cerrar",
33
- saveData: "Se han modificado los datos, ¿guardar cambios?",
34
- bYes : "Si",
35
- bNo : "No",
36
- bExit : "Cancelar",
37
- msg: {
38
- required:"Campo obligatorio",
39
- number:"Introduzca un número",
40
- minValue:"El valor debe ser mayor o igual a ",
41
- maxValue:"El valor debe ser menor o igual a ",
42
- email: "no es una dirección de correo válida",
43
- integer: "Introduzca un valor entero",
44
- date: "Introduza una fecha correcta ",
45
- url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')",
46
- nodefined : " no está definido.",
47
- novalue : " valor de retorno es requerido.",
48
- customarray : "La función personalizada debe devolver un array.",
49
- customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada."
50
- }
51
- },
52
- view : {
53
- caption: "Consultar registro",
54
- bClose: "Cerrar"
55
- },
56
- del : {
57
- caption: "Eliminar",
58
- msg: "¿Desea eliminar los registros seleccionados?",
59
- bSubmit: "Eliminar",
60
- bCancel: "Cancelar"
61
- },
62
- nav : {
63
- edittext: " ",
64
- edittitle: "Modificar fila seleccionada",
65
- addtext:" ",
66
- addtitle: "Agregar nueva fila",
67
- deltext: " ",
68
- deltitle: "Eliminar fila seleccionada",
69
- searchtext: " ",
70
- searchtitle: "Buscar información",
71
- refreshtext: "",
72
- refreshtitle: "Recargar datos",
73
- alertcap: "Aviso",
74
- alerttext: "Seleccione una fila",
75
- viewtext: "",
76
- viewtitle: "Ver fila seleccionada"
77
- },
78
- col : {
79
- caption: "Mostrar/ocultar columnas",
80
- bSubmit: "Enviar",
81
- bCancel: "Cancelar"
82
- },
83
- errors : {
84
- errcap : "Error",
85
- nourl : "No se ha especificado una URL",
86
- norecords: "No hay datos para procesar",
87
- model : "Las columnas de nombres son diferentes de las columnas de modelo"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: ".", defaultValue: '0'},
91
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
92
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
- date : {
94
- dayNames: [
95
- "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa",
96
- "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"
97
- ],
98
- monthNames: [
99
- "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic",
100
- "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
101
- ],
102
- AmPm : ["am","pm","AM","PM"],
103
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
- srcformat: 'Y-m-d',
105
- newformat: 'd-m-Y',
106
- masks : {
107
- ISO8601Long:"Y-m-d H:i:s",
108
- ISO8601Short:"Y-m-d",
109
- ShortDate: "n/j/Y",
110
- LongDate: "l, F d, Y",
111
- FullDateTime: "l, F d, Y g:i:s A",
112
- MonthDay: "F d",
113
- ShortTime: "g:i A",
114
- LongTime: "g:i:s A",
115
- SortableDateTime: "Y-m-d\\TH:i:s",
116
- UniversalSortableDateTime: "Y-m-d H:i:sO",
117
- YearMonth: "F, Y"
118
- },
119
- reformatAfterEdit : false
120
- },
121
- baseLinkUrl: '',
122
- showAction: '',
123
- target: '',
124
- checkbox : {disabled:true},
125
- idName : 'id'
126
- }
127
- };
128
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Spanish Translation
4
+ * Traduccion jqGrid en Español por Yamil Bracho
5
+ * Traduccion corregida y ampliada por Faserline, S.L.
6
+ * http://www.faserline.com
7
+ * Dual licensed under the MIT and GPL licenses:
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ * http://www.gnu.org/licenses/gpl.html
10
+ **/
11
+ $.jgrid = {
12
+ defaults : {
13
+ recordtext: "Mostrando {0} - {1} de {2}",
14
+ emptyrecords: "Sin registros que mostrar",
15
+ loadtext: "Cargando...",
16
+ pgtext : "Página {0} de {1}"
17
+ },
18
+ search : {
19
+ caption: "Búsqueda...",
20
+ Find: "Buscar",
21
+ Reset: "Limpiar",
22
+ odata : ['igual ', 'no igual a', 'menor que', 'menor o igual que','mayor que','mayor o igual a', 'empiece por','no empiece por','está en','no está en','termina por','no termina por','contiene','no contiene'],
23
+ groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ],
24
+ matchText: " match",
25
+ rulesText: " reglas"
26
+ },
27
+ edit : {
28
+ addCaption: "Agregar registro",
29
+ editCaption: "Modificar registro",
30
+ bSubmit: "Guardar",
31
+ bCancel: "Cancelar",
32
+ bClose: "Cerrar",
33
+ saveData: "Se han modificado los datos, ¿guardar cambios?",
34
+ bYes : "Si",
35
+ bNo : "No",
36
+ bExit : "Cancelar",
37
+ msg: {
38
+ required:"Campo obligatorio",
39
+ number:"Introduzca un número",
40
+ minValue:"El valor debe ser mayor o igual a ",
41
+ maxValue:"El valor debe ser menor o igual a ",
42
+ email: "no es una dirección de correo válida",
43
+ integer: "Introduzca un valor entero",
44
+ date: "Introduza una fecha correcta ",
45
+ url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')",
46
+ nodefined : " no está definido.",
47
+ novalue : " valor de retorno es requerido.",
48
+ customarray : "La función personalizada debe devolver un array.",
49
+ customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada."
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Consultar registro",
54
+ bClose: "Cerrar"
55
+ },
56
+ del : {
57
+ caption: "Eliminar",
58
+ msg: "¿Desea eliminar los registros seleccionados?",
59
+ bSubmit: "Eliminar",
60
+ bCancel: "Cancelar"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Modificar fila seleccionada",
65
+ addtext:" ",
66
+ addtitle: "Agregar nueva fila",
67
+ deltext: " ",
68
+ deltitle: "Eliminar fila seleccionada",
69
+ searchtext: " ",
70
+ searchtitle: "Buscar información",
71
+ refreshtext: "",
72
+ refreshtitle: "Recargar datos",
73
+ alertcap: "Aviso",
74
+ alerttext: "Seleccione una fila",
75
+ viewtext: "",
76
+ viewtitle: "Ver fila seleccionada"
77
+ },
78
+ col : {
79
+ caption: "Mostrar/ocultar columnas",
80
+ bSubmit: "Enviar",
81
+ bCancel: "Cancelar"
82
+ },
83
+ errors : {
84
+ errcap : "Error",
85
+ nourl : "No se ha especificado una URL",
86
+ norecords: "No hay datos para procesar",
87
+ model : "Las columnas de nombres son diferentes de las columnas de modelo"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa",
96
+ "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"
97
+ ],
98
+ monthNames: [
99
+ "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic",
100
+ "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
101
+ ],
102
+ AmPm : ["am","pm","AM","PM"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd-m-Y',
106
+ masks : {
107
+ ISO8601Long:"Y-m-d H:i:s",
108
+ ISO8601Short:"Y-m-d",
109
+ ShortDate: "n/j/Y",
110
+ LongDate: "l, F d, Y",
111
+ FullDateTime: "l, F d, Y g:i:s A",
112
+ MonthDay: "F d",
113
+ ShortTime: "g:i A",
114
+ LongTime: "g:i:s A",
115
+ SortableDateTime: "Y-m-d\\TH:i:s",
116
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
117
+ YearMonth: "F, Y"
118
+ },
119
+ reformatAfterEdit : false
120
+ },
121
+ baseLinkUrl: '',
122
+ showAction: '',
123
+ target: '',
124
+ checkbox : {disabled:true},
125
+ idName : 'id'
126
+ }
127
+ };
128
+ })(jQuery);
@@ -1,125 +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: "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);
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);