--- /dev/null
+/**
+ * Pedoman translasi:
+ * http://id.wikisource.org/wiki/Panduan_Pembakuan_Istilah,_Pelaksanaan_Instruksi_Presiden_Nomor_2_Tahun_2001_Tentang_Penggunaan_Komputer_Dengan_Aplikasi_Komputer_Berbahasa_Indonesia
+ * Original source: http://vlsm.org/etc/baku-0.txt
+ * by Farid GS
+ * farid [at] pulen.net
+ * 10:13 04 Desember 2007
+ * Indonesian Translations
+ */
+Ext.onReady(function() {
+ if(Ext.Updater) {
+ Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Pemuatan...</div>';
+ }
+
+ if(Ext.view.View){
+ Ext.view.View.prototype.emptyText = "";
+ }
+
+ if(Ext.grid.Panel){
+ Ext.grid.Panel.prototype.ddText = "{0} selected row(s)";
+ Ext.grid.Panel.prototype.ddText = "{0} baris terpilih";
+ }
+
+ if(Ext.TabPanelItem){
+ Ext.TabPanelItem.prototype.closeText = "Close this tab";
+ Ext.TabPanelItem.prototype.closeText = "Tutup tab ini";
+ }
+
+ if(Ext.form.field.Base){
+ Ext.form.field.Base.prototype.invalidText = "The value in this field is invalid";
+ Ext.form.field.Base.prototype.invalidText = "Isian belum benar";
+ }
+
+ if(Ext.LoadMask){
+ Ext.LoadMask.prototype.msg = "Loading...";
+ Ext.LoadMask.prototype.msg = "Pemuatan...";
+ }
+
+ if(Ext.Date) {
+ Ext.Date.monthNames = [
+ "Januari",
+ "Februari",
+ "Maret",
+ "April",
+ "Mei",
+ "Juni",
+ "Juli",
+ "Agustus",
+ "September",
+ "Oktober",
+ "November",
+ "Desember"
+ ];
+
+ Ext.Date.getShortMonthName = function(month) {
+ return Ext.Date.monthNames[month].substring(0, 3);
+ };
+
+ Ext.Date.monthNumbers = {
+ Jan : 0,
+ Feb : 1,
+ Mar : 2,
+ Apr : 3,
+ Mei : 4,
+ Jun : 5,
+ Jul : 6,
+ Agu : 7,
+ Sep : 8,
+ Okt : 9,
+ Nov : 10,
+ Des : 11
+ };
+
+ Ext.Date.getMonthNumber = function(name) {
+ return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
+ };
+
+ Ext.Date.dayNames = [
+ "Minggu",
+ "Senin",
+ "Selasa",
+ "Rabu",
+ "Kamis",
+ "Jumat",
+ "Sabtu"
+ ];
+
+ Ext.Date.getShortDayName = function(day) {
+ return Ext.Date.dayNames[day].substring(0, 3);
+ };
+ }
+ if(Ext.MessageBox){
+ Ext.MessageBox.buttonText = {
+ ok : "OK",
+ cancel : "Batal",
+ yes : "Ya",
+ no : "Tidak"
+ };
+ }
+
+ if(Ext.util.Format){
+ Ext.apply(Ext.util.Format, {
+ thousandSeparator: '.',
+ decimalSeparator: ',',
+ currencySign: 'Rp', // Indonesian Rupiah
+ dateFormat: 'd/m/Y'
+ });
+ }
+
+ if(Ext.picker.Date){
+ Ext.apply(Ext.picker.Date.prototype, {
+ todayText : "Hari ini",
+ minText : "Tanggal ini sebelum batas tanggal minimal",
+ maxText : "Tanggal ini setelah batas tanggal maksimal",
+ disabledDaysText : "",
+ disabledDatesText : "",
+ monthNames : Ext.Date.monthNames,
+ dayNames : Ext.Date.dayNames,
+ nextText : 'Bulan Berikut (Kontrol+Kanan)',
+ prevText : 'Bulan Sebelum (Kontrol+Kiri)',
+ monthYearText : 'Pilih bulan (Kontrol+Atas/Bawah untuk pindah tahun)',
+ todayTip : "{0} (Spacebar)",
+ format : "d/m/y",
+ startDay : 1
+ });
+ }
+
+ if(Ext.picker.Month) {
+ Ext.apply(Ext.picker.Month.prototype, {
+ okText : " OK ",
+ cancelText : "Batal"
+ });
+ }
+
+ if(Ext.toolbar.Paging){
+ Ext.apply(Ext.PagingToolbar.prototype, {
+ beforePageText : "Hal",
+ afterPageText : "dari {0}",
+ firstText : "Hal. Pertama",
+ prevText : "Hal. Sebelum",
+ nextText : "Hal. Berikut",
+ lastText : "Hal. Akhir",
+ refreshText : "Segarkan",
+ displayMsg : "Menampilkan {0} - {1} dari {2}",
+ emptyMsg : 'Data tidak ditemukan'
+ });
+ }
+
+ if(Ext.form.field.Text){
+ Ext.apply(Ext.form.field.Text.prototype, {
+ minLengthText : "Panjang minimal untuk field ini adalah {0}",
+ maxLengthText : "Panjang maksimal untuk field ini adalah {0}",
+ blankText : "Field ini wajib diisi",
+ regexText : "",
+ emptyText : null
+ });
+ }
+
+ if(Ext.form.field.Number){
+ Ext.apply(Ext.form.field.Number.prototype, {
+ minText : "Nilai minimal untuk field ini adalah {0}",
+ maxText : "Nilai maksimal untuk field ini adalah {0}",
+ nanText : "{0} bukan angka"
+ });
+ }
+
+ if(Ext.form.field.Date){
+ Ext.apply(Ext.form.field.Date.prototype, {
+ disabledDaysText : "Disfungsi",
+ disabledDatesText : "Disfungsi",
+ minText : "Tanggal dalam field ini harus setelah {0}",
+ maxText : "Tanggal dalam field ini harus sebelum {0}",
+ invalidText : "{0} tanggal salah - Harus dalam format {1}",
+ format : "d/m/y",
+ //altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
+ altFormats : "d/m/Y|d-m-y|d-m-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
+ });
+ }
+
+ if(Ext.form.field.ComboBox){
+ Ext.apply(Ext.form.field.ComboBox.prototype, {
+ loadingText : "Pemuatan...",
+ valueNotFoundText : undefined
+ });
+ }
+
+ if(Ext.form.field.VTypes){
+ Ext.apply(Ext.form.field.VTypes, {
+ emailText : 'Field ini harus dalam format email seperti "user@example.com"',
+ urlText : 'Field ini harus dalam format URL seperti "http:/'+'/www.example.com"',
+ alphaText : 'Field ini harus terdiri dari huruf dan _',
+ alphanumText : 'Field ini haris terdiri dari huruf, angka dan _'
+ });
+ }
+
+ if(Ext.form.field.HtmlEditor){
+ Ext.apply(Ext.form.field.HtmlEditor.prototype, {
+ createLinkText : 'Silakan masukkan URL untuk tautan:',
+ buttonTips : {
+ bold : {
+ title: 'Tebal (Ctrl+B)',
+ text: 'Buat tebal teks terpilih',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ italic : {
+ title: 'Miring (CTRL+I)',
+ text: 'Buat miring teks terpilih',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ underline : {
+ title: 'Garisbawah (CTRl+U)',
+ text: 'Garisbawahi teks terpilih',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ increasefontsize : {
+ title: 'Perbesar teks',
+ text: 'Perbesar ukuran fonta',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ decreasefontsize : {
+ title: 'Perkecil teks',
+ text: 'Perkecil ukuran fonta',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ backcolor : {
+ title: 'Sorot Warna Teks',
+ text: 'Ubah warna latar teks terpilih',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ forecolor : {
+ title: 'Warna Fonta',
+ text: 'Ubah warna teks terpilih',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ justifyleft : {
+ title: 'Rata Kiri',
+ text: 'Ratakan teks ke kiri',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ justifycenter : {
+ title: 'Rata Tengah',
+ text: 'Ratakan teks ke tengah editor',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ justifyright : {
+ title: 'Rata Kanan',
+ text: 'Ratakan teks ke kanan',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ insertunorderedlist : {
+ title: 'Daftar Bulet',
+ text: 'Membuat daftar berbasis bulet',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ insertorderedlist : {
+ title: 'Daftar Angka',
+ text: 'Membuat daftar berbasis angka',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ createlink : {
+ title: 'Hipertaut',
+ text: 'Buat teks terpilih sebagai Hipertaut',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ sourceedit : {
+ title: 'Edit Kode Sumber',
+ text: 'Pindah dalam mode kode sumber',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ }
+ }
+ });
+ }
+
+ if(Ext.grid.header.Container){
+ Ext.apply(Ext.grid.header.Container.prototype, {
+ sortAscText : "Urut Naik",
+ sortDescText : "Urut Turun",
+ lockText : "Kancing Kolom",
+ unlockText : "Lepas Kunci Kolom",
+ columnsText : "Kolom"
+ });
+ }
+
+ if(Ext.grid.GroupingFeature){
+ Ext.apply(Ext.grid.GroupingFeature.prototype, {
+ emptyGroupText : '(Kosong)',
+ groupByText : 'Kelompokkan Berdasar Field Ini',
+ showGroupsText : 'Tampil Dalam Kelompok'
+ });
+ }
+
+ if(Ext.grid.PropertyColumnModel){
+ Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
+ nameText : "Nama",
+ valueText : "Nilai",
+ dateFormat : "d/m/Y"
+ });
+ }
+
+ if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
+ Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
+ splitTip : "Seret untuk ubah ukuran.",
+ collapsibleSplitTip : "Seret untuk ubah ukuran, Dobel klik untuk sembunyikan."
+ });
+ }
+});
\ No newline at end of file