ext-locale-tr.js 8.7 KB

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