mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Locale): add Indonesian translation (#10289)
* feat(Locale): add Indonesian translation * docs: upd
This commit is contained in:
parent
5b7c8883a3
commit
c51f1cfa5f
@ -48,6 +48,7 @@ Current supported languages:
|
|||||||
| Spanish (Spain) | es-ES | - |
|
| Spanish (Spain) | es-ES | - |
|
||||||
| French | fr-FR | - |
|
| French | fr-FR | - |
|
||||||
| Hindi | hi-IN | `v3.4.3` |
|
| Hindi | hi-IN | `v3.4.3` |
|
||||||
|
| Indonesian | id-ID | `v3.4.5` |
|
||||||
| Italian | it-IT | `v3.4.5` |
|
| Italian | it-IT | `v3.4.5` |
|
||||||
| Japanese | ja-JP | - |
|
| Japanese | ja-JP | - |
|
||||||
| Korean | ko-KR | `v3.4.3` |
|
| Korean | ko-KR | `v3.4.3` |
|
||||||
|
@ -44,16 +44,17 @@ Locale.add(messages);
|
|||||||
| -------------------- | ------------ | -------- |
|
| -------------------- | ------------ | -------- |
|
||||||
| 孟加拉语(孟加拉国) | bn-BD | `v3.4.5` |
|
| 孟加拉语(孟加拉国) | bn-BD | `v3.4.5` |
|
||||||
| 德语 | de-DE | - |
|
| 德语 | de-DE | - |
|
||||||
| 德语 (正式) | de-DE-formal | - |
|
| 德语(正式) | de-DE-formal | - |
|
||||||
| 英语 | en-US | - |
|
| 英语 | en-US | - |
|
||||||
| 西班牙语 | es-ES | - |
|
| 西班牙语 | es-ES | - |
|
||||||
| 法语 | fr-FR | - |
|
| 法语 | fr-FR | - |
|
||||||
| 印地语 | hi-IN | `v3.4.3` |
|
| 印地语 | hi-IN | `v3.4.3` |
|
||||||
|
| 印度尼西亚语 | id-ID | `v3.4.5` |
|
||||||
| 意大利语 | it-IT | `v3.4.5` |
|
| 意大利语 | it-IT | `v3.4.5` |
|
||||||
| 日语 | ja-JP | - |
|
| 日语 | ja-JP | - |
|
||||||
| 韩语/朝鲜语 | ko-KR | `v3.4.3` |
|
| 韩语/朝鲜语 | ko-KR | `v3.4.3` |
|
||||||
| 挪威语 | nb-NO | - |
|
| 挪威语 | nb-NO | - |
|
||||||
| 葡萄牙语 (巴西) | pt-BR | `v3.3.3` |
|
| 葡萄牙语(巴西) | pt-BR | `v3.3.3` |
|
||||||
| 罗马尼亚语 | ro-RO | - |
|
| 罗马尼亚语 | ro-RO | - |
|
||||||
| 俄罗斯语 | ru-RU | `v3.1.5` |
|
| 俄罗斯语 | ru-RU | `v3.1.5` |
|
||||||
| 土耳其语 | tr-TR | - |
|
| 土耳其语 | tr-TR | - |
|
||||||
|
64
packages/vant/src/locale/lang/id-ID.ts
Normal file
64
packages/vant/src/locale/lang/id-ID.ts
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
export default {
|
||||||
|
name: 'Nama',
|
||||||
|
tel: 'Telepon',
|
||||||
|
save: 'Simpan',
|
||||||
|
confirm: 'Konfirmasi',
|
||||||
|
cancel: 'Batal',
|
||||||
|
delete: 'Hapus',
|
||||||
|
loading: 'Memuat...',
|
||||||
|
noCoupon: 'Tidak ada kupon',
|
||||||
|
nameEmpty: 'Silakan isi nama',
|
||||||
|
addContact: 'Tambahkan kontak',
|
||||||
|
telInvalid: 'Nomor telepon salah format',
|
||||||
|
vanCalendar: {
|
||||||
|
end: 'Akhir',
|
||||||
|
start: 'Mulai',
|
||||||
|
title: 'Kalender',
|
||||||
|
weekdays: ['minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'],
|
||||||
|
monthTitle: (year: number, month: number) => `${year}/${month}`,
|
||||||
|
rangePrompt: (maxRange: number) =>
|
||||||
|
`Pilih tidak lebih dari ${maxRange} hari`,
|
||||||
|
},
|
||||||
|
vanCascader: {
|
||||||
|
select: 'Pilih',
|
||||||
|
},
|
||||||
|
vanPagination: {
|
||||||
|
prev: 'Sebelumnya',
|
||||||
|
next: 'Selanjutnya',
|
||||||
|
},
|
||||||
|
vanPullRefresh: {
|
||||||
|
pulling: 'Tarik untuk menyegarkan...',
|
||||||
|
loosing: 'Loose untuk menyegarkan...',
|
||||||
|
},
|
||||||
|
vanSubmitBar: {
|
||||||
|
label: 'Jumlah:',
|
||||||
|
},
|
||||||
|
vanCoupon: {
|
||||||
|
unlimited: 'Tidak terbatas',
|
||||||
|
discount: (discount: number) => `${discount * 10}% off`,
|
||||||
|
condition: (condition: number) => `Setidaknya ${condition}`,
|
||||||
|
},
|
||||||
|
vanCouponCell: {
|
||||||
|
title: 'Kupon',
|
||||||
|
count: (count: number) => `Anda memiliki kupon ${count}`,
|
||||||
|
},
|
||||||
|
vanCouponList: {
|
||||||
|
exchange: 'Pertukaran',
|
||||||
|
close: 'Tutup',
|
||||||
|
enable: 'Tersedia',
|
||||||
|
disabled: 'Tidak tersedia',
|
||||||
|
placeholder: 'Kode kupon',
|
||||||
|
},
|
||||||
|
vanAddressEdit: {
|
||||||
|
area: 'Daerah',
|
||||||
|
postal: 'pos',
|
||||||
|
areaEmpty: 'Silakan pilih area penerima',
|
||||||
|
addressEmpty: 'Alamat tidak boleh kosong',
|
||||||
|
postalEmpty: 'Kode pos salah',
|
||||||
|
addressDetail: 'Alamat',
|
||||||
|
defaultAddress: 'Tetapkan sebagai alamat default',
|
||||||
|
},
|
||||||
|
vanAddressList: {
|
||||||
|
add: 'Tambahkan alamat baru',
|
||||||
|
},
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user