feat(Locale): add Swedish lang (#10419)

This commit is contained in:
neverland 2022-03-20 10:43:59 +08:00 committed by GitHub
parent 653a7a817f
commit f2c12965f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 65 additions and 0 deletions

View File

@ -58,6 +58,7 @@ Current supported languages:
| Portuguese (Brazil) | pt-BR | `v3.3.3` |
| Romanian | ro-RO | - |
| Russian | ru-RU | `v3.1.5` |
| Swedish | sv-SE | `v3.4.7` |
| Turkish | tr-TR | - |
| Thai | th-TH | - |
| Ukrainian | uk-UA | `v3.4.5` |

View File

@ -59,6 +59,7 @@ Locale.add(messages);
| 葡萄牙语(巴西) | pt-BR | `v3.3.3` |
| 罗马尼亚语 | ro-RO | - |
| 俄罗斯语 | ru-RU | `v3.1.5` |
| 瑞典语 | sv-SE | `v3.4.7` |
| 土耳其语 | tr-TR | - |
| 泰语 | th-TH | - |
| 乌克兰语 | uk-UA | `v3.4.5` |

View File

@ -0,0 +1,63 @@
export default {
name: 'Namn',
tel: 'Telefon',
save: 'Spara',
confirm: 'Bekräfta',
cancel: 'Avbryt',
delete: 'Radera',
loading: 'Laddar...',
noCoupon: 'Inga kuponger',
nameEmpty: 'Vänligen fyll i namnet',
addContact: 'Lägg till kontakt',
telInvalid: 'Felformat telefonnummer',
vanCalendar: {
end: 'Slut',
start: 'Start',
title: 'Kalender',
weekdays: ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'],
monthTitle: (year: number, month: number) => `${year}/${month}`,
rangePrompt: (maxRange: number) => `Välj högst ${maxRange} dagar`,
},
vanCascader: {
select: 'Välj',
},
vanPagination: {
prev: 'Föregående',
next: 'Nästa',
},
vanPullRefresh: {
pulling: 'Dra för att uppdatera...',
loosing: 'Lös för att uppdatera...',
},
vanSubmitBar: {
label: 'Totalt:',
},
vanCoupon: {
unlimited: 'Obegränsat',
discount: (discount: number) => `${discount * 10}% rabatt`,
condition: (condition: number) => `Minst ${condition}`,
},
vanCouponCell: {
title: 'Kupong',
count: (count: number) => `Du har ${count} kuponger`,
},
vanCouponList: {
exchange: 'Utbyta',
close: 'Stäng',
enable: 'Tillgängliga',
disabled: 'Inte tillgänglig',
placeholder: 'Kupongkod',
},
vanAddressEdit: {
area: 'Område',
postal: 'Post',
areaEmpty: 'Välj ett mottagningsområde',
addressEmpty: 'Adressen får inte vara tom',
postalEmpty: 'Fel postnummer',
addressDetail: 'Adress',
defaultAddress: 'Ange som standardadress',
},
vanAddressList: {
add: 'Lägg till ny adress',
},
};