jqgrid-jquery-rails 4.2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +52 -0
  6. data/Rakefile +1 -0
  7. data/jqgrid-jquery-rails.gemspec +27 -0
  8. data/lib/jqgrid-jquery-rails.rb +2 -0
  9. data/lib/jqgrid-jquery-rails/engine.rb +6 -0
  10. data/lib/jqgrid-jquery-rails/version.rb +12 -0
  11. data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -0
  12. data/vendor/assets/javascripts/i18n/grid.locale-bg.js +132 -0
  13. data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +132 -0
  14. data/vendor/assets/javascripts/i18n/grid.locale-cat.js +128 -0
  15. data/vendor/assets/javascripts/i18n/grid.locale-cn.js +132 -0
  16. data/vendor/assets/javascripts/i18n/grid.locale-cs.js +128 -0
  17. data/vendor/assets/javascripts/i18n/grid.locale-da.js +128 -0
  18. data/vendor/assets/javascripts/i18n/grid.locale-de.js +133 -0
  19. data/vendor/assets/javascripts/i18n/grid.locale-el.js +126 -0
  20. data/vendor/assets/javascripts/i18n/grid.locale-en.js +128 -0
  21. data/vendor/assets/javascripts/i18n/grid.locale-es.js +128 -0
  22. data/vendor/assets/javascripts/i18n/grid.locale-fa.js +145 -0
  23. data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -0
  24. data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -0
  25. data/vendor/assets/javascripts/i18n/grid.locale-gl.js +126 -0
  26. data/vendor/assets/javascripts/i18n/grid.locale-he.js +127 -0
  27. data/vendor/assets/javascripts/i18n/grid.locale-hr.js +128 -0
  28. data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +128 -0
  29. data/vendor/assets/javascripts/i18n/grid.locale-hu.js +129 -0
  30. data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -0
  31. data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -0
  32. data/vendor/assets/javascripts/i18n/grid.locale-ja.js +155 -0
  33. data/vendor/assets/javascripts/i18n/grid.locale-lt.js +128 -0
  34. data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -0
  35. data/vendor/assets/javascripts/i18n/grid.locale-nl.js +149 -0
  36. data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -0
  37. data/vendor/assets/javascripts/i18n/grid.locale-pl.js +127 -0
  38. data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +127 -0
  39. data/vendor/assets/javascripts/i18n/grid.locale-pt.js +125 -0
  40. data/vendor/assets/javascripts/i18n/grid.locale-ro.js +139 -0
  41. data/vendor/assets/javascripts/i18n/grid.locale-ru.js +127 -0
  42. data/vendor/assets/javascripts/i18n/grid.locale-sk.js +127 -0
  43. data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -0
  44. data/vendor/assets/javascripts/i18n/grid.locale-sv.js +127 -0
  45. data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -0
  46. data/vendor/assets/javascripts/i18n/grid.locale-tr.js +126 -0
  47. data/vendor/assets/javascripts/i18n/grid.locale-ua.js +127 -0
  48. data/vendor/assets/javascripts/jqgrid-jquery-rails.js +5 -0
  49. data/vendor/assets/javascripts/jquery.jqGrid.min.js +487 -0
  50. data/vendor/assets/stylesheets/jqgrid-jquery-rails.css +6 -0
  51. data/vendor/assets/stylesheets/ui.jqgrid.css +136 -0
  52. metadata +165 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a679c52799dcdfd01e10bfc0dda689cd7dc88bcc
4
+ data.tar.gz: 54b90008b4b488544ed099eae4ba99ca8c6ab85b
5
+ SHA512:
6
+ metadata.gz: 8e150b135a1fb917957fd63827ec6305a91aec1aa0862b00a3df56b743a37637cfef39de2962264155f2294a3578a3f0bf964cf26e71000710e7286ab49c6d6e
7
+ data.tar.gz: 9e97f791ab1b35cf1152700f56a65974441d35e3de9040b2444973e2447c53b0b60db747ad42991986ef385d37759eb706dbbb08183859f995f484022d98b064
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in jqgridjqueryrails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Doc Walker
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # jqgrid-jquery-rails [![Gem Version](https://badge.fury.io/rb/jqgrid-jquery-rails.png)](http://badge.fury.io/rb/jqgrid-jquery-rails)
2
+
3
+ > Created by Doc Walker
4
+
5
+ Provides the `jqGrid` jQuery plugin packaged for the Rails 3.1+ asset pipeline.
6
+
7
+ ## Installation
8
+
9
+ Add these lines to your application's Gemfile:
10
+
11
+ # jqgrid jquery plugin packaged for the rails asset pipeline
12
+ gem 'jqgrid-jquery-rails', '~> 4.2.0'
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install jqgrid-jquery-rails
21
+
22
+ Gem version notes:
23
+
24
+ - x.y.z version will track the `jqGrid` plugin version;
25
+ - It may contain a suffix to differentiate versions of the gem based on the same `jqGrid` plugin version;
26
+
27
+ ## Usage
28
+
29
+ Add these lines to `app/assets/javascripts/application.js`
30
+
31
+ // provides jqgrid jquery plugin from gem 'jqgrid-jquery-rails':
32
+ //= require jqgrid-jquery-rails
33
+
34
+ Add these lines to `app/assets/stylesheets/application.css`
35
+
36
+ provides jqgrid jquery plugin from gem 'jqgrid-jquery-rails':
37
+ = require jqgrid-jquery-rails
38
+
39
+ ## Contributing
40
+
41
+ 1. Fork it
42
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
43
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
44
+ 4. Push to the branch (`git push origin my-new-feature`)
45
+ 5. Create new Pull Request
46
+
47
+ ## Acknowledgements
48
+
49
+ - [jqGrid](http://www.trirand.com/blog/) jQuery plugin
50
+ - [jqGrid Documentation](http://www.trirand.com/jqgridwiki/doku.php)
51
+ - [RailsCast #245](http://railscasts.com/episodes/245-new-gem-with-bundler) New Gem with Bundler -- inspiration
52
+ - [Gemify Assets for Rails](http://prioritized.net/blog/gemify-assets-for-rails/) -- guidance
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'jqgrid-jquery-rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "jqgrid-jquery-rails"
8
+ spec.version = JqgridJquery::Rails::VERSION
9
+ spec.authors = ["Doc Walker"]
10
+ spec.email = ["doc.walker@jameshardie.com"]
11
+ spec.description = %q{Provides the `jqGrid` jQuery plugin packaged for the Rails 3.1+ asset pipeline.}
12
+ spec.summary = %q{Provides the `jqGrid` jQuery plugin packaged for the Rails 3.1+ asset pipeline.}
13
+ spec.homepage = "https://github.com/jhx/gem-jqgrid-jquery-rails"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "railties", "~> 3.1"
22
+ spec.add_dependency "jquery-rails"
23
+ spec.add_dependency "jquery-ui-rails"
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.3"
26
+ spec.add_development_dependency "rake"
27
+ end
@@ -0,0 +1,2 @@
1
+ require "jqgrid-jquery-rails/version"
2
+ require "jqgrid-jquery-rails/engine" if defined?(::Rails)
@@ -0,0 +1,6 @@
1
+ module JqgridJquery
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,12 @@
1
+ module JqgridJquery
2
+ module Rails
3
+ # Use jqGrid version; append a pre-release version identifier if gem
4
+ # is updated without updating version of jqGrid.
5
+ # Examples:
6
+ # "2.0.0.rc1"
7
+ # "2.0.0.pre"
8
+ # "2.0.0.beta"
9
+ # Refer to Semantic Versioning 2.0.0 (http://semver.org).
10
+ VERSION = "4.2.0.0"
11
+ end
12
+ end
@@ -0,0 +1,126 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Arabic Translation
4
+ *
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: "تسجيل {0} - {1} على {2}",
13
+ emptyrecords: "لا يوجد تسجيل",
14
+ loadtext: "تحميل...",
15
+ pgtext : "صفحة {0} على {1}"
16
+ },
17
+ search : {
18
+ caption: "بحث...",
19
+ Find: "بحث",
20
+ Reset: "إلغاء",
21
+ odata : ['يساوي', 'يختلف', 'أقل', 'أقل أو يساوي','أكبر','أكبر أو يساوي', 'يبدأ بـ','لا يبدأ بـ','est dans',"n'est pas dans",'ينته بـ','لا ينته بـ','يحتوي','لا يحتوي'],
22
+ groupOps: [ { op: "مع", text: "الكل" }, { op: "أو", text: "لا أحد" } ],
23
+ matchText: " توافق",
24
+ rulesText: " قواعد"
25
+ },
26
+ edit : {
27
+ addCaption: "اضافة",
28
+ editCaption: "تحديث",
29
+ bSubmit: "تثبيث",
30
+ bCancel: "إلغاء",
31
+ bClose: "غلق",
32
+ saveData: "تغيرت المعطيات هل تريد التسجيل ?",
33
+ bYes: "نعم",
34
+ bNo: "لا",
35
+ bExit: "إلغاء",
36
+ msg: {
37
+ required: "خانة إجبارية",
38
+ number: "سجل رقم صحيح",
39
+ minValue: "يجب أن تكون القيمة أكبر أو تساوي 0",
40
+ maxValue: "يجب أن تكون القيمة أقل أو تساوي 0",
41
+ email: "بريد غير صحيح",
42
+ integer: "سجل عدد طبييعي صحيح",
43
+ url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')",
44
+ nodefined : " ليس محدد!",
45
+ novalue : " قيمة الرجوع مطلوبة!",
46
+ customarray : "يجب على الدالة الشخصية أن تنتج جدولا",
47
+ customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي"
48
+ }
49
+ },
50
+ view : {
51
+ caption: "رأيت التسجيلات",
52
+ bClose: "غلق"
53
+ },
54
+ del : {
55
+ caption: "حذف",
56
+ msg: "حذف التسجيلات المختارة ?",
57
+ bSubmit: "حذف",
58
+ bCancel: "إلغاء"
59
+ },
60
+ nav : {
61
+ edittext: " ",
62
+ edittitle: "تغيير التسجيل المختار",
63
+ addtext:" ",
64
+ addtitle: "إضافة تسجيل",
65
+ deltext: " ",
66
+ deltitle: "حذف التسجيل المختار",
67
+ searchtext: " ",
68
+ searchtitle: "بحث عن تسجيل",
69
+ refreshtext: "",
70
+ refreshtitle: "تحديث الجدول",
71
+ alertcap: "تحذير",
72
+ alerttext: "يرجى إختيار السطر",
73
+ viewtext: "",
74
+ viewtitle: "إظهار السطر المختار"
75
+ },
76
+ col : {
77
+ caption: "إظهار/إخفاء الأعمدة",
78
+ bSubmit: "تثبيث",
79
+ bCancel: "إلغاء"
80
+ },
81
+ errors : {
82
+ errcap : "خطأ",
83
+ nourl : "لا يوجد عنوان محدد",
84
+ norecords: "لا يوجد تسجيل للمعالجة",
85
+ model : "عدد العناوين (colNames) <> عدد التسجيلات (colModel)!"
86
+ },
87
+ formatter : {
88
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
89
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
90
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
91
+ date : {
92
+ dayNames: [
93
+ "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت",
94
+ "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"
95
+ ],
96
+ monthNames: [
97
+ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر",
98
+ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"
99
+ ],
100
+ AmPm : ["صباحا","مساءا","صباحا","مساءا"],
101
+ S: function (j) {return j == 1 ? '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,132 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Bulgarian 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: "{0} - {1} от {2}",
13
+ emptyrecords: "Няма запис(и)",
14
+ loadtext: "Зареждам...",
15
+ pgtext : "Стр. {0} от {1}"
16
+ },
17
+ search : {
18
+ caption: "Търсене...",
19
+ Find: "Намери",
20
+ Reset: "Изчисти",
21
+ odata : ['равно', 'различно', 'по-малко', 'по-малко или=','по-голямо','по-голямо или =', 'започва с','не започва с','се намира в','не се намира в','завършва с','не завършава с','съдържа', 'не съдържа' ],
22
+ groupOps: [ { op: "AND", text: "&nbsp;И " }, { op: "OR", text: "ИЛИ" } ],
23
+ matchText: " включи",
24
+ rulesText: " клауза"
25
+ },
26
+ edit : {
27
+ addCaption: "Нов Запис",
28
+ editCaption: "Редакция Запис",
29
+ bSubmit: "Запиши",
30
+ bCancel: "Изход",
31
+ bClose: "Затвори",
32
+ saveData: "Данните са променени! Да съхраня ли промените?",
33
+ bYes : "Да",
34
+ bNo : "Не",
35
+ bExit : "Отказ",
36
+ msg: {
37
+ required:"Полето е задължително",
38
+ number:"Въведете валидно число!",
39
+ minValue:"стойността трябва да е по-голяма или равна от",
40
+ maxValue:"стойността трябва да е по-малка или равна от",
41
+ email: "не е валиден ел. адрес",
42
+ integer: "Въведете валидно цяло число",
43
+ date: "Въведете валидна дата",
44
+ url: "e невалиден URL. Изискава се префикс('http://' или 'https://')",
45
+ nodefined : " е недефинирана!",
46
+ novalue : " изисква връщане на стойност!",
47
+ customarray : "Потреб. Функция трябва да върне масив!",
48
+ customfcheck : "Потребителска функция е задължителна при този тип елемент!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "Преглед запис",
53
+ bClose: "Затвори"
54
+ },
55
+ del : {
56
+ caption: "Изтриване",
57
+ msg: "Да изтрия ли избраният запис?",
58
+ bSubmit: "Изтрий",
59
+ bCancel: "Отказ"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Редакция избран запис",
64
+ addtext:" ",
65
+ addtitle: "Добавяне нов запис",
66
+ deltext: " ",
67
+ deltitle: "Изтриване избран запис",
68
+ searchtext: " ",
69
+ searchtitle: "Търсене запис(и)",
70
+ refreshtext: "",
71
+ refreshtitle: "Обнови таблица",
72
+ alertcap: "Предупреждение",
73
+ alerttext: "Моля, изберете запис",
74
+ viewtext: "",
75
+ viewtitle: "Преглед избран запис"
76
+ },
77
+ col : {
78
+ caption: "Избери колони",
79
+ bSubmit: "Ок",
80
+ bCancel: "Изход"
81
+ },
82
+ errors : {
83
+ errcap : "Грешка",
84
+ nourl : "Няма посочен url адрес",
85
+ norecords: "Няма запис за обработка",
86
+ model : "Модела не съответства на имената!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" лв.", defaultValue: '0.00'},
92
+ date : {
93
+ dayNames: [
94
+ "Нед", "Пон", "Вт", "Ср", "Чет", "Пет", "Съб",
95
+ "Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"
96
+ ],
97
+ monthNames: [
98
+ "Яну", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек",
99
+ "Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"
100
+ ],
101
+ AmPm : ["","","",""],
102
+ S: function (j) {
103
+ if(j==7 || j==8 || j== 27 || j== 28) {
104
+ return 'ми';
105
+ }
106
+ return ['ви', 'ри', 'ти'][Math.min((j - 1) % 10, 2)];
107
+ },
108
+ srcformat: 'Y-m-d',
109
+ newformat: 'd/m/Y',
110
+ masks : {
111
+ ISO8601Long:"Y-m-d H:i:s",
112
+ ISO8601Short:"Y-m-d",
113
+ ShortDate: "n/j/Y",
114
+ LongDate: "l, F d, Y",
115
+ FullDateTime: "l, F d, Y g:i:s A",
116
+ MonthDay: "F d",
117
+ ShortTime: "g:i A",
118
+ LongTime: "g:i:s A",
119
+ SortableDateTime: "Y-m-d\\TH:i:s",
120
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
121
+ YearMonth: "F, Y"
122
+ },
123
+ reformatAfterEdit : false
124
+ },
125
+ baseLinkUrl: '',
126
+ showAction: '',
127
+ target: '',
128
+ checkbox : {disabled:true},
129
+ idName : 'id'
130
+ }
131
+ };
132
+ })(jQuery);
@@ -0,0 +1,132 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Bulgarian 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: "{0} - {1} �� {2}",
13
+ emptyrecords: "���� �����(�)",
14
+ loadtext: "��������...",
15
+ pgtext : "���. {0} �� {1}"
16
+ },
17
+ search : {
18
+ caption: "�������...",
19
+ Find: "������",
20
+ Reset: "�������",
21
+ odata : ['�����', '��������', '��-�����', '��-����� ���=','��-������','��-������ ��� =', '������� �','�� ������� �','�� ������ �','�� �� ������ �','�������� �','�� ��������� �','�������', '�� �������' ],
22
+ groupOps: [ { op: "AND", text: " � " }, { op: "OR", text: "���" } ],
23
+ matchText: " ������",
24
+ rulesText: " ������"
25
+ },
26
+ edit : {
27
+ addCaption: "��� �����",
28
+ editCaption: "�������� �����",
29
+ bSubmit: "������",
30
+ bCancel: "�����",
31
+ bClose: "�������",
32
+ saveData: "������� �� ���������! �� ������� �� ���������?",
33
+ bYes : "��",
34
+ bNo : "��",
35
+ bExit : "�����",
36
+ msg: {
37
+ required:"������ � ������������",
38
+ number:"�������� ������� �����!",
39
+ minValue:"���������� ������ �� � ��-������ ��� ����� ��",
40
+ maxValue:"���������� ������ �� � ��-����� ��� ����� ��",
41
+ email: "�� � ������� ��. �����",
42
+ integer: "�������� ������� ���� �����",
43
+ date: "�������� ������� ����",
44
+ url: "e ��������� URL. �������� �� �������('http://' ��� 'https://')",
45
+ nodefined : " � ������������!",
46
+ novalue : " ������� ������� �� ��������!",
47
+ customarray : "������. ������� ������ �� ����� �����!",
48
+ customfcheck : "������������� ������� � ������������ ��� ���� ��� �������!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "������� �����",
53
+ bClose: "�������"
54
+ },
55
+ del : {
56
+ caption: "���������",
57
+ msg: "�� ������ �� ��������� �����?",
58
+ bSubmit: "������",
59
+ bCancel: "�����"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "�������� ������ �����",
64
+ addtext:" ",
65
+ addtitle: "�������� ��� �����",
66
+ deltext: " ",
67
+ deltitle: "��������� ������ �����",
68
+ searchtext: " ",
69
+ searchtitle: "������� �����(�)",
70
+ refreshtext: "",
71
+ refreshtitle: "������ �������",
72
+ alertcap: "��������������",
73
+ alerttext: "����, �������� �����",
74
+ viewtext: "",
75
+ viewtitle: "������� ������ �����"
76
+ },
77
+ col : {
78
+ caption: "����� ������",
79
+ bSubmit: "��",
80
+ bCancel: "�����"
81
+ },
82
+ errors : {
83
+ errcap : "������",
84
+ nourl : "���� ������� url �����",
85
+ norecords: "���� ����� �� ���������",
86
+ model : "������ �� ����������� �� �������!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" ��.", defaultValue: '0.00'},
92
+ date : {
93
+ dayNames: [
94
+ "���", "���", "��", "��", "���", "���", "���",
95
+ "������", "����������", "�������", "�����", "���������", "�����", "������"
96
+ ],
97
+ monthNames: [
98
+ "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���",
99
+ "������", "��������", "����", "�����", "���", "���", "���", "������", "���������", "��������", "�������", "��������"
100
+ ],
101
+ AmPm : ["","","",""],
102
+ S: function (j) {
103
+ if(j==7 || j==8 || j== 27 || j== 28) {
104
+ return '��';
105
+ }
106
+ return ['��', '��', '��'][Math.min((j - 1) % 10, 2)];
107
+ },
108
+ srcformat: 'Y-m-d',
109
+ newformat: 'd/m/Y',
110
+ masks : {
111
+ ISO8601Long:"Y-m-d H:i:s",
112
+ ISO8601Short:"Y-m-d",
113
+ ShortDate: "n/j/Y",
114
+ LongDate: "l, F d, Y",
115
+ FullDateTime: "l, F d, Y g:i:s A",
116
+ MonthDay: "F d",
117
+ ShortTime: "g:i A",
118
+ LongTime: "g:i:s A",
119
+ SortableDateTime: "Y-m-d\\TH:i:s",
120
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
121
+ YearMonth: "F, Y"
122
+ },
123
+ reformatAfterEdit : false
124
+ },
125
+ baseLinkUrl: '',
126
+ showAction: '',
127
+ target: '',
128
+ checkbox : {disabled:true},
129
+ idName : 'id'
130
+ }
131
+ };
132
+ })(jQuery);