ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

grid.locale-is.js
Go to the documentation of this file.
1 ;(function($){
9 $.jgrid = {
10 defaults : {
11 recordtext: "View {0} - {1} of {2}",
12 emptyrecords: "No records to view",
13 loadtext: "Hleður...",
14 pgtext : "Page {0} of {1}"
15 },
16 search : {
17 caption: "Leita...",
18 Find: "Leita",
19 Reset: "Endursetja",
20 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'],
21 groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
22 matchText: " match",
23 rulesText: " rules"
24 },
25 edit : {
26 addCaption: "Add Record",
27 editCaption: "Edit Record",
28 bSubmit: "Vista",
29 bCancel: "Hætta við",
30 bClose: "Loka",
31 saveData: "Data has been changed! Save changes?",
32 bYes : "Yes",
33 bNo : "No",
34 bExit : "Cancel",
35 msg: {
36 required:"Reitur er nauðsynlegur",
37 number:"Vinsamlega settu inn tölu",
38 minValue:"gildi verður að vera meira en eða jafnt og ",
39 maxValue:"gildi verður að vera minna en eða jafnt og ",
40 email: "er ekki löglegt email",
41 integer: "Vinsamlega settu inn tölu",
42 date: "Please, enter valid date value",
43 url: "is not a valid URL. Prefix required ('http://' or 'https://')",
44 nodefined : " is not defined!",
45 novalue : " return value is required!",
46 customarray : "Custom function should return array!",
47 customfcheck : "Custom function should be present in case of custom checking!"
48 }
49 },
50 view : {
51 caption: "View Record",
52 bClose: "Close"
53 },
54 del : {
55 caption: "Eyða",
56 msg: "Eyða völdum færslum ?",
57 bSubmit: "Eyða",
58 bCancel: "Hætta við"
59 },
60 nav : {
61 edittext: " ",
62 edittitle: "Breyta færslu",
63 addtext:" ",
64 addtitle: "Ný færsla",
65 deltext: " ",
66 deltitle: "Eyða færslu",
67 searchtext: " ",
68 searchtitle: "Leita",
69 refreshtext: "",
70 refreshtitle: "Endurhlaða",
71 alertcap: "Viðvörun",
72 alerttext: "Vinsamlega veldu færslu",
73 viewtext: "",
74 viewtitle: "View selected row"
75 },
76 col : {
77 caption: "Sýna / fela dálka",
78 bSubmit: "Vista",
79 bCancel: "Hætta við"
80 },
81 errors : {
82 errcap : "Villa",
83 nourl : "Vantar slóð",
84 norecords: "Engar færslur valdar",
85 model : "Length of 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 "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
94 "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
95 ],
96 monthNames: [
97 "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
98 "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
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);