grid.locale-id.js 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. ;(function($){
  2. /**
  3. * jqGrid English Translation
  4. * Tony Tomov tony@trirand.com
  5. * http://trirand.com/blog/
  6. * Dual licensed under the MIT and GPL licenses:
  7. * http://www.opensource.org/licenses/mit-license.php
  8. * http://www.gnu.org/licenses/gpl.html
  9. **/
  10. $.jgrid = $.jgrid || {};
  11. $.extend($.jgrid,{
  12. defaults : {
  13. recordtext: "Data {0} - {1} dari {2}",
  14. emptyrecords: "Tidak ada data",
  15. loadtext: "Memuat...",
  16. pgtext : "Halaman {0} dari {1}"
  17. },
  18. search : {
  19. caption: "Pencarian",
  20. Find: "Cari !",
  21. Reset: "Segarkan",
  22. odata: [{ oper:'eq', text:"sama dengan"},{ oper:'ne', text:"tidak sama dengan"},{ oper:'lt', text:"kurang dari"},{ oper:'le', text:"kurang dari atau sama dengan"},{ oper:'gt', text:"lebih besar"},{ oper:'ge', text:"lebih besar atau sama dengan"},{ oper:'bw', text:"dimulai dengan"},{ oper:'bn', text:"tidak dimulai dengan"},{ oper:'in', text:"di dalam"},{ oper:'ni', text:"tidak di dalam"},{ oper:'ew', text:"diakhiri dengan"},{ oper:'en', text:"tidak diakhiri dengan"},{ oper:'cn', text:"mengandung"},{ oper:'nc', text:"tidak mengandung"}],
  23. groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
  24. },
  25. edit : {
  26. addCaption: "Tambah Data",
  27. editCaption: "Sunting Data",
  28. bSubmit: "Submit",
  29. bCancel: "Tutup",
  30. bClose: "Tutup",
  31. saveData: "Data telah berubah! Simpan perubahan?",
  32. bYes : "Ya",
  33. bNo : "Tidak",
  34. bExit : "Tutup",
  35. msg: {
  36. required:"kolom wajib diisi",
  37. number:"hanya nomer yang diperbolehkan",
  38. minValue:"kolom harus lebih besar dari atau sama dengan",
  39. maxValue:"kolom harus lebih kecil atau sama dengan",
  40. email: "alamat e-mail tidak valid",
  41. integer: "hanya nilai integer yang diperbolehkan",
  42. date: "nilai tanggal tidak valid",
  43. url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
  44. nodefined : " belum didefinisikan!",
  45. novalue : " return value is required!",
  46. customarray : "Custom function should return array!",
  47. customfcheck : "Custom function should be present in case of custom checking!"
  48. }
  49. },
  50. view : {
  51. caption: "Menampilkan data",
  52. bClose: "Tutup"
  53. },
  54. del : {
  55. caption: "Hapus",
  56. msg: "Hapus data terpilih?",
  57. bSubmit: "Hapus",
  58. bCancel: "Batalkan"
  59. },
  60. nav : {
  61. edittext: "",
  62. edittitle: "Sunting data terpilih",
  63. addtext:"",
  64. addtitle: "Tambah baris baru",
  65. deltext: "",
  66. deltitle: "Hapus baris terpilih",
  67. searchtext: "",
  68. searchtitle: "Temukan data",
  69. refreshtext: "",
  70. refreshtitle: "Segarkan Grid",
  71. alertcap: "Warning",
  72. alerttext: "Harap pilih baris",
  73. viewtext: "",
  74. viewtitle: "Tampilkan baris terpilih"
  75. },
  76. col : {
  77. caption: "Pilih Kolom",
  78. bSubmit: "Ok",
  79. bCancel: "Batal"
  80. },
  81. errors : {
  82. errcap : "Error",
  83. nourl : "Tidak ada url yang diset",
  84. norecords: "Tidak ada data untuk diproses",
  85. model : "Lebar dari colNames <> colModel!"
  86. },
  87. formatter : {
  88. integer : {thousandsSeparator: ".", defaultValue: '0'},
  89. number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
  90. currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
  91. date : {
  92. dayNames: [
  93. "Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
  94. "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
  95. ],
  96. monthNames: [
  97. "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
  98. "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
  99. ],
  100. AmPm : ["am","pm","AM","PM"],
  101. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
  102. srcformat: 'Y-m-d',
  103. newformat: 'n/j/Y',
  104. parseRe : /[Tt\\\/:_;.,\t\s-]/,
  105. masks : {
  106. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  107. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  108. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  109. // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
  110. // information about date, time, numbers and currency formats used in different countries
  111. // one should just convert the information in PHP format
  112. ISO8601Long:"Y-m-d H:i:s",
  113. ISO8601Short:"Y-m-d",
  114. // short date:
  115. // n - Numeric representation of a month, without leading zeros
  116. // j - Day of the month without leading zeros
  117. // Y - A full numeric representation of a year, 4 digits
  118. // example: 3/1/2012 which means 1 March 2012
  119. ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
  120. // long date:
  121. // l - A full textual representation of the day of the week
  122. // F - A full textual representation of a month
  123. // d - Day of the month, 2 digits with leading zeros
  124. // Y - A full numeric representation of a year, 4 digits
  125. LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
  126. // long date with long time:
  127. // l - A full textual representation of the day of the week
  128. // F - A full textual representation of a month
  129. // d - Day of the month, 2 digits with leading zeros
  130. // Y - A full numeric representation of a year, 4 digits
  131. // g - 12-hour format of an hour without leading zeros
  132. // i - Minutes with leading zeros
  133. // s - Seconds, with leading zeros
  134. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  135. FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
  136. // month day:
  137. // F - A full textual representation of a month
  138. // d - Day of the month, 2 digits with leading zeros
  139. MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
  140. // short time (without seconds)
  141. // g - 12-hour format of an hour without leading zeros
  142. // i - Minutes with leading zeros
  143. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  144. ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
  145. // long time (with seconds)
  146. // g - 12-hour format of an hour without leading zeros
  147. // i - Minutes with leading zeros
  148. // s - Seconds, with leading zeros
  149. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  150. LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
  151. SortableDateTime: "Y-m-d\\TH:i:s",
  152. UniversalSortableDateTime: "Y-m-d H:i:sO",
  153. // month with year
  154. // Y - A full numeric representation of a year, 4 digits
  155. // F - A full textual representation of a month
  156. YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
  157. },
  158. reformatAfterEdit : false
  159. },
  160. baseLinkUrl: '',
  161. showAction: '',
  162. target: '',
  163. checkbox : {disabled:true},
  164. idName : 'id'
  165. }
  166. });
  167. })(jQuery);