grid.locale-id.js 6.9 KB

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