grid.locale-id.js 6.4 KB

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