/hippo/src/main/webapp/ext/src/locale/ext-lang-id.js

http://hdbc.googlecode.com/ · JavaScript · 302 lines · 260 code · 26 blank · 16 comment · 23 complexity · e2155c49cfbe7c65e2e21031a9cc2614 MD5 · raw file

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