grid.locale-id.js 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. /**
  2. * jqGrid Indonesian Translation
  3. * Tony Tomov tony@trirand.com
  4. * http://trirand.com/blog/
  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. /*global jQuery, define */
  10. (function( factory ) {
  11. "use strict";
  12. if ( typeof define === "function" && define.amd ) {
  13. // AMD. Register as an anonymous module.
  14. define([
  15. "jquery",
  16. "../grid.base"
  17. ], factory );
  18. } else {
  19. // Browser globals
  20. factory( jQuery );
  21. }
  22. }(function( $ ) {
  23. $.jgrid = $.jgrid || {};
  24. if(!$.jgrid.hasOwnProperty("regional")) {
  25. $.jgrid.regional = [];
  26. }
  27. $.jgrid.regional["id"] = {
  28. defaults : {
  29. recordtext: "Data {0} - {1} dari {2}",
  30. emptyrecords: "Tidak ada data",
  31. loadtext: "Memuat...",
  32. pgtext : "Halaman {0} dari {1}",
  33. savetext: "Saving...",
  34. pgfirst : "First Page",
  35. pglast : "Last Page",
  36. pgnext : "Next Page",
  37. pgprev : "Previous Page",
  38. pgrecs : "Records per Page",
  39. showhide: "Toggle Expand Collapse Grid",
  40. // mobile
  41. pagerCaption : "Grid::Page Settings",
  42. pageText : "Page:",
  43. recordPage : "Records per Page",
  44. nomorerecs : "No more records...",
  45. scrollPullup: "Pull up to load more...",
  46. scrollPulldown : "Pull down to refresh...",
  47. scrollRefresh : "Release to refresh..."
  48. },
  49. search : {
  50. caption: "Pencarian",
  51. Find: "Cari !",
  52. Reset: "Segarkan",
  53. 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'}, {oper:'bt', text:'between'}],
  54. groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
  55. operandTitle : "Click to select search operation.",
  56. resetTitle : "Reset Search Value"
  57. },
  58. edit : {
  59. addCaption: "Tambah Data",
  60. editCaption: "Sunting Data",
  61. bSubmit: "Submit",
  62. bCancel: "Tutup",
  63. bClose: "Tutup",
  64. saveData: "Data telah berubah! Simpan perubahan?",
  65. bYes : "Ya",
  66. bNo : "Tidak",
  67. bExit : "Tutup",
  68. msg: {
  69. required:"kolom wajib diisi",
  70. number:"hanya nomer yang diperbolehkan",
  71. minValue:"kolom harus lebih besar dari atau sama dengan",
  72. maxValue:"kolom harus lebih kecil atau sama dengan",
  73. email: "alamat e-mail tidak valid",
  74. integer: "hanya nilai integer yang diperbolehkan",
  75. date: "nilai tanggal tidak valid",
  76. url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
  77. nodefined : " belum didefinisikan!",
  78. novalue : " return value is required!",
  79. customarray : "Custom function should return array!",
  80. customfcheck : "Custom function should be present in case of custom checking!"
  81. }
  82. },
  83. view : {
  84. caption: "Menampilkan data",
  85. bClose: "Tutup"
  86. },
  87. del : {
  88. caption: "Hapus",
  89. msg: "Hapus data terpilih?",
  90. bSubmit: "Hapus",
  91. bCancel: "Batalkan"
  92. },
  93. nav : {
  94. edittext: "",
  95. edittitle: "Sunting data terpilih",
  96. addtext:"",
  97. addtitle: "Tambah baris baru",
  98. deltext: "",
  99. deltitle: "Hapus baris terpilih",
  100. searchtext: "",
  101. searchtitle: "Temukan data",
  102. refreshtext: "",
  103. refreshtitle: "Segarkan Grid",
  104. alertcap: "Warning",
  105. alerttext: "Harap pilih baris",
  106. viewtext: "",
  107. viewtitle: "Tampilkan baris terpilih",
  108. savetext: "",
  109. savetitle: "Save row",
  110. canceltext: "",
  111. canceltitle : "Cancel row editing",
  112. selectcaption : "Actions..."
  113. },
  114. col : {
  115. caption: "Pilih Kolom",
  116. bSubmit: "Ok",
  117. bCancel: "Batal"
  118. },
  119. errors : {
  120. errcap : "Error",
  121. nourl : "Tidak ada url yang diset",
  122. norecords: "Tidak ada data untuk diproses",
  123. model : "Lebar dari colNames <> colModel!"
  124. },
  125. formatter : {
  126. integer : {thousandsSeparator: ".", defaultValue: '0'},
  127. number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
  128. currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
  129. date : {
  130. dayNames: [
  131. "Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
  132. "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
  133. ],
  134. monthNames: [
  135. "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
  136. "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
  137. ],
  138. AmPm : ["am","pm","AM","PM"],
  139. S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
  140. srcformat: 'Y-m-d',
  141. newformat: 'n/j/Y',
  142. parseRe : /[#%\\\/:_;.,\t\s-]/,
  143. masks : {
  144. // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
  145. // and see http://docs.jquery.com/UI/Datepicker/formatDate
  146. // and https://github.com/jquery/globalize#dates for alternative formats used frequently
  147. // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
  148. // information about date, time, numbers and currency formats used in different countries
  149. // one should just convert the information in PHP format
  150. ISO8601Long:"Y-m-d H:i:s",
  151. ISO8601Short:"Y-m-d",
  152. // short date:
  153. // n - Numeric representation of a month, without leading zeros
  154. // j - Day of the month without leading zeros
  155. // Y - A full numeric representation of a year, 4 digits
  156. // example: 3/1/2012 which means 1 March 2012
  157. ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
  158. // long date:
  159. // l - A full textual representation of the day of the week
  160. // F - A full textual representation of a month
  161. // d - Day of the month, 2 digits with leading zeros
  162. // Y - A full numeric representation of a year, 4 digits
  163. LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
  164. // long date with long time:
  165. // l - A full textual representation of the day of the week
  166. // F - A full textual representation of a month
  167. // d - Day of the month, 2 digits with leading zeros
  168. // Y - A full numeric representation of a year, 4 digits
  169. // g - 12-hour format of an hour without leading zeros
  170. // i - Minutes with leading zeros
  171. // s - Seconds, with leading zeros
  172. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  173. FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
  174. // month day:
  175. // F - A full textual representation of a month
  176. // d - Day of the month, 2 digits with leading zeros
  177. MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
  178. // short time (without seconds)
  179. // g - 12-hour format of an hour without leading zeros
  180. // i - Minutes with leading zeros
  181. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  182. ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
  183. // long time (with seconds)
  184. // g - 12-hour format of an hour without leading zeros
  185. // i - Minutes with leading zeros
  186. // s - Seconds, with leading zeros
  187. // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
  188. LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
  189. SortableDateTime: "Y-m-d\\TH:i:s",
  190. UniversalSortableDateTime: "Y-m-d H:i:sO",
  191. // month with year
  192. // Y - A full numeric representation of a year, 4 digits
  193. // F - A full textual representation of a month
  194. YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
  195. },
  196. reformatAfterEdit : false,
  197. userLocalTime : false
  198. },
  199. baseLinkUrl: '',
  200. showAction: '',
  201. target: '',
  202. checkbox : {disabled:true},
  203. idName : 'id'
  204. },
  205. colmenu : {
  206. sortasc : "Sort Ascending",
  207. sortdesc : "Sort Descending",
  208. columns : "Columns",
  209. filter : "Filter",
  210. grouping : "Group By",
  211. ungrouping : "Ungroup",
  212. searchTitle : "Get items with value that:",
  213. freeze : "Freeze",
  214. unfreeze : "Unfreeze",
  215. reorder : "Move to reorder"
  216. }
  217. };
  218. }));