messengercustom-servicesmacoslinuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskypefacebook-workplaceoutlookemailmicrosoft-teamsdiscord
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
270 lines
8.7 KiB
270 lines
8.7 KiB
9 years ago
|
Ext.onReady(function() {
|
||
|
|
||
|
if (Ext.Date) {
|
||
|
Ext.Date.monthNames = ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"];
|
||
|
|
||
|
Ext.Date.getShortMonthName = function(month) {
|
||
|
return Ext.Date.monthNames[month].substring(0, 3);
|
||
|
};
|
||
|
|
||
|
Ext.Date.monthNumbers = {
|
||
|
"Ocak": 0,
|
||
|
"Şubat": 1,
|
||
|
"Mart": 2,
|
||
|
"Nisan": 3,
|
||
|
"Mayıs": 4,
|
||
|
"Haziran": 5,
|
||
|
"Temmuz": 6,
|
||
|
"Ağustos": 7,
|
||
|
"Eylül": 8,
|
||
|
"Ekim": 9,
|
||
|
"Kasım": 10,
|
||
|
"Aralık": 11
|
||
|
};
|
||
|
|
||
|
Ext.Date.getMonthNumber = function(name) {
|
||
|
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||
|
};
|
||
|
|
||
|
Ext.Date.dayNames = ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"];
|
||
|
|
||
|
Ext.Date.shortDayNames = ["Paz", "Pzt", "Sal", "Çrş", "Prş", "Cum", "Cmt"];
|
||
|
|
||
|
Ext.Date.getShortDayName = function(day) {
|
||
|
return Ext.Date.shortDayNames[day];
|
||
|
};
|
||
|
}
|
||
|
|
||
|
if (Ext.util && Ext.util.Format) {
|
||
|
Ext.apply(Ext.util.Format, {
|
||
|
thousandSeparator: '.',
|
||
|
decimalSeparator: ',',
|
||
|
currencySign: 'TL',
|
||
|
// Turkish Lira
|
||
|
dateFormat: 'd/m/Y'
|
||
|
});
|
||
|
}
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.view.View", {
|
||
|
override: "Ext.view.View",
|
||
|
emptyText: ""
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.grid.Grid", {
|
||
|
override: "Ext.grid.Grid",
|
||
|
ddText: "Seçili satır sayısı : {0}"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.tab.Tab", {
|
||
|
override: "Ext.tab.Tab",
|
||
|
closeText: "Sekmeyi kapat"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.form.field.Base", {
|
||
|
override: "Ext.form.field.Base",
|
||
|
invalidText: "Bu alandaki değer geçersiz"
|
||
|
});
|
||
|
|
||
|
// changing the msg text below will affect the LoadMask
|
||
|
Ext.define("Ext.locale.tr.view.AbstractView", {
|
||
|
override: "Ext.view.AbstractView",
|
||
|
loadingText: "Yükleniyor ..."
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.picker.Date", {
|
||
|
override: "Ext.picker.Date",
|
||
|
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: "",
|
||
|
nextText: 'Gelecek Ay (Control+Right)',
|
||
|
prevText: 'Önceki Ay (Control+Left)',
|
||
|
monthYearText: 'Bir ay seçiniz (Yılı artırmak/azaltmak için Control+Up/Down)',
|
||
|
todayTip: "{0} (Boşluk Tuşu - Spacebar)",
|
||
|
format: "d/m/Y",
|
||
|
startDay: 1
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.picker.Month", {
|
||
|
override: "Ext.picker.Month",
|
||
|
okText: "*Tamam*",
|
||
|
cancelText: "İptal"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.toolbar.Paging", {
|
||
|
override: "Ext.PagingToolbar",
|
||
|
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'
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.form.field.Text", {
|
||
|
override: "Ext.form.field.Text",
|
||
|
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
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.form.field.Number", {
|
||
|
override: "Ext.form.field.Number",
|
||
|
minText: "En az {0} girilebilir",
|
||
|
maxText: "En çok {0} girilebilir",
|
||
|
nanText: "{0} geçersiz bir sayıdır"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.form.field.Date", {
|
||
|
override: "Ext.form.field.Date",
|
||
|
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"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.form.field.ComboBox", {
|
||
|
override: "Ext.form.field.ComboBox",
|
||
|
valueNotFoundText: undefined
|
||
|
}, function() {
|
||
|
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||
|
loadingText: "Yükleniyor ..."
|
||
|
});
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.form.field.VTypes", {
|
||
|
override: "Ext.form.field.VTypes",
|
||
|
emailText: 'Bu alan "user@example.com" şeklinde elektronik posta formatında olmalıdır',
|
||
|
urlText: 'Bu alan "http://www.example.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'
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.form.field.HtmlEditor", {
|
||
|
override: "Ext.form.field.HtmlEditor",
|
||
|
createLinkText: 'Lütfen bu bağlantı için gerekli URL adresini giriniz:'
|
||
|
}, function() {
|
||
|
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||
|
buttonTips: {
|
||
|
bold: {
|
||
|
title: 'Kalın(Bold) (Ctrl+B)',
|
||
|
text: 'Seçili yazıyı kalın yapar.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
italic: {
|
||
|
title: 'İtalik(Italic) (Ctrl+I)',
|
||
|
text: 'Seçili yazıyı italik yapar.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
underline: {
|
||
|
title: 'Alt Çizgi(Underline) (Ctrl+U)',
|
||
|
text: 'Seçili yazının altını çizer.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
increasefontsize: {
|
||
|
title: 'Fontu büyült',
|
||
|
text: 'Yazı fontunu büyütür.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
decreasefontsize: {
|
||
|
title: 'Fontu küçült',
|
||
|
text: 'Yazı fontunu küçültür.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
backcolor: {
|
||
|
title: 'Arka Plan Rengi',
|
||
|
text: 'Seçili yazının arka plan rengini değiştir.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
forecolor: {
|
||
|
title: 'Yazı Rengi',
|
||
|
text: 'Seçili yazının rengini değiştir.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
justifyleft: {
|
||
|
title: 'Sola Daya',
|
||
|
text: 'Yazıyı sola daya.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
justifycenter: {
|
||
|
title: 'Ortala',
|
||
|
text: 'Yazıyı editörde ortala.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
justifyright: {
|
||
|
title: 'Sağa daya',
|
||
|
text: 'Yazıyı sağa daya.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
insertunorderedlist: {
|
||
|
title: 'Noktalı Liste',
|
||
|
text: 'Noktalı listeye başla.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
insertorderedlist: {
|
||
|
title: 'Numaralı Liste',
|
||
|
text: 'Numaralı lisyeye başla.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
createlink: {
|
||
|
title: 'Web Adresi(Hyperlink)',
|
||
|
text: 'Seçili yazıyı web adresi(hyperlink) yap.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
},
|
||
|
sourceedit: {
|
||
|
title: 'Kaynak kodu Düzenleme',
|
||
|
text: 'Kaynak kodu düzenleme moduna geç.',
|
||
|
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.grid.header.Container", {
|
||
|
override: "Ext.grid.header.Container",
|
||
|
sortAscText: "Artan sırada sırala",
|
||
|
sortDescText: "Azalan sırada sırala",
|
||
|
lockText: "Kolonu kilitle",
|
||
|
unlockText: "Kolon kilidini kaldır",
|
||
|
columnsText: "Kolonlar"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.grid.GroupingFeature", {
|
||
|
override: "Ext.grid.feature.Grouping",
|
||
|
emptyGroupText: '(Yok)',
|
||
|
groupByText: 'Bu Alana Göre Grupla',
|
||
|
showGroupsText: 'Gruplar Halinde Göster'
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.grid.PropertyColumnModel", {
|
||
|
override: "Ext.grid.PropertyColumnModel",
|
||
|
nameText: "Ad",
|
||
|
valueText: "Değer",
|
||
|
dateFormat: "d/m/Y"
|
||
|
});
|
||
|
|
||
|
Ext.define("Ext.locale.tr.window.MessageBox", {
|
||
|
override: "Ext.window.MessageBox",
|
||
|
buttonText: {
|
||
|
ok: "Tamam",
|
||
|
cancel: "İptal",
|
||
|
yes: "Evet",
|
||
|
no: "Hayır"
|
||
|
}
|
||
|
});
|
||
|
|
||
|
// This is needed until we can refactor all of the locales into individual files
|
||
|
Ext.define("Ext.locale.tr.Component", {
|
||
|
override: "Ext.Component"
|
||
|
});
|