feat(Locale): add Bangla (Bangladesh) (#10287)

This commit is contained in:
neverland 2022-02-11 16:18:51 +08:00 committed by GitHub
parent a5ee18f31c
commit 8acb93c43d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 112 additions and 38 deletions

View File

@ -39,25 +39,26 @@ Locale.add(messages);
Current supported languages: Current supported languages:
| Language | Filename | | Language | Filename | Version |
| ------------------------ | ------------ | | ------------------------ | ------------ | -------- |
| German | de-DE | | Bangla (Bangladesh) | bn-BD | `v3.4.5` |
| German (formal) | de-DE-formal | | German | de-DE | - |
| English | en-US | | German (formal) | de-DE-formal | - |
| Spanish (Spain) | es-ES | | English | en-US | - |
| French | fr-FR | | Spanish (Spain) | es-ES | - |
| Hindi | hi-IN | | French | fr-FR | - |
| Japanese | ja-JP | | Hindi | hi-IN | `v3.4.3` |
| Korean | ko-KR | | Japanese | ja-JP | - |
| Norwegian | nb-NO | | Korean | ko-KR | `v3.4.3` |
| Portuguese (Brazil) | pt-BR | | Norwegian | nb-NO | - |
| Romanian | ro-RO | | Portuguese (Brazil) | pt-BR | `v3.3.3` |
| Russian | ru-RU | | Romanian | ro-RO | - |
| Turkish | tr-TR | | Russian | ru-RU | `v3.1.5` |
| Thai | th-TH | | Turkish | tr-TR | - |
| Chinese | zh-CN | | Thai | th-TH | - |
| Traditional Chinese (HK) | zh-HK | | Chinese | zh-CN | - |
| Traditional Chinese (TW) | zh-TW | | Traditional Chinese (HK) | zh-HK | - |
| Traditional Chinese (TW) | zh-TW | - |
> View all language configs [Here](https://github.com/youzan/vant/tree/dev/packages/vant/src/locale/lang). > View all language configs [Here](https://github.com/youzan/vant/tree/dev/packages/vant/src/locale/lang).

View File

@ -40,25 +40,26 @@ Locale.add(messages);
目前支持的语言: 目前支持的语言:
| 语言 | 文件名 | | 语言 | 文件名 | 版本 |
| --------------- | ------------ | | -------------------- | ------------ | -------- |
| 德语 | de-DE | | 孟加拉语(孟加拉国) | bn-BD | `v3.4.5` |
| 德语 (正式) | de-DE-formal | | 德语 | de-DE | - |
| 英语 | en-US | | 德语 (正式) | de-DE-formal | - |
| 西班牙语 | es-ES | | 英语 | en-US | - |
| 法语 | fr-FR | | 西班牙语 | es-ES | - |
| 印地语 | hi-IN | | 法语 | fr-FR | - |
| 日语 | ja-JP | | 印地语 | hi-IN | `v3.4.3` |
| 韩语/朝鲜语 | ko-KR.ts | | 日语 | ja-JP | - |
| 挪威语 | nb-NO | | 韩语/朝鲜语 | ko-KR | `v3.4.3` |
| 葡萄牙语 (巴西) | pt-BR | | 挪威语 | nb-NO | - |
| 罗马尼亚语 | ro-RO | | 葡萄牙语 (巴西) | pt-BR | `v3.3.3` |
| 俄罗斯语 | ru-RU | | 罗马尼亚语 | ro-RO | - |
| 土耳其语 | tr-TR | | 俄罗斯语 | ru-RU | `v3.1.5` |
| 泰语 | th-TH | | 土耳其语 | tr-TR | - |
| 简体中文 | zh-CN | | 泰语 | th-TH | - |
| 繁體中文(港) | zh-HK | | 简体中文 | zh-CN | - |
| 繁體中文(台) | zh-TW | | 繁體中文(港) | zh-HK | - |
| 繁體中文(台) | zh-TW | - |
> 在 [这里](https://github.com/youzan/vant/tree/dev/packages/vant/src/locale/lang) 查看所有的语言包源文件。 > 在 [这里](https://github.com/youzan/vant/tree/dev/packages/vant/src/locale/lang) 查看所有的语言包源文件。

View File

@ -0,0 +1,72 @@
export default {
name: 'নাম',
tel: 'ফোন',
save: 'সংরক্ষণ করুন',
confirm: 'নিশ্চিত করুন',
cancel: 'বাতিল',
delete: 'মুছুন',
loading: 'লোড হচ্ছে...',
noCoupon: 'কোন কুপন নেই',
nameEmpty: 'অনুগ্রহ করে নামটি পূরণ করুন',
addContact: 'যোগাযোগ যোগ করুন',
telInvalid: 'বিকৃত ফোন নম্বর',
vanCalendar: {
end: 'শেষ',
start: 'শুরু',
title: 'ক্যালেন্ডার',
weekdays: [
'রবিবার',
'সোমবার',
'মঙ্গলবার',
'বুধবার',
'বৃহস্পতিবার',
'শুক্রবার',
'শনিবার',
],
monthTitle: (year: number, month: number) => `${year}/${month}`,
rangePrompt: (maxRange: number) =>
`${maxRange} দিনের বেশি নির্বাচন করবেন না`,
},
vanCascader: {
select: 'নির্বাচন',
},
vanPagination: {
prev: 'পূর্ববর্তী',
next: 'পরবর্তী',
},
vanPullRefresh: {
pulling: 'রিফ্রেশ করতে টানুন...',
loosing: 'রিফ্রেশ করতে আলগা...',
},
vanSubmitBar: {
label: 'মোট:',
},
vanCoupon: {
unlimited: 'আনলিমিটেড',
discount: (discount: number) => `${discount * 10}% ছাড়`,
condition: (condition: number) => `অন্তত ${condition}`,
},
vanCouponCell: {
title: 'কুপন',
count: (count: number) => `আপনার ${count} কুপন আছে`,
},
vanCouponList: {
exchange: 'বিনিময়',
close: 'বন্ধ',
enable: 'উপলভ্য',
disabled: 'অনুপলব্ধ',
placeholder: 'কুপন কোড',
},
vanAddressEdit: {
area: 'এরিয়া',
postal: 'ডাক',
areaEmpty: 'অনুগ্রহ করে একটি রিসিভিং এলাকা নির্বাচন করুন',
addressEmpty: 'ঠিকানা খালি হতে পারে না',
postalEmpty: 'ভুল পোস্টাল কোড',
addressDetail: 'ঠিকানা',
defaultAddress: 'ডিফল্ট ঠিকানা হিসাবে সেট করুন',
},
vanAddressList: {
add: 'নতুন ঠিকানা যোগ করুন',
},
};