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