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