1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
|
/**
* List compiled by mystix on the extjs.com forums.
* Thank you Mystix!
*
* Turkish translation by Alper YAZGAN
* 2008-01-24 , 10:29 AM
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Yükleniyor ...</div>';
if(Ext.View){
Ext.View.prototype.emptyText = "";
}
if(Ext.grid.GridPanel){
Ext.grid.GridPanel.prototype.ddText = "Şeçili satır sayısı : {0}";
}
if(Ext.TabPanelItem){
Ext.TabPanelItem.prototype.closeText = "Sekmeyi kapat";
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "Bu alandaki değer geçersiz";
}
if(Ext.LoadMask){
Ext.LoadMask.prototype.msg = "Yükleniyor ...";
}
Date.monthNames = [
"Ocak",
"Şubat",
"Mart",
"Nisan",
"Mayıs",
"Haziran",
"Temmuz",
"Ağustos",
"Eylül",
"Ekim",
"Kasım",
"Aralık"
];
Date.getShortMonthName = function(month) {
return Date.monthNames[month].substring(0, 3);
};
Date.monthNumbers = {
Jan : 0,
Feb : 1,
Mar : 2,
Apr : 3,
May : 4,
Jun : 5,
Jul : 6,
Aug : 7,
Sep : 8,
Oct : 9,
Nov : 10,
Dec : 11
};
Date.getMonthNumber = function(name) {
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
};
Date.dayNames = [
"Pazar",
"Pazartesi",
"Salı",
"Çarşamba",
"Perşembe",
"Cuma",
"Cumartesi"
];
Date.shortDayNames = [
"Paz",
"Pzt",
"Sal",
"Çrş",
"Prş",
"Cum",
"Cmt"
];
Date.getShortDayName = function(day) {
return Date.shortDayNames[day];
};
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "Tamam",
cancel : "İptal",
yes : "Evet",
no : "Hayır"
};
}
if(Ext.util.Format){
Ext.util.Format.date = function(v, format){
if(!v) return "";
if(!(v instanceof Date)) v = new Date(Date.parse(v));
return v.dateFormat(format || "d/m/Y");
};
}
if(Ext.DatePicker){
Ext.apply(Ext.DatePicker.prototype, {
todayText : "Bugün",
minText : "Bu tarih izin verilen en küçük tarihten daha önce",
maxText : "Bu tarih izin verilen en büyük tarihten daha sonra",
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
nextText : 'Gelecek Ay (Control+Right)',
prevText : 'Önceki Ay (Control+Left)',
monthYearText : 'Bir ay şeçiniz (Yılı artırmak/azaltmak için Control+Up/Down)',
todayTip : "{0} (Boşluk Tuşu - Spacebar)",
format : "d/m/Y",
okText : " Tamam ",
cancelText : "İptal",
startDay : 1
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
beforePageText : "Sayfa",
afterPageText : " / {0}",
firstText : "İlk Sayfa",
prevText : "Önceki Sayfa",
nextText : "Sonraki Sayfa",
lastText : "Son Sayfa",
refreshText : "Yenile",
displayMsg : "Gösterilen {0} - {1} / {2}",
emptyMsg : 'Gösterilebilecek veri yok'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
minLengthText : "Girilen verinin uzunluğu en az {0} olabilir",
maxLengthText : "Girilen verinin uzunluğu en fazla {0} olabilir",
blankText : "Bu alan boş bırakılamaz",
regexText : "",
emptyText : null
});
}
if(Ext.form.NumberField){
Ext.apply(Ext.form.NumberField.prototype, {
minText : "En az {0} girilebilir",
maxText : "En çok {0} girilebilir",
nanText : "{0} geçersiz bir sayıdır"
});
}
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
disabledDaysText : "Disabled",
disabledDatesText : "Disabled",
minText : "Bu tarih, {0} tarihinden daha sonra olmalıdır",
maxText : "Bu tarih, {0} tarihinden daha önce olmalıdır",
invalidText : "{0} geçersiz bir tarihdir - tarih formatı {1} şeklinde olmalıdır",
format : "d/m/Y",
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"
});
}
if(Ext.form.ComboBox){
Ext.apply(Ext.form.ComboBox.prototype, {
loadingText : "Yükleniyor ...",
valueNotFoundText : undefined
});
}
if(Ext.form.VTypes){
Ext.apply(Ext.form.VTypes, {
emailText : 'Bu alan "user@domain.com" şeklinde elektronik posta formatında olmalıdır',
urlText : 'Bu alan "http://www.domain.com" şeklinde URL adres formatında olmalıdır',
alphaText : 'Bu alan sadece harf ve _ içermeli',
alphanumText : 'Bu alan sadece harf, sayı ve _ içermeli'
});
}
if(Ext.form.HtmlEditor){
Ext.apply(Ext.form.HtmlEditor.prototype, {
createLinkText : 'Lütfen bu bağlantı için gerekli URL adresini giriniz:',
buttonTips : {
bold : {
title: 'Kalın(Bold) (Ctrl+B)',
text: 'Şeçili yazıyı kalın yapar.',
cls: 'x-html-editor-tip'
},
italic : {
title: 'İtalik(Italic) (Ctrl+I)',
text: 'Şeçili yazıyı italik yapar.',
cls: 'x-html-editor-tip'
},
underline : {
title: 'Alt Çizgi(Underline) (Ctrl+U)',
text: 'Şeçili yazının altını çizer.',
cls: 'x-html-editor-tip'
},
increasefontsize : {
title: 'Fontu büyült',
text: 'Yazı fontunu büyütür.',
cls: 'x-html-editor-tip'
},
decreasefontsize : {
title: 'Fontu küçült',
text: 'Yazı fontunu küçültür.',
cls: 'x-html-editor-tip'
},
backcolor : {
title: 'Arka Plan Rengi',
text: 'Seçili yazının arka plan rengini değiştir.',
cls: 'x-html-editor-tip'
},
forecolor : {
title: 'Yazı Rengi',
text: 'Seçili yazının rengini değiştir.',
cls: 'x-html-editor-tip'
},
justifyleft : {
title: 'Sola Daya',
text: 'Yazıyı sola daya.',
cls: 'x-html-editor-tip'
},
justifycenter : {
title: 'Ortala',
text: 'Yazıyı editörde ortala.',
cls: 'x-html-editor-tip'
},
justifyright : {
title: 'Sağa daya',
text: 'Yazıyı sağa daya.',
cls: 'x-html-editor-tip'
},
insertunorderedlist : {
title: 'Noktalı Liste',
text: 'Noktalı listeye başla.',
cls: 'x-html-editor-tip'
},
insertorderedlist : {
title: 'Numaralı Liste',
text: 'Numaralı lisyeye başla.',
cls: 'x-html-editor-tip'
},
createlink : {
title: 'Web Adresi(Hyperlink)',
text: 'Seçili yazıyı web adresi(hyperlink) yap.',
cls: 'x-html-editor-tip'
},
sourceedit : {
title: 'Kaynak kodu Düzenleme',
text: 'Kaynak kodu düzenleme moduna geç.',
cls: 'x-html-editor-tip'
}
}
});
}
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
sortAscText : "Artan sırada sırala",
sortDescText : "Azalan sırada sırala",
lockText : "Kolonu kilitle",
unlockText : "Kolon kilidini kaldır",
columnsText : "Kolonlar"
});
}
if(Ext.grid.GroupingView){
Ext.apply(Ext.grid.GroupingView.prototype, {
emptyGroupText : '(Yok)',
groupByText : 'Bu Alana Göre Grupla',
showGroupsText : 'Gruplar Halinde Göster'
});
}
if(Ext.grid.PropertyColumnModel){
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
nameText : "Ad",
valueText : "Değer",
dateFormat : "d/m/Y"
});
}
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
splitTip : "Yeniden boyutlandırmak için sürükle.",
collapsibleSplitTip : "Yeniden boyutlandırmak için sürükle. Saklamak için çift tıkla."
});
}
|