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