Skip to content

Commit

Permalink
feat(Locale): add Dutch lang (#11419)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Dec 25, 2022
1 parent 879133e commit 80f2134
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/vant/src/locale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Current supported languages:
| Lao | la-LA | `v3.4.7` |
| Mongolian | mm-MN | `v4.0.5` |
| Norwegian | nb-NO | - |
| Dutch | nl-NL | `v4.0.5` |
| Portuguese (Brazil) | pt-BR | `v3.3.3` |
| Romanian | ro-RO | - |
| Russian | ru-RU | `v3.1.5` |
Expand Down
1 change: 1 addition & 0 deletions packages/vant/src/locale/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Locale.add(messages);
| 老挝语 | la-LA | `v3.4.7` |
| 蒙古语 | mm-MN | `v4.0.5` |
| 挪威语 | nb-NO | - |
| 荷兰语 | nl-NL | `v4.0.5` |
| 葡萄牙语(巴西) | pt-BR | `v3.3.3` |
| 罗马尼亚语 | ro-RO | - |
| 俄罗斯语 | ru-RU | `v3.1.5` |
Expand Down
61 changes: 61 additions & 0 deletions packages/vant/src/locale/lang/nl-NL.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
export default {
name: 'naam',
tel: 'Telefoon',
save: 'Opslaan',
confirm: 'Bevestigen',
cancel: 'Annuleren',
delete: 'Verwijderen',
loading: 'Bezig met laden...',
noCoupon: 'Geen coupons',
nameEmpty: 'Vul de naam in',
addContact: 'Contact toevoegen',
telInvalid: 'Onjuist opgemaakt telefoonnummer',
vanCalendar: {
end: 'Einde',
start: 'Beginnen',
title: 'Kalender',
weekdays: ['Zon', 'Maan', 'Dins', 'Woens', 'Donder', 'Vrij', 'Zater'],
monthTitle: (year: number, month: number) => `${year}/${month}`,
rangePrompt: (maxRange: number) => `Kies niet meer dan ${maxRange} dagen`,
},
vanCascader: {
select: 'Selecteer',
},
vanPagination: {
prev: 'Vorige',
next: 'Volgende',
},
vanPullRefresh: {
pulling: 'Trekken om te vernieuwen...',
loosing: 'Los om te verversen...',
},
vanSubmitBar: {
label: 'Totaal:',
},
vanCoupon: {
unlimited: 'Onbeperkt',
discount: (discount: number) => `${discount * 10}% korting`,
condition: (condition: number) => `Ten minste ${condition}`,
},
vanCouponCell: {
title: 'Waardebon',
count: (count: number) => `Je hebt ${count} coupons`,
},
vanCouponList: {
exchange: 'Uitwisselen',
close: 'Sluiten',
enable: 'Beschikbaar',
disabled: 'Niet beschikbaar',
placeholder: 'Couponcode',
},
vanAddressEdit: {
area: 'Gebied',
areaEmpty: 'Selecteer een ontvangstgebied',
addressEmpty: 'Adres mag niet leeg zijn',
addressDetail: 'Adres',
defaultAddress: 'Instellen als standaardadres',
},
vanAddressList: {
add: 'Nieuw adres toevoegen',
},
};

0 comments on commit 80f2134

Please sign in to comment.