grid.locale-id.js 6.7 KB

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