grid.locale-tr.js 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. /**
  2. * @license jqGrid Turkish Translation
  3. * Erhan Gündoğan (erhan@trposta.net)
  4. * http://blog.zakkum.com
  5. * Dual licensed under the MIT and GPL licenses:
  6. * http://www.opensource.org/licenses/mit-license.php
  7. * http://www.gnu.org/licenses/gpl.html
  8. **/
  9. /*jslint white: true */
  10. /*global jQuery, module, require */
  11. (function (factory) {
  12. "use strict";
  13. if (typeof define === "function" && define.amd) {
  14. // AMD. Register as an anonymous module.
  15. define(["jquery"], factory);
  16. } else if (typeof module === "object" && module.exports) {
  17. // Node/CommonJS
  18. module.exports = function (root, $) {
  19. if ($ === undefined) {
  20. // require("jquery") returns a factory that requires window to
  21. // build a jQuery instance, we normalize how we use modules
  22. // that require this pattern but the window provided is a noop
  23. // if it's defined (how jquery works)
  24. $ = typeof window !== "undefined" ?
  25. require("jquery") :
  26. require("jquery")(root || window);
  27. }
  28. factory($);
  29. return $;
  30. };
  31. } else {
  32. // Browser globals
  33. factory(jQuery);
  34. }
  35. }(function ($) {
  36. "use strict";
  37. var locInfo = {
  38. isRTL: false,
  39. defaults: {
  40. recordtext: "{0}-{1} listeleniyor. Toplam:{2}",
  41. emptyrecords: "Kayıt bulunamadı",
  42. loadtext: "Yükleniyor...",
  43. pgtext: "{0}/{1}. Sayfa",
  44. pgfirst: "First Page",
  45. pglast: "Last Page",
  46. pgnext: "Next Page",
  47. pgprev: "Previous Page",
  48. pgrecs: "Records per Page",
  49. showhide: "Toggle Expand Collapse Grid",
  50. savetext: "Kaydedilen..."
  51. },
  52. search: {
  53. caption: "Arama...",
  54. Find: "Bul",
  55. Reset: "Temizle",
  56. odata: [
  57. { oper: "eq", text: "eşit" },
  58. { oper: "ne", text: "eşit değil" },
  59. { oper: "lt", text: "daha az" },
  60. { oper: "le", text: "daha az veya eşit" },
  61. { oper: "gt", text: "daha fazla" },
  62. { oper: "ge", text: "daha fazla veya eşit" },
  63. { oper: "bw", text: "ile başlayan" },
  64. { oper: "bn", text: "ile başlamayan" },
  65. { oper: "in", text: "içinde" },
  66. { oper: "ni", text: "içinde değil" },
  67. { oper: "ew", text: "ile biten" },
  68. { oper: "en", text: "ile bitmeyen" },
  69. { oper: "cn", text: "içeren" },
  70. { oper: "nc", text: "içermeyen" },
  71. { oper: "nu", text: "is null" },
  72. { oper: "nn", text: "is not null" }
  73. ],
  74. groupOps: [
  75. { op: "VE", text: "tüm" },
  76. { op: "VEYA", text: "herhangi" }
  77. ],
  78. addGroupTitle: "Add subgroup",
  79. deleteGroupTitle: "Delete group",
  80. addRuleTitle: "Add rule",
  81. deleteRuleTitle: "Delete rule",
  82. operandTitle: "Click to select search operation.",
  83. resetTitle: "Reset Search Value"
  84. },
  85. edit: {
  86. addCaption: "Kayıt Ekle",
  87. editCaption: "Kayıt Düzenle",
  88. bSubmit: "Gönder",
  89. bCancel: "İptal",
  90. bClose: "Kapat",
  91. saveData: "Veriler değişti! Kayıt edilsin mi?",
  92. bYes: "Evet",
  93. bNo: "Hayıt",
  94. bExit: "İptal",
  95. msg: {
  96. required: "Alan gerekli",
  97. number: "Lütfen bir numara giriniz",
  98. minValue: "girilen değer daha büyük ya da buna eşit olmalıdır",
  99. maxValue: "girilen değer daha küçük ya da buna eşit olmalıdır",
  100. email: "geçerli bir e-posta adresi değildir",
  101. integer: "Lütfen bir tamsayı giriniz",
  102. url: "Geçerli bir URL değil. ('http://' or 'https://') ön eki gerekli.",
  103. nodefined: " is not defined!",
  104. novalue: " return value is required!",
  105. customarray: "Custom function should return array!",
  106. customfcheck: "Custom function should be present in case of custom checking!"
  107. }
  108. },
  109. view: {
  110. caption: "Kayıt Görüntüle",
  111. bClose: "Kapat"
  112. },
  113. del: {
  114. caption: "Sil",
  115. msg: "Seçilen kayıtlar silinsin mi?",
  116. bSubmit: "Sil",
  117. bCancel: "İptal"
  118. },
  119. nav: {
  120. edittext: "",
  121. edittitle: "Seçili satırı düzenle",
  122. addtext: "",
  123. addtitle: "Yeni satır ekle",
  124. deltext: "",
  125. deltitle: "Seçili satırı sil",
  126. searchtext: "",
  127. searchtitle: "Kayıtları bul",
  128. refreshtext: "",
  129. refreshtitle: "Tabloyu yenile",
  130. alertcap: "Uyarı",
  131. alerttext: "Lütfen bir satır seçiniz",
  132. viewtext: "",
  133. viewtitle: "Seçilen satırı görüntüle",
  134. savetext: "",
  135. savetitle: "Save row",
  136. canceltext: "",
  137. canceltitle: "Cancel row editing"
  138. },
  139. col: {
  140. caption: "Sütunları göster/gizle",
  141. bSubmit: "Gönder",
  142. bCancel: "İptal"
  143. },
  144. errors: {
  145. errcap: "Hata",
  146. nourl: "Bir url yapılandırılmamış",
  147. norecords: "İşlem yapılacak bir kayıt yok",
  148. model: "colNames uzunluğu <> colModel!"
  149. },
  150. formatter: {
  151. integer: { thousandsSeparator: " ", defaultValue: "0" },
  152. number: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: "0.00" },
  153. currency: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00" },
  154. date: {
  155. dayNames: [
  156. "Paz", "Pts", "Sal", "Çar", "Per", "Cum", "Cts",
  157. "Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"
  158. ],
  159. monthNames: [
  160. "Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara",
  161. "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"
  162. ],
  163. AmPm: ["am", "pm", "AM", "PM"],
  164. S: function (j) {
  165. return j < 11 || j > 13 ? ["st", "nd", "rd", "th"][Math.min((j - 1) % 10, 3)] : "th";
  166. },
  167. srcformat: "Y-m-d",
  168. newformat: "d/m/Y",
  169. masks: {
  170. ShortDate: "n/j/Y",
  171. LongDate: "l, F d, Y",
  172. FullDateTime: "l, F d, Y g:i:s A",
  173. MonthDay: "F d",
  174. ShortTime: "g:i A",
  175. LongTime: "g:i:s A",
  176. YearMonth: "F, Y"
  177. }
  178. }
  179. }
  180. };
  181. $.jgrid = $.jgrid || {};
  182. $.extend(true, $.jgrid, {
  183. defaults: {
  184. locale: "tr"
  185. },
  186. locales: {
  187. // In general the property name is free, but it's recommended to use the names based on
  188. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  189. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  190. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  191. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  192. tr: $.extend({}, locInfo, { name: "Türkçe", nameEnglish: "Turkish" }),
  193. "tr-TR": $.extend({}, locInfo, { name: "Türkçe (Türkiye)", nameEnglish: "Turkish (Turkey)" })
  194. }
  195. });
  196. }));