Administrator
2022-09-14 58d006e05dcf2a20d0ec5367dd03d66a61db6849
提交 | 用户 | 时间
58d006 1 /**
A 2  * jqGrid Indonesian Translation
3  * Tony Tomov tony@trirand.com
4  * http://trirand.com/blog/ 
5  * Dual licensed under the MIT and GPL licenses:
6  * http://www.opensource.org/licenses/mit-license.php
7  * http://www.gnu.org/licenses/gpl.html
8 **/
9 /*global jQuery, define */
10 (function( factory ) {
11     "use strict";
12     if ( typeof define === "function" && define.amd ) {
13         // AMD. Register as an anonymous module.
14         define([
15             "jquery",
16             "../grid.base"
17         ], factory );
18     } else {
19         // Browser globals
20         factory( jQuery );
21     }
22 }(function( $ ) {
23
24 $.jgrid = $.jgrid || {};
25 if(!$.jgrid.hasOwnProperty("regional")) {
26     $.jgrid.regional = [];
27 }
28 $.jgrid.regional["id"] = {
29     defaults : {
30         recordtext: "Data {0} - {1} dari {2}",
31         emptyrecords: "Tidak ada data",
32         loadtext: "Memuat...",
33         pgtext : "Halaman {0} dari {1}",
34         savetext: "Saving...",
35         pgfirst : "First Page",
36         pglast : "Last Page",
37         pgnext : "Next Page",
38         pgprev : "Previous Page",
39         pgrecs : "Records per Page",
40         showhide: "Toggle Expand Collapse Grid",
41         // mobile
42         pagerCaption : "Grid::Page Settings",
43         pageText : "Page:",
44         recordPage : "Records per Page",
45         nomorerecs : "No more records...",
46         scrollPullup: "Pull up to load more...",
47         scrollPulldown : "Pull down to refresh...",
48         scrollRefresh : "Release to refresh..."
49     },
50     search : {
51         caption: "Pencarian",
52         Find: "Cari !",
53         Reset: "Segarkan",
54         odata: [{ oper:'eq', text:"sama dengan"},{ oper:'ne', text:"tidak sama dengan"},{ oper:'lt', text:"kurang dari"},{ oper:'le', text:"kurang dari atau sama dengan"},{ oper:'gt', text:"lebih besar"},{ oper:'ge', text:"lebih besar atau sama dengan"},{ oper:'bw', text:"dimulai dengan"},{ oper:'bn', text:"tidak dimulai dengan"},{ oper:'in', text:"di dalam"},{ oper:'ni', text:"tidak di dalam"},{ oper:'ew', text:"diakhiri dengan"},{ oper:'en', text:"tidak diakhiri dengan"},{ oper:'cn', text:"mengandung"},{ oper:'nc', text:"tidak mengandung"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
55         groupOps: [    { op: "AND", text: "all" },    { op: "OR",  text: "any" }    ],
56         operandTitle : "Click to select search operation.",
57         resetTitle : "Reset Search Value"
58     },
59     edit : {
60         addCaption: "Tambah Data",
61         editCaption: "Sunting Data",
62         bSubmit: "Submit",
63         bCancel: "Tutup",
64         bClose: "Tutup",
65         saveData: "Data telah berubah! Simpan perubahan?",
66         bYes : "Ya",
67         bNo : "Tidak",
68         bExit : "Tutup",
69         msg: {
70             required:"kolom wajib diisi",
71             number:"hanya nomer yang diperbolehkan",
72             minValue:"kolom harus lebih besar dari atau sama dengan",
73             maxValue:"kolom harus lebih kecil atau sama dengan",
74             email: "alamat e-mail tidak valid",
75             integer: "hanya nilai integer yang diperbolehkan",
76             date: "nilai tanggal tidak valid",
77             url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
78             nodefined : " belum didefinisikan!",
79             novalue : " return value is required!",
80             customarray : "Custom function should return array!",
81             customfcheck : "Custom function should be present in case of custom checking!"
82             
83         }
84     },
85     view : {
86         caption: "Menampilkan data",
87         bClose: "Tutup"
88     },
89     del : {
90         caption: "Hapus",
91         msg: "Hapus data terpilih?",
92         bSubmit: "Hapus",
93         bCancel: "Batalkan"
94     },
95     nav : {
96         edittext: "",
97         edittitle: "Sunting data terpilih",
98         addtext:"",
99         addtitle: "Tambah baris baru",
100         deltext: "",
101         deltitle: "Hapus baris terpilih",
102         searchtext: "",
103         searchtitle: "Temukan data",
104         refreshtext: "",
105         refreshtitle: "Segarkan Grid",
106         alertcap: "Warning",
107         alerttext: "Harap pilih baris",
108         viewtext: "",
109         viewtitle: "Tampilkan baris terpilih",
110         savetext: "",
111         savetitle: "Save row",
112         canceltext: "",
113         canceltitle : "Cancel row editing",
114         selectcaption : "Actions..."
115     },
116     col : {
117         caption: "Pilih Kolom",
118         bSubmit: "Ok",
119         bCancel: "Batal"
120     },
121     errors : {
122         errcap : "Error",
123         nourl : "Tidak ada url yang diset",
124         norecords: "Tidak ada data untuk diproses",
125         model : "Lebar dari colNames <> colModel!"
126     },
127     formatter : {
128         integer : {thousandsSeparator: ".", defaultValue: '0'},
129         number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
130         currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
131         date : {
132             dayNames:   [
133                 "Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
134                 "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
135             ],
136             monthNames: [
137                 "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
138                 "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
139             ],
140             AmPm : ["am","pm","AM","PM"],
141             S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
142             srcformat: 'Y-m-d',
143             newformat: 'n/j/Y',
144             parseRe : /[#%\\\/:_;.,\t\s-]/,
145             masks : {
146                 // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
147                 // and see http://docs.jquery.com/UI/Datepicker/formatDate
148                 // and https://github.com/jquery/globalize#dates for alternative formats used frequently
149                 // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
150                 // information about date, time, numbers and currency formats used in different countries
151                 // one should just convert the information in PHP format
152                 ISO8601Long:"Y-m-d H:i:s",
153                 ISO8601Short:"Y-m-d",
154                 // short date:
155                 //    n - Numeric representation of a month, without leading zeros
156                 //    j - Day of the month without leading zeros
157                 //    Y - A full numeric representation of a year, 4 digits
158                 // example: 3/1/2012 which means 1 March 2012
159                 ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
160                 // long date:
161                 //    l - A full textual representation of the day of the week
162                 //    F - A full textual representation of a month
163                 //    d - Day of the month, 2 digits with leading zeros
164                 //    Y - A full numeric representation of a year, 4 digits
165                 LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
166                 // long date with long time:
167                 //    l - A full textual representation of the day of the week
168                 //    F - A full textual representation of a month
169                 //    d - Day of the month, 2 digits with leading zeros
170                 //    Y - A full numeric representation of a year, 4 digits
171                 //    g - 12-hour format of an hour without leading zeros
172                 //    i - Minutes with leading zeros
173                 //    s - Seconds, with leading zeros
174                 //    A - Uppercase Ante meridiem and Post meridiem (AM or PM)
175                 FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
176                 // month day:
177                 //    F - A full textual representation of a month
178                 //    d - Day of the month, 2 digits with leading zeros
179                 MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
180                 // short time (without seconds)
181                 //    g - 12-hour format of an hour without leading zeros
182                 //    i - Minutes with leading zeros
183                 //    A - Uppercase Ante meridiem and Post meridiem (AM or PM)
184                 ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
185                 // long time (with seconds)
186                 //    g - 12-hour format of an hour without leading zeros
187                 //    i - Minutes with leading zeros
188                 //    s - Seconds, with leading zeros
189                 //    A - Uppercase Ante meridiem and Post meridiem (AM or PM)
190                 LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
191                 SortableDateTime: "Y-m-d\\TH:i:s",
192                 UniversalSortableDateTime: "Y-m-d H:i:sO",
193                 // month with year
194                 //    Y - A full numeric representation of a year, 4 digits
195                 //    F - A full textual representation of a month
196                 YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
197             },
198             reformatAfterEdit : false,
199             userLocalTime : false
200         },
201         baseLinkUrl: '',
202         showAction: '',
203         target: '',
204         checkbox : {disabled:true},
205         idName : 'id'
206     }
207 };
208 }));