]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.onReady(function() {\r |
2 | \r | |
3 | if (Ext.Date) {\r | |
4 | Ext.Date.monthNames = ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"];\r | |
5 | \r | |
6 | Ext.Date.getShortMonthName = function(month) {\r | |
7 | return Ext.Date.monthNames[month].substring(0, 3);\r | |
8 | };\r | |
9 | \r | |
10 | Ext.Date.monthNumbers = {\r | |
11 | "Ocak": 0,\r | |
12 | "Şubat": 1,\r | |
13 | "Mart": 2,\r | |
14 | "Nisan": 3,\r | |
15 | "Mayıs": 4,\r | |
16 | "Haziran": 5,\r | |
17 | "Temmuz": 6,\r | |
18 | "Ağustos": 7,\r | |
19 | "Eylül": 8,\r | |
20 | "Ekim": 9,\r | |
21 | "Kasım": 10,\r | |
22 | "Aralık": 11\r | |
23 | };\r | |
24 | \r | |
25 | Ext.Date.getMonthNumber = function(name) {\r | |
26 | return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];\r | |
27 | };\r | |
28 | \r | |
29 | Ext.Date.dayNames = ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"];\r | |
30 | \r | |
31 | Ext.Date.shortDayNames = ["Paz", "Pzt", "Sal", "Çrş", "Prş", "Cum", "Cmt"];\r | |
32 | \r | |
33 | Ext.Date.getShortDayName = function(day) {\r | |
34 | return Ext.Date.shortDayNames[day];\r | |
35 | };\r | |
36 | }\r | |
37 | \r | |
38 | if (Ext.util && Ext.util.Format) {\r | |
39 | Ext.apply(Ext.util.Format, {\r | |
40 | thousandSeparator: '.',\r | |
41 | decimalSeparator: ',',\r | |
42 | currencySign: 'TL',\r | |
43 | // Turkish Lira\r | |
44 | dateFormat: 'd/m/Y'\r | |
45 | });\r | |
46 | }\r | |
47 | });\r | |
48 | \r | |
49 | Ext.define("Ext.locale.tr.view.View", {\r | |
50 | override: "Ext.view.View",\r | |
51 | emptyText: ""\r | |
52 | });\r | |
53 | \r | |
54 | Ext.define("Ext.locale.tr.grid.Grid", {\r | |
55 | override: "Ext.grid.Grid",\r | |
56 | ddText: "Seçili satır sayısı : {0}"\r | |
57 | });\r | |
58 | \r | |
59 | Ext.define("Ext.locale.tr.tab.Tab", {\r | |
60 | override: "Ext.tab.Tab",\r | |
61 | closeText: "Sekmeyi kapat"\r | |
62 | });\r | |
63 | \r | |
64 | Ext.define("Ext.locale.tr.form.field.Base", {\r | |
65 | override: "Ext.form.field.Base",\r | |
66 | invalidText: "Bu alandaki değer geçersiz"\r | |
67 | });\r | |
68 | \r | |
69 | // changing the msg text below will affect the LoadMask\r | |
70 | Ext.define("Ext.locale.tr.view.AbstractView", {\r | |
71 | override: "Ext.view.AbstractView",\r | |
72 | loadingText: "Yükleniyor ..."\r | |
73 | });\r | |
74 | \r | |
75 | Ext.define("Ext.locale.tr.picker.Date", {\r | |
76 | override: "Ext.picker.Date",\r | |
77 | todayText: "Bugün",\r | |
78 | minText: "Bu tarih izin verilen en küçük tarihten daha önce",\r | |
79 | maxText: "Bu tarih izin verilen en büyük tarihten daha sonra",\r | |
80 | disabledDaysText: "",\r | |
81 | disabledDatesText: "",\r | |
82 | nextText: 'Gelecek Ay (Control+Right)',\r | |
83 | prevText: 'Önceki Ay (Control+Left)',\r | |
84 | monthYearText: 'Bir ay seçiniz (Yılı artırmak/azaltmak için Control+Up/Down)',\r | |
85 | todayTip: "{0} (Boşluk Tuşu - Spacebar)",\r | |
86 | format: "d/m/Y",\r | |
87 | startDay: 1\r | |
88 | });\r | |
89 | \r | |
90 | Ext.define("Ext.locale.tr.picker.Month", {\r | |
91 | override: "Ext.picker.Month",\r | |
92 | okText: "*Tamam*",\r | |
93 | cancelText: "İptal"\r | |
94 | });\r | |
95 | \r | |
96 | Ext.define("Ext.locale.tr.toolbar.Paging", {\r | |
97 | override: "Ext.PagingToolbar",\r | |
98 | beforePageText: "Sayfa",\r | |
99 | afterPageText: " / {0}",\r | |
100 | firstText: "İlk Sayfa",\r | |
101 | prevText: "Önceki Sayfa",\r | |
102 | nextText: "Sonraki Sayfa",\r | |
103 | lastText: "Son Sayfa",\r | |
104 | refreshText: "Yenile",\r | |
105 | displayMsg: "Gösterilen {0} - {1} / {2}",\r | |
106 | emptyMsg: 'Gösterilebilecek veri yok'\r | |
107 | });\r | |
108 | \r | |
109 | Ext.define("Ext.locale.tr.form.field.Text", {\r | |
110 | override: "Ext.form.field.Text",\r | |
111 | minLengthText: "Girilen verinin uzunluğu en az {0} olabilir",\r | |
112 | maxLengthText: "Girilen verinin uzunluğu en fazla {0} olabilir",\r | |
113 | blankText: "Bu alan boş bırakılamaz",\r | |
114 | regexText: "",\r | |
115 | emptyText: null\r | |
116 | });\r | |
117 | \r | |
118 | Ext.define("Ext.locale.tr.form.field.Number", {\r | |
119 | override: "Ext.form.field.Number",\r | |
120 | minText: "En az {0} girilebilir",\r | |
121 | maxText: "En çok {0} girilebilir",\r | |
122 | nanText: "{0} geçersiz bir sayıdır"\r | |
123 | });\r | |
124 | \r | |
125 | Ext.define("Ext.locale.tr.form.field.Date", {\r | |
126 | override: "Ext.form.field.Date",\r | |
127 | disabledDaysText: "Disabled",\r | |
128 | disabledDatesText: "Disabled",\r | |
129 | minText: "Bu tarih, {0} tarihinden daha sonra olmalıdır",\r | |
130 | maxText: "Bu tarih, {0} tarihinden daha önce olmalıdır",\r | |
131 | invalidText: "{0} geçersiz bir tarihdir - tarih formatı {1} şeklinde olmalıdır",\r | |
132 | format: "d/m/Y",\r | |
133 | altFormats: "d.m.y|d.m.Y|d/m/y|d-m-Y|d-m-y|d.m|d/m|d-m|dm|dmY|dmy|d|Y.m.d|Y-m-d|Y/m/d"\r | |
134 | });\r | |
135 | \r | |
136 | Ext.define("Ext.locale.tr.form.field.ComboBox", {\r | |
137 | override: "Ext.form.field.ComboBox",\r | |
138 | valueNotFoundText: undefined\r | |
139 | }, function() {\r | |
140 | Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {\r | |
141 | loadingText: "Yükleniyor ..."\r | |
142 | });\r | |
143 | });\r | |
144 | \r | |
145 | Ext.define("Ext.locale.tr.form.field.VTypes", {\r | |
146 | override: "Ext.form.field.VTypes",\r | |
147 | emailText: 'Bu alan "user@example.com" şeklinde elektronik posta formatında olmalıdır',\r | |
148 | urlText: 'Bu alan "http://www.example.com" şeklinde URL adres formatında olmalıdır',\r | |
149 | alphaText: 'Bu alan sadece harf ve _ içermeli',\r | |
150 | alphanumText: 'Bu alan sadece harf, sayı ve _ içermeli'\r | |
151 | });\r | |
152 | \r | |
153 | Ext.define("Ext.locale.tr.form.field.HtmlEditor", {\r | |
154 | override: "Ext.form.field.HtmlEditor",\r | |
155 | createLinkText: 'Lütfen bu bağlantı için gerekli URL adresini giriniz:'\r | |
156 | }, function() {\r | |
157 | Ext.apply(Ext.form.field.HtmlEditor.prototype, {\r | |
158 | buttonTips: {\r | |
159 | bold: {\r | |
160 | title: 'Kalın(Bold) (Ctrl+B)',\r | |
161 | text: 'Seçili yazıyı kalın yapar.',\r | |
162 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
163 | },\r | |
164 | italic: {\r | |
165 | title: 'İtalik(Italic) (Ctrl+I)',\r | |
166 | text: 'Seçili yazıyı italik yapar.',\r | |
167 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
168 | },\r | |
169 | underline: {\r | |
170 | title: 'Alt Çizgi(Underline) (Ctrl+U)',\r | |
171 | text: 'Seçili yazının altını çizer.',\r | |
172 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
173 | },\r | |
174 | increasefontsize: {\r | |
175 | title: 'Fontu büyült',\r | |
176 | text: 'Yazı fontunu büyütür.',\r | |
177 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
178 | },\r | |
179 | decreasefontsize: {\r | |
180 | title: 'Fontu küçült',\r | |
181 | text: 'Yazı fontunu küçültür.',\r | |
182 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
183 | },\r | |
184 | backcolor: {\r | |
185 | title: 'Arka Plan Rengi',\r | |
186 | text: 'Seçili yazının arka plan rengini değiştir.',\r | |
187 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
188 | },\r | |
189 | forecolor: {\r | |
190 | title: 'Yazı Rengi',\r | |
191 | text: 'Seçili yazının rengini değiştir.',\r | |
192 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
193 | },\r | |
194 | justifyleft: {\r | |
195 | title: 'Sola Daya',\r | |
196 | text: 'Yazıyı sola daya.',\r | |
197 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
198 | },\r | |
199 | justifycenter: {\r | |
200 | title: 'Ortala',\r | |
201 | text: 'Yazıyı editörde ortala.',\r | |
202 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
203 | },\r | |
204 | justifyright: {\r | |
205 | title: 'Sağa daya',\r | |
206 | text: 'Yazıyı sağa daya.',\r | |
207 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
208 | },\r | |
209 | insertunorderedlist: {\r | |
210 | title: 'Noktalı Liste',\r | |
211 | text: 'Noktalı listeye başla.',\r | |
212 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
213 | },\r | |
214 | insertorderedlist: {\r | |
215 | title: 'Numaralı Liste',\r | |
216 | text: 'Numaralı lisyeye başla.',\r | |
217 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
218 | },\r | |
219 | createlink: {\r | |
220 | title: 'Web Adresi(Hyperlink)',\r | |
221 | text: 'Seçili yazıyı web adresi(hyperlink) yap.',\r | |
222 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
223 | },\r | |
224 | sourceedit: {\r | |
225 | title: 'Kaynak kodu Düzenleme',\r | |
226 | text: 'Kaynak kodu düzenleme moduna geç.',\r | |
227 | cls: Ext.baseCSSPrefix + 'html-editor-tip'\r | |
228 | }\r | |
229 | }\r | |
230 | });\r | |
231 | });\r | |
232 | \r | |
233 | Ext.define("Ext.locale.tr.grid.header.Container", {\r | |
234 | override: "Ext.grid.header.Container",\r | |
235 | sortAscText: "Artan sırada sırala",\r | |
236 | sortDescText: "Azalan sırada sırala",\r | |
237 | lockText: "Kolonu kilitle",\r | |
238 | unlockText: "Kolon kilidini kaldır",\r | |
239 | columnsText: "Kolonlar"\r | |
240 | });\r | |
241 | \r | |
242 | Ext.define("Ext.locale.tr.grid.GroupingFeature", {\r | |
243 | override: "Ext.grid.feature.Grouping",\r | |
244 | emptyGroupText: '(Yok)',\r | |
245 | groupByText: 'Bu Alana Göre Grupla',\r | |
246 | showGroupsText: 'Gruplar Halinde Göster'\r | |
247 | });\r | |
248 | \r | |
249 | Ext.define("Ext.locale.tr.grid.PropertyColumnModel", {\r | |
250 | override: "Ext.grid.PropertyColumnModel",\r | |
251 | nameText: "Ad",\r | |
252 | valueText: "Değer",\r | |
253 | dateFormat: "d/m/Y"\r | |
254 | });\r | |
255 | \r | |
256 | Ext.define("Ext.locale.tr.window.MessageBox", {\r | |
257 | override: "Ext.window.MessageBox",\r | |
258 | buttonText: {\r | |
259 | ok: "Tamam",\r | |
260 | cancel: "İptal",\r | |
261 | yes: "Evet",\r | |
262 | no: "Hayır"\r | |
263 | } \r | |
264 | });\r | |
265 | \r | |
266 | // This is needed until we can refactor all of the locales into individual files\r | |
267 | Ext.define("Ext.locale.tr.Component", { \r | |
268 | override: "Ext.Component"\r | |
269 | });\r |