mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
feat: translate all to indonesian (#48287)
* feat: translate all to indonesian
I have transalate all to Indonesian
Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
* fix: use ' instead of "
Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
* feat: ✨ translate to indonesian
---------
Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
This commit is contained in:
parent
8c50a65759
commit
acbc46d798
@ -148032,7 +148032,7 @@ exports[`Locale Provider should display the text as id 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span>
|
||||
OK
|
||||
Oke
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
@ -148089,7 +148089,7 @@ exports[`Locale Provider should display the text as id 1`] = `
|
||||
class="ant-transfer-list-header-selected"
|
||||
>
|
||||
0
|
||||
item
|
||||
data
|
||||
</span>
|
||||
<span
|
||||
class="ant-transfer-list-header-title"
|
||||
@ -148129,7 +148129,7 @@ exports[`Locale Provider should display the text as id 1`] = `
|
||||
</span>
|
||||
<input
|
||||
class="ant-input"
|
||||
placeholder="Cari"
|
||||
placeholder="Cari di sini"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
@ -148323,7 +148323,7 @@ exports[`Locale Provider should display the text as id 1`] = `
|
||||
class="ant-transfer-list-header-selected"
|
||||
>
|
||||
0
|
||||
item
|
||||
data
|
||||
</span>
|
||||
<span
|
||||
class="ant-transfer-list-header-title"
|
||||
@ -148363,7 +148363,7 @@ exports[`Locale Provider should display the text as id 1`] = `
|
||||
</span>
|
||||
<input
|
||||
class="ant-input"
|
||||
placeholder="Cari"
|
||||
placeholder="Cari di sini"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
@ -149622,7 +149622,7 @@ exports[`Locale Provider should display the text as id 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span>
|
||||
OK
|
||||
Oke
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-template-curly-in-string */
|
||||
import Pagination from 'rc-pagination/lib/locale/id_ID';
|
||||
|
||||
import type { Locale } from '.';
|
||||
@ -5,45 +6,143 @@ import Calendar from '../calendar/locale/id_ID';
|
||||
import DatePicker from '../date-picker/locale/id_ID';
|
||||
import TimePicker from '../time-picker/locale/id_ID';
|
||||
|
||||
const typeTemplate = '${label} tidak valid ${type}';
|
||||
|
||||
const localeValues: Locale = {
|
||||
locale: 'id',
|
||||
Pagination,
|
||||
DatePicker,
|
||||
TimePicker,
|
||||
Calendar,
|
||||
global: {
|
||||
placeholder: 'Silahkan pilih',
|
||||
},
|
||||
Table: {
|
||||
filterTitle: 'Saring',
|
||||
filterConfirm: 'OK',
|
||||
filterReset: 'Hapus',
|
||||
selectAll: 'Pilih semua di halaman ini',
|
||||
selectInvert: 'Balikkan pilihan di halaman ini',
|
||||
filterTitle: 'Menu filter',
|
||||
filterConfirm: 'Oke',
|
||||
filterReset: 'Reset',
|
||||
filterEmptyText: 'Tidak ada filter',
|
||||
filterCheckall: 'Pilih semua item',
|
||||
filterSearchPlaceholder: 'Cari di filter',
|
||||
emptyText: 'Tidak ada data',
|
||||
selectAll: 'Pilih halaman saat ini',
|
||||
selectInvert: 'Balikkan halaman saat ini',
|
||||
selectNone: 'Hapus semua data',
|
||||
selectionAll: 'Pilih semua data',
|
||||
sortTitle: 'Urutkan',
|
||||
expand: 'Perluas baris',
|
||||
collapse: 'Perkecil baris',
|
||||
triggerDesc: 'Klik untuk mengurutkan secara menurun',
|
||||
triggerAsc: 'Klik untuk mengurutkan secara menaik',
|
||||
cancelSort: 'Klik untuk membatalkan pengurutan',
|
||||
},
|
||||
Tour: {
|
||||
Next: 'Selanjutnya',
|
||||
Previous: 'Sebelumnya',
|
||||
Finish: 'Selesai',
|
||||
},
|
||||
Modal: {
|
||||
okText: 'OK',
|
||||
okText: 'Oke',
|
||||
cancelText: 'Batal',
|
||||
justOkText: 'OK',
|
||||
justOkText: 'Oke',
|
||||
},
|
||||
Popconfirm: {
|
||||
okText: 'OK',
|
||||
okText: 'Oke',
|
||||
cancelText: 'Batal',
|
||||
},
|
||||
Transfer: {
|
||||
titles: ['', ''],
|
||||
searchPlaceholder: 'Cari',
|
||||
itemUnit: 'item',
|
||||
itemsUnit: 'item',
|
||||
searchPlaceholder: 'Cari di sini',
|
||||
itemUnit: 'data',
|
||||
itemsUnit: 'data',
|
||||
remove: 'Hapus',
|
||||
selectCurrent: 'Pilih halaman saat ini',
|
||||
removeCurrent: 'Hapus halaman saat ini',
|
||||
selectAll: 'Pilih semua data',
|
||||
removeAll: 'Hapus semua data',
|
||||
selectInvert: 'Balikkan halaman saat ini',
|
||||
},
|
||||
Upload: {
|
||||
uploading: 'Mengunggah...',
|
||||
removeFile: 'Hapus file',
|
||||
uploadError: 'Kesalahan pengunggahan',
|
||||
previewFile: 'File pratinjau',
|
||||
downloadFile: 'Unduh berkas',
|
||||
previewFile: 'Pratinjau file',
|
||||
downloadFile: 'Unduh file',
|
||||
},
|
||||
Empty: {
|
||||
description: 'Tidak ada data',
|
||||
},
|
||||
Icon: {
|
||||
icon: 'ikon',
|
||||
},
|
||||
Text: {
|
||||
edit: 'Ubah',
|
||||
copy: 'Salin',
|
||||
copied: 'Disalin',
|
||||
expand: 'Perluas',
|
||||
collapse: 'Perkecil',
|
||||
},
|
||||
Form: {
|
||||
optional: '(optional)',
|
||||
defaultValidateMessages: {
|
||||
default: 'Kesalahan validasi untuk ${label}',
|
||||
required: 'Tolong masukkan ${label}',
|
||||
enum: '${label} harus menjadi salah satu dari [${enum}]',
|
||||
whitespace: '${label} tidak boleh berupa karakter kosong',
|
||||
date: {
|
||||
format: '${label} format tanggal tidak valid',
|
||||
parse: '${label} tidak dapat diubah menjadi tanggal',
|
||||
invalid: '${label} adalah tanggal yang tidak valid',
|
||||
},
|
||||
types: {
|
||||
string: typeTemplate,
|
||||
method: typeTemplate,
|
||||
array: typeTemplate,
|
||||
object: typeTemplate,
|
||||
number: typeTemplate,
|
||||
date: typeTemplate,
|
||||
boolean: typeTemplate,
|
||||
integer: typeTemplate,
|
||||
float: typeTemplate,
|
||||
regexp: typeTemplate,
|
||||
email: typeTemplate,
|
||||
url: typeTemplate,
|
||||
hex: typeTemplate,
|
||||
},
|
||||
string: {
|
||||
len: '${label} harus berupa ${len} karakter',
|
||||
min: '${label} harus minimal ${min} karakter',
|
||||
max: '${label} harus maksimal ${max} karakter',
|
||||
range: '${label} harus diantara ${min}-${max} karakter',
|
||||
},
|
||||
number: {
|
||||
len: '${label} harus sama dengan ${len}',
|
||||
min: '${label} harus minimal ${min}',
|
||||
max: '${label} harus maksimal ${max}',
|
||||
range: '${label} harus di antara ${min}-${max}',
|
||||
},
|
||||
array: {
|
||||
len: 'Harus ${len} ${label}',
|
||||
min: 'Minimal ${min} ${label}',
|
||||
max: 'Maksimal ${max} ${label}',
|
||||
range: 'Jumlah ${label} harus di antara ${min}-${max}',
|
||||
},
|
||||
pattern: {
|
||||
mismatch: '${label} tidak sesuai dengan pola ${pattern}',
|
||||
},
|
||||
},
|
||||
},
|
||||
Image: {
|
||||
preview: 'Pratinjau',
|
||||
},
|
||||
QRCode: {
|
||||
expired: 'Kode QR sudah habis masa berlakunya',
|
||||
refresh: 'Segarkan',
|
||||
scanned: 'Dipindai',
|
||||
},
|
||||
ColorPicker: {
|
||||
presetEmpty: 'Kosong',
|
||||
},
|
||||
};
|
||||
|
||||
export default localeValues;
|
||||
|
Loading…
Reference in New Issue
Block a user