source: trunk/web/addons/job_monarch/lib/extjs/source/locale/ext-lang-id.js @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

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