locale-id-debug.js 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. /**
  2. * Pedoman translasi:
  3. * http://id.wikisource.org/wiki/Panduan_Pembakuan_Istilah,_Pelaksanaan_Instruksi_Presiden_Nomor_2_Tahun_2001_Tentang_Penggunaan_Komputer_Dengan_Aplikasi_Komputer_Berbahasa_Indonesia
  4. * Original source: http://vlsm.org/etc/baku-0.txt
  5. * by Farid GS
  6. * farid [at] pulen.net
  7. * 10:13 04 Desember 2007
  8. * Indonesian Translations
  9. */
  10. Ext.onReady(function() {
  11. if (Ext.Updater) {
  12. Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Pemuatan...</div>';
  13. }
  14. if (Ext.Date) {
  15. Ext.Date.monthNames = ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"];
  16. Ext.Date.getShortMonthName = function(month) {
  17. return Ext.Date.monthNames[month].substring(0, 3);
  18. };
  19. Ext.Date.monthNumbers = {
  20. Jan: 0,
  21. Feb: 1,
  22. Mar: 2,
  23. Apr: 3,
  24. Mei: 4,
  25. Jun: 5,
  26. Jul: 6,
  27. Agu: 7,
  28. Sep: 8,
  29. Okt: 9,
  30. Nov: 10,
  31. Des: 11
  32. };
  33. Ext.Date.getMonthNumber = function(name) {
  34. return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
  35. };
  36. Ext.Date.dayNames = ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"];
  37. Ext.Date.getShortDayName = function(day) {
  38. return Ext.Date.dayNames[day].substring(0, 3);
  39. };
  40. }
  41. if (Ext.MessageBox) {
  42. Ext.MessageBox.buttonText = {
  43. ok: "OK",
  44. cancel: "Batal",
  45. yes: "Ya",
  46. no: "Tidak"
  47. };
  48. }
  49. if (Ext.util && Ext.util.Format) {
  50. Ext.apply(Ext.util.Format, {
  51. thousandSeparator: '.',
  52. decimalSeparator: ',',
  53. currencySign: 'Rp',
  54. // Indonesian Rupiah
  55. dateFormat: 'd/m/Y'
  56. });
  57. }
  58. });
  59. Ext.define("Ext.locale.id.view.View", {
  60. override: "Ext.view.View",
  61. emptyText: ""
  62. });
  63. Ext.define("Ext.locale.id.grid.plugin.DragDrop", {
  64. override: "Ext.grid.plugin.DragDrop",
  65. dragText: "{0} baris terpilih"
  66. });
  67. Ext.define("Ext.locale.id.tab.Tab", {
  68. override: "Ext.tab.Tab",
  69. closeText: "Tutup tab ini"
  70. });
  71. Ext.define("Ext.locale.id.form.field.Base", {
  72. override: "Ext.form.field.Base",
  73. invalidText: "Isian belum benar"
  74. });
  75. // changing the msg text below will affect the LoadMask
  76. Ext.define("Ext.locale.id.view.AbstractView", {
  77. override: "Ext.view.AbstractView",
  78. loadingText: "Pemuatan..."
  79. });
  80. Ext.define("Ext.locale.id.picker.Date", {
  81. override: "Ext.picker.Date",
  82. todayText: "Hari ini",
  83. minText: "Tanggal ini sebelum batas tanggal minimal",
  84. maxText: "Tanggal ini setelah batas tanggal maksimal",
  85. disabledDaysText: "",
  86. disabledDatesText: "",
  87. nextText: 'Bulan Berikut (Kontrol+Kanan)',
  88. prevText: 'Bulan Sebelum (Kontrol+Kiri)',
  89. monthYearText: 'Pilih bulan (Kontrol+Atas/Bawah untuk pindah tahun)',
  90. todayTip: "{0} (Spacebar)",
  91. format: "d/m/y",
  92. startDay: 1
  93. });
  94. Ext.define("Ext.locale.id.picker.Month", {
  95. override: "Ext.picker.Month",
  96. okText: "&#160;OK&#160;",
  97. cancelText: "Batal"
  98. });
  99. Ext.define("Ext.locale.id.toolbar.Paging", {
  100. override: "Ext.PagingToolbar",
  101. beforePageText: "Hal",
  102. afterPageText: "dari {0}",
  103. firstText: "Hal. Pertama",
  104. prevText: "Hal. Sebelum",
  105. nextText: "Hal. Berikut",
  106. lastText: "Hal. Akhir",
  107. refreshText: "Segarkan",
  108. displayMsg: "Menampilkan {0} - {1} dari {2}",
  109. emptyMsg: 'Data tidak ditemukan'
  110. });
  111. Ext.define("Ext.locale.id.form.field.Text", {
  112. override: "Ext.form.field.Text",
  113. minLengthText: "Panjang minimal untuk field ini adalah {0}",
  114. maxLengthText: "Panjang maksimal untuk field ini adalah {0}",
  115. blankText: "Field ini wajib diisi",
  116. regexText: "",
  117. emptyText: null
  118. });
  119. Ext.define("Ext.locale.id.form.field.Number", {
  120. override: "Ext.form.field.Number",
  121. minText: "Nilai minimal untuk field ini adalah {0}",
  122. maxText: "Nilai maksimal untuk field ini adalah {0}",
  123. nanText: "{0} bukan angka"
  124. });
  125. Ext.define("Ext.locale.id.form.field.Date", {
  126. override: "Ext.form.field.Date",
  127. disabledDaysText: "Disfungsi",
  128. disabledDatesText: "Disfungsi",
  129. minText: "Tanggal dalam field ini harus setelah {0}",
  130. maxText: "Tanggal dalam field ini harus sebelum {0}",
  131. invalidText: "{0} tanggal salah - Harus dalam format {1}",
  132. format: "d/m/y",
  133. // altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
  134. altFormats: "d/m/Y|d-m-y|d-m-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
  135. });
  136. Ext.define("Ext.locale.id.form.field.ComboBox", {
  137. override: "Ext.form.field.ComboBox",
  138. valueNotFoundText: undefined
  139. }, function() {
  140. Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
  141. loadingText: "Pemuatan..."
  142. });
  143. });
  144. Ext.define("Ext.locale.id.form.field.VTypes", {
  145. override: "Ext.form.field.VTypes",
  146. emailText: 'Field ini harus dalam format email seperti "user@example.com"',
  147. urlText: 'Field ini harus dalam format URL seperti "http:/' + '/www.example.com"',
  148. alphaText: 'Field ini harus terdiri dari huruf dan _',
  149. alphanumText: 'Field ini haris terdiri dari huruf, angka dan _'
  150. });
  151. Ext.define("Ext.locale.id.form.field.HtmlEditor", {
  152. override: "Ext.form.field.HtmlEditor",
  153. createLinkText: 'Silakan masukkan URL untuk tautan:'
  154. }, function() {
  155. Ext.apply(Ext.form.field.HtmlEditor.prototype, {
  156. buttonTips: {
  157. bold: {
  158. title: 'Tebal (Ctrl+B)',
  159. text: 'Buat tebal teks terpilih',
  160. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  161. },
  162. italic: {
  163. title: 'Miring (CTRL+I)',
  164. text: 'Buat miring teks terpilih',
  165. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  166. },
  167. underline: {
  168. title: 'Garisbawah (CTRl+U)',
  169. text: 'Garisbawahi teks terpilih',
  170. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  171. },
  172. increasefontsize: {
  173. title: 'Perbesar teks',
  174. text: 'Perbesar ukuran fonta',
  175. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  176. },
  177. decreasefontsize: {
  178. title: 'Perkecil teks',
  179. text: 'Perkecil ukuran fonta',
  180. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  181. },
  182. backcolor: {
  183. title: 'Sorot Warna Teks',
  184. text: 'Ubah warna latar teks terpilih',
  185. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  186. },
  187. forecolor: {
  188. title: 'Warna Fonta',
  189. text: 'Ubah warna teks terpilih',
  190. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  191. },
  192. justifyleft: {
  193. title: 'Rata Kiri',
  194. text: 'Ratakan teks ke kiri',
  195. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  196. },
  197. justifycenter: {
  198. title: 'Rata Tengah',
  199. text: 'Ratakan teks ke tengah editor',
  200. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  201. },
  202. justifyright: {
  203. title: 'Rata Kanan',
  204. text: 'Ratakan teks ke kanan',
  205. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  206. },
  207. insertunorderedlist: {
  208. title: 'Daftar Bulet',
  209. text: 'Membuat daftar berbasis bulet',
  210. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  211. },
  212. insertorderedlist: {
  213. title: 'Daftar Angka',
  214. text: 'Membuat daftar berbasis angka',
  215. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  216. },
  217. createlink: {
  218. title: 'Hipertaut',
  219. text: 'Buat teks terpilih sebagai Hipertaut',
  220. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  221. },
  222. sourceedit: {
  223. title: 'Edit Kode Sumber',
  224. text: 'Pindah dalam mode kode sumber',
  225. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  226. }
  227. }
  228. });
  229. });
  230. Ext.define("Ext.locale.id.grid.header.Container", {
  231. override: "Ext.grid.header.Container",
  232. sortAscText: "Urut Naik",
  233. sortDescText: "Urut Turun",
  234. lockText: "Kancing Kolom",
  235. unlockText: "Lepas Kunci Kolom",
  236. columnsText: "Kolom"
  237. });
  238. Ext.define("Ext.locale.id.grid.GroupingFeature", {
  239. override: "Ext.grid.feature.Grouping",
  240. emptyGroupText: '(Kosong)',
  241. groupByText: 'Kelompokkan Berdasar Field Ini',
  242. showGroupsText: 'Tampil Dalam Kelompok'
  243. });
  244. Ext.define("Ext.locale.id.grid.PropertyColumnModel", {
  245. override: "Ext.grid.PropertyColumnModel",
  246. nameText: "Nama",
  247. valueText: "Nilai",
  248. dateFormat: "d/m/Y"
  249. });
  250. Ext.define("Ext.locale.id.window.MessageBox", {
  251. override: "Ext.window.MessageBox",
  252. buttonText: {
  253. ok: "OK",
  254. cancel: "Batal",
  255. yes: "Ya",
  256. no: "Tidak"
  257. }
  258. });
  259. // This is needed until we can refactor all of the locales into individual files
  260. Ext.define("Ext.locale.id.Component", {
  261. override: "Ext.Component"
  262. });