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:
| Language | Filename |
| ------------------------ | ------------ |
| German | de-DE |
| German (formal) | de-DE-formal |
| English | en-US |
| Spanish (Spain) | es-ES |
| French | fr-FR |
| Hindi | hi-IN |
| Japanese | ja-JP |
| Korean | ko-KR |
| Norwegian | nb-NO |
| Portuguese (Brazil) | pt-BR |
| Romanian | ro-RO |
| Russian | ru-RU |
| Turkish | tr-TR |
| Thai | th-TH |
| Chinese | zh-CN |
| Traditional Chinese (HK) | zh-HK |
| Traditional Chinese (TW) | zh-TW |
| Language | Filename | Version |
| ------------------------ | ------------ | -------- |
| Bangla (Bangladesh) | bn-BD | `v3.4.5` |
| German | de-DE | - |
| German (formal) | de-DE-formal | - |
| English | en-US | - |
| Spanish (Spain) | es-ES | - |
| French | fr-FR | - |
| Hindi | hi-IN | `v3.4.3` |
| Japanese | ja-JP | - |
| Korean | ko-KR | `v3.4.3` |
| Norwegian | nb-NO | - |
| Portuguese (Brazil) | pt-BR | `v3.3.3` |
| Romanian | ro-RO | - |
| Russian | ru-RU | `v3.1.5` |
| Turkish | tr-TR | - |
| Thai | th-TH | - |
| Chinese | zh-CN | - |
| 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 File

@ -40,25 +40,26 @@ Locale.add(messages);
目前支持的语言:
| 语言 | 文件名 |
| --------------- | ------------ |
| 德语 | de-DE |
| 德语 (正式) | de-DE-formal |
| 英语 | en-US |
| 西班牙语 | es-ES |
| 法语 | fr-FR |
| 印地语 | hi-IN |
| 日语 | ja-JP |
| 韩语/朝鲜语 | ko-KR.ts |
| 挪威语 | nb-NO |
| 葡萄牙语 (巴西) | pt-BR |
| 罗马尼亚语 | ro-RO |
| 俄罗斯语 | ru-RU |
| 土耳其语 | tr-TR |
| 泰语 | th-TH |
| 简体中文 | zh-CN |
| 繁體中文(港) | zh-HK |
| 繁體中文(台) | zh-TW |
| 语言 | 文件名 | 版本 |
| -------------------- | ------------ | -------- |
| 孟加拉语(孟加拉国) | bn-BD | `v3.4.5` |
| 德语 | de-DE | - |
| 德语 (正式) | de-DE-formal | - |
| 英语 | en-US | - |
| 西班牙语 | es-ES | - |
| 法语 | fr-FR | - |
| 印地语 | hi-IN | `v3.4.3` |
| 日语 | ja-JP | - |
| 韩语/朝鲜语 | ko-KR | `v3.4.3` |
| 挪威语 | nb-NO | - |
| 葡萄牙语 (巴西) | pt-BR | `v3.3.3` |
| 罗马尼亚语 | ro-RO | - |
| 俄罗斯语 | ru-RU | `v3.1.5` |
| 土耳其语 | tr-TR | - |
| 泰语 | th-TH | - |
| 简体中文 | zh-CN | - |
| 繁體中文(港) | zh-HK | - |
| 繁體中文(台) | zh-TW | - |
> 在 [这里](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: 'নতুন ঠিকানা যোগ করুন',
},
};