Parcourir la source

fix: 注册完善逻辑

liangan il y a 4 semaines
Parent
commit
8c6d67ec1f

+ 0 - 26
src/components/TextWithBreaks/TextWithBreaks.vue

@@ -1,26 +0,0 @@
-<script lang="ts" setup>
-interface Props {
-  /** 要显示的文本内容 */
-  text?: string
-  /** 自定义CSS类名 */
-  customClass?: string
-}
-
-const props = withDefaults(defineProps<Props>(), {
-  text: '',
-  customClass: '',
-})
-
-// 将 \n 转换为 <br> 标签
-const formattedText = computed(() => {
-  return props.text.replace(/\n/g, '<br>')
-})
-</script>
-
-<template>
-  <view :class="props.customClass" v-html="formattedText" />
-</template>
-
-<style lang="scss" scoped>
-// 可以在这里添加默认样式
-</style>

+ 0 - 59
src/components/product/product.vue

@@ -1,59 +0,0 @@
-<script lang="ts" setup>
-import { formatNumber } from '@/utils/index'
-
-defineOptions({
-  name: 'Product', // 商品组件
-})
-const props = defineProps({
-  item: {
-    type: Object,
-    required: true,
-  },
-  width: {
-    type: [Number, String],
-    default: 260,
-  },
-  height: {
-    type: [Number, String],
-    default: 260,
-  },
-})
-
-const emit = defineEmits(['itemClick'])
-
-function handleClick() {
-  emit('itemClick', props.item)
-}
-</script>
-
-<template>
-  <view
-    class="flex flex-col items-center border-1 border-#E0E0E0 border-solid pb-8rpx"
-    @click="handleClick"
-  >
-    <view class="mb-10rpx" :style="{ maxWidth: Number.isFinite(width) ? `${width}rpx` : width, width: Number.isFinite(width) ? `${width}rpx` : width, height: Number.isFinite(height) ? `${height}rpx` : height }">
-      <image
-        :src="item.image"
-        class="h-full w-full"
-        mode="aspectFit"
-      />
-    </view>
-    <view class="box-border w-full px-14rpx text-24rpx">
-      <view class="truncate">
-        {{ item.productName }}
-      </view>
-      <view class="flex items-center justify-between">
-        <view class="text-24rpx text-#FF334A font-bold">
-          ৳ {{ formatNumber(item.price) }}
-        </view>
-        <view class="text-24rpx text-#898989">
-          {{ item.sales }} Sold
-        </view>
-      </view>
-    </view>
-  </view>
-</template>
-
-<style lang="scss" scoped>
-//
-</style>

+ 10 - 326
src/locale/bn.json

@@ -1,338 +1,22 @@
 {
-  "addressBook.title": "ঠিকানা বই",
-  "addressBook.operate.title.add": "ঠিকানা যোগ করুন",
-  "addressBook.operate.title.edit": "ঠিকানা সম্পাদনা করুন",
-  "addressBook.operate.loading": "লোড হচ্ছে...",
-  "addressBook.operate.saving": "সংরক্ষণ করা হচ্ছে...",
-  "addressBook.operate.form.fullName": "পুরো নাম",
-  "addressBook.operate.form.phone": "ফোন নম্বর",
-  "addressBook.operate.form.phone.placeholder": "+88",
-  "addressBook.operate.form.district": "প্রদেশ/জেলা",
-  "addressBook.operate.form.district.placeholder": "অনুগ্রহ করে চয়ন করুন",
-  "addressBook.operate.form.street": "তলা/ইউনিট/রাস্তা",
-  "addressBook.operate.form.street.placeholder": "বিস্তারিত ঠিকানা",
-  "addressBook.operate.form.postcode": "পোস্টকোড",
-  "addressBook.operate.form.postcode.placeholder": "আপনার পোস্টকোড",
-  "addressBook.operate.form.default": "ডিফল্ট",
-  "addressBook.operate.button.save": "সংরক্ষণ",
-  "addressBook.operate.button.update": "আপডেট",
-  "addressBook.operate.error.loadFailed": "ঠিকানার বিবরণ লোড করতে ব্যর্থ",
-  "addressBook.operate.error.emptyName": "পুরো নাম লিখুন",
-  "addressBook.operate.error.emptyPhone": "ফোন নম্বর লিখুন",
-  "addressBook.operate.error.emptyDistrict": "প্রদেশ/জেলা নির্বাচন করুন",
-  "addressBook.operate.error.emptyStreet": "বিস্তারিত ঠিকানা লিখুন",
-  "addressBook.operate.error.emptyPostcode": "পোস্টকোড লিখুন",
-  "addressBook.operate.success.update": "ঠিকানা সফলভাবে আপডেট করা হয়েছে",
-  "addressBook.operate.success.save": "ঠিকানা সফলভাবে সংরক্ষিত হয়েছে",
-  "addressBook.operate.error.saveFailed": "সংরক্ষণ ব্যর্থ, আবার চেষ্টা করুন",
-  "addressBook.operate.error.loadPage": "পৃষ্ঠা লোড করতে ব্যর্থ",
-  "addressBook.delete.deleting": "মুছে ফেলা হচ্ছে...",
-  "addressBook.delete.success": "ঠিকানা সফলভাবে মুছে ফেলা হয়েছে",
-  "addressBook.delete.confirm": "মুছে ফেলা নিশ্চিত করুন",
-  "addressBook.delete.message": "আপনি কি এই ঠিকানাটি মুছে ফেলতে চান?",
-  "addressBook.delete.button": "মুছুন",
-  "addressBook.tag.default": "ডিফল্ট",
-  "addressBook.button.add": "নতুন ঠিকানা যোগ করুন",
-  "addressBook.select.binding": "ঠিকানা বাইন্ড করা হচ্ছে...",
-  "addressBook.select.success": "ঠিকানা সফলভাবে বাইন্ড হয়েছে!",
-  "addressBook.select.failed": "ঠিকানা বাইন্ড করতে ব্যর্থ। অনুগ্রহ করে আবার চেষ্টা করুন।",
-  "addressBook.select.networkError": "নেটওয়ার্ক ত্রুটি। অনুগ্রহ করে আপনার সংযোগ পরীক্ষা করে আবার চেষ্টা করুন।",
-  "myProfile.title": "আমার প্রোফাইল",
-  "myProfile.avatar": "অবতার",
-  "myProfile.userId": "ইউজার আইডি",
-  "myProfile.userName": "ব্যবহারকারীর নাম",
-  "myProfile.mobileNumber": "মোবাইল নম্বর",
-  "myProfile.bankName": "ব্যাংকের নাম",
-  "myProfile.bankAccountName": "ব্যাংক অ্যাকাউন্ট নাম",
-  "myProfile.bankAccountNo": "ব্যাংক অ্যাকাউন্ট নং",
-  "myProfile.upload.sizeLimit": "ছবির আকার 5MB এর বেশি হতে পারবে না",
-  "myProfile.upload.uploading": "আপলোড হচ্ছে...",
-  "myProfile.upload.success": "অবতার সফলভাবে আপডেট করা হয়েছে",
-  "myProfile.upload.error": "অবতার আপডেট করতে ব্যর্থ হয়েছে",
-  "setting.title": "সেটিং",
-  "setting.changePassword": "পাসওয়ার্ড পরিবর্তন",
-  "setting.language": "ভাষা",
-  "setting.policies": "নীতিমালা",
-  "setting.help": "সহায়তা",
-  "setting.feedback": "প্রতিক্রিয়া",
-  "setting.logout": "লগ আউট",
-  "setting.version": "ভার্সন {0}",
-  "setting.lang.en": "ইংরেজি",
-  "setting.lang.bn": "বাংলা",
-  "home.missionCenter": "মিশন\nসেন্টার",
-  "home.refer&earn": "রেফার\nএবং আয়",
-  "home.vip": "ভিআইপি\nসদস্যতা",
-  "home.bestSellers": "সেরা\nবিক্রেতা",
-  "home.topChampions": "শীর্ষ\nচ্যাম্পিয়ন",
-  "home.news": "নতুন",
-  "home.priceTab.allPrice": "All Price",
-  "home.priceTab.300spot": "৩০০স্পট",
-  "home.priceTab.500spot": "৫০০স্পট",
-  "home.priceTab.1000spot": "১০০০স্পট",
-  "home.priceTab.2000spot": "২০০০স্পট",
-  "mine.auth.register": "নিবন্ধন",
-  "mine.auth.login": "লগইন",
-  "mine.wallet.title": "BandhuBuy ওয়ালেট",
-  "mine.wallet.balance": "ওয়ালেট ব্যালেন্স",
-  "mine.wallet.recharge": "রিচার্জ",
-  "mine.group.title": "আমার গ্রুপ",
-  "mine.group.all": "সব গ্রুপ",
-  "mine.group.toPay": "পেমেন্ট করুন",
-  "mine.group.success": "সফল",
-  "mine.group.failed": "ব্যর্থ",
-  "mine.group.reward": "পুরস্কার",
-  "mine.menu.profile": "আমার প্রোফাইল",
-  "mine.menu.address": "ঠিকানা বই",
-  "mine.menu.share": "শেয়ার",
-  "mine.menu.favorite": "আমার পছন্দের",
-  "mine.menu.chat": "লাইভ চ্যাট",
-  "mine.menu.activity": "কার্যকলাপ গ্রুপ",
-  "income.title": "রাজস্ব কেন্দ্র",
-  "income.totalEarnings": "মোট আয়",
-  "income.accountBalance": "অ্যাকাউন্ট ব্যালেন্স",
-  "income.settledAmount": "নিষ্পত্তি করা অর্থ",
-  "income.pendingAmount": "অপেক্ষমান অর্থ",
-  "income.tdEarnings": "আজকের আয়",
-  "income.ydEarnings": "গতকালের আয়",
-  "income.mtdEarnings": "মাসের আয়",
-  "income.myGroupData": "আমার গ্রুপ ডেটা",
-  "wallet.withdraw.title": "উত্তোলন",
-  "wallet.withdraw.balance": "ওয়ালেট ব্যালেন্স",
-  "wallet.withdraw.info": "উত্তোলনের তথ্য",
-  "wallet.withdraw.form.bankName": "ব্যাংকের নাম",
-  "wallet.withdraw.form.bankAccountName": "ব্যাংক অ্যাকাউন্ট নাম",
-  "wallet.withdraw.form.bankAccountNo": "ব্যাংক অ্যাকাউন্ট নং",
-  "wallet.withdraw.form.amount": "উত্তোলনের পরিমাণ",
-  "wallet.withdraw.form.allAmount": "সমস্ত পরিমাণ",
-  "wallet.withdraw.form.submit": "জমা দিন",
-  "wallet.withdraw.record": "রেকর্ড",
-  "wallet.withdraw.error.bankName": "ব্যাংকের নাম লিখুন",
-  "wallet.withdraw.error.bankAccountName": "ব্যাংক অ্যাকাউন্ট নাম লিখুন",
-  "wallet.withdraw.error.bankAccountNo": "ব্যাংক অ্যাকাউন্ট নম্বর লিখুন",
-  "wallet.withdraw.error.amount": "উত্তোলনের পরিমাণ লিখুন",
-  "wallet.withdraw.notes.title": "নোট:",
-  "wallet.withdraw.notes.1": "উত্তোলন পর্যালোচনার সময় সকাল ৯টা থেকে রাত ১০টা পর্যন্ত। উত্তোলনের পর ২ ঘন্টার মধ্যে পৌঁছানোর প্রত্যাশা করা হয়, প্রকৃত পৌঁছানোর সময় চূড়ান্ত সফল প্রক্রিয়াকরণের সময়ের উপর নির্ভর করে",
-  "wallet.withdraw.notes.2": "নিশ্চিত করুন যে আপনার ব্যাংক অ্যাকাউন্টের বিবরণ সঠিক।",
-  "wallet.withdraw.notes.3": "উত্তোলনের ব্যাংক অ্যাকাউন্টের তথ্য নিবন্ধিত অ্যাকাউন্টের তথ্যের সাথে মিলে যেতে হবে।",
-  "wallet.withdraw.notes.4": "একক উত্তোলনের নূন্যতম পরিমাণ ৳{0} এবং সর্বোচ্চ ৳{1};",
-  "wallet.withdraw.notes.5": "প্রতিটি উত্তোলনে {0}% উত্তোলন প্রক্রিয়াকরণ ফি লাগবে;",
-  "income.withdrawNow": "এখনই উত্তোলন করুন",
-  "income.revenueRecord": "আয়ের রেকর্ড",
-  "income.filter.dt": "আজ",
-  "income.filter.yt": "গতকাল",
-  "income.filter.l7d": "গত ৭ দিন",
-  "income.filter.mtd": "এই মাস",
-  "income.filter.ytd": "এই বছর",
-  "search.placeholder": "অনুসন্ধান",
-  "search.filterPrice": "সব দাম",
-  "search.filterCategory": "সব বিভাগ",
-  "search.filterSellers": "সেরা বিক্রেতা",
-  "mine.pages.share.title": "শেয়ার",
-  "mine.pages.share.referrerCode": "আমার রেফারার কোড",
-  "mine.pages.share.qrCode": "QR কোড",
-  "mine.pages.share.description": "আপনার বন্ধুদের সাথে আপনার QR কোড শেয়ার করুন, তারা তাদের ক্যামেরা দিয়ে স্ক্যান করে আপনার ডাউনলাইন হিসেবে নিবন্ধন করতে পারবেন।",
-  "mine.pages.share.copySuccess": "ক্লিপবোর্ডে কপি করা হয়েছে",
-  "mine.pages.share.shareTo": "{0} এ শেয়ার করুন",
-  "mine.pages.myFavorite.title": "আমার পছন্দের",
-  "mine.pages.myFavorite.empty": "এখনও কোনো পছন্দের নেই",
-  "auth.login.title": "লগইন",
-  "auth.login.username.placeholder": "মোবাইল নম্বর / ব্যবহারকারীর নাম",
-  "auth.login.password.placeholder": "পাসওয়ার্ড ৬-২০ অক্ষর",
-  "auth.login.button": "লগইন",
-  "auth.login.noAccount": "এখনও কোনো অ্যাকাউন্ট নেই?",
-  "auth.login.register": "নিবন্ধন",
-  "auth.login.forgotPassword": "পাসওয়ার্ড ভুলে গেছেন?",
-  "auth.login.error.emptyUsername": "অনুগ্রহ করে ব্যবহারকারীর নাম বা ফোন নম্বর লিখুন",
-  "auth.login.error.emptyPassword": "অনুগ্রহ করে পাসওয়ার্ড লিখুন",
-  "auth.login.error.passwordLength": "পাসওয়ার্ড ৬-২০ অক্ষরের হতে হবে",
   "auth.register.title": "নিবন্ধন",
   "auth.register.username.placeholder": "ব্যবহারকারীর নাম",
-  "auth.register.phone.placeholder": "+৮৮ মোবাইল নম্বর",
-  "auth.register.verifyCode.placeholder": "যাচাইকরণ কোড",
-  "auth.register.password.placeholder": "পাসওয়ার্ড ৬-২০ অক্ষর",
+  "auth.register.phone.placeholder": "+88 মোবাইল নম্বর",
+  "auth.register.verifyCode.placeholder": "ভেরিফিকেশন কোড",
+  "auth.register.password.placeholder": "পাসওয়ার্ড 6-20 অক্ষর",
   "auth.register.referrerCode.placeholder": "রেফারার কোড",
   "auth.register.getCode": "কোড পান",
   "auth.register.button": "নিবন্ধন",
-  "auth.register.hasAccount": "ইতিমধ্যে অ্যাকাউন্ট আছে?",
+  "auth.register.hasAccount": "ইতিমধ্যে একাউন্ট আছে?",
   "auth.register.loginNow": "এখনই লগইন করুন",
   "auth.register.error.emptyUsername": "অনুগ্রহ করে ব্যবহারকারীর নাম লিখুন",
   "auth.register.error.emptyPhone": "অনুগ্রহ করে ফোন নম্বর লিখুন",
-  "auth.register.error.emptyVerifyCode": "অনুগ্রহ করে যাচাইকরণ কোড লিখুন",
+  "auth.register.error.emptyVerifyCode": "অনুগ্রহ করে ভেরিফিকেশন কোড লিখুন",
   "auth.register.error.emptyPassword": "অনুগ্রহ করে পাসওয়ার্ড লিখুন",
-  "auth.register.error.passwordLength": "পাসওয়ার্ড ৬-২০ অক্ষরের হতে হবে",
-  "auth.register.success.codeSent": "যাচাইকরণ কোড সফলভাবে পাঠানো হয়েছে",
-  "auth.register.success.registered": "নিবন্ধন সফল",
-  "auth.register.error.registrationFailed": "নিবন্ধন ব্যর্থ",
-  "auth.forgotPassword.title": "পাসওয়ার্ড ভুলে গেছেন",
-  "auth.forgotPassword.phone.placeholder": "ফোন নম্বর",
-  "auth.forgotPassword.verifyCode.placeholder": "যাচাইকরণ কোড",
-  "auth.forgotPassword.newPassword.placeholder": "নতুন পাসওয়ার্ড",
-  "auth.forgotPassword.confirmPassword.placeholder": "পাসওয়ার্ড নিশ্চিত করুন",
-  "auth.forgotPassword.getCode": "কোড পান",
-  "auth.forgotPassword.button": "পাসওয়ার্ড রিসেট করুন",
-  "auth.forgotPassword.backToLogin": "লগইনে ফিরে যান",
-  "auth.forgotPassword.error.emptyPhone": "অনুগ্রহ করে ফোন নম্বর লিখুন",
-  "auth.forgotPassword.error.invalidPhone": "অনুগ্রহ করে বৈধ ফোন নম্বর লিখুন",
-  "auth.forgotPassword.error.emptyVerifyCode": "অনুগ্রহ করে যাচাইকরণ কোড লিখুন",
-  "auth.forgotPassword.error.emptyNewPassword": "অনুগ্রহ করে নতুন পাসওয়ার্ড লিখুন",
-  "auth.forgotPassword.error.passwordLength": "পাসওয়ার্ড ৬-২০ অক্ষরের হতে হবে",
-  "auth.forgotPassword.error.emptyConfirmPassword": "অনুগ্রহ করে আপনার পাসওয়ার্ড নিশ্চিত করুন",
-  "auth.forgotPassword.error.passwordMismatch": "পাসওয়ার্ড মিলছে না",
-  "auth.forgotPassword.success.codeSent": "যাচাইকরণ কোড সফলভাবে পাঠানো হয়েছে",
-  "auth.forgotPassword.success.passwordReset": "পাসওয়ার্ড সফলভাবে রিসেট হয়েছে",
-  "auth.forgotPassword.error.sendCodeFailed": "যাচাইকরণ কোড পাঠাতে ব্যর্থ",
-  "auth.forgotPassword.error.resetFailed": "পাসওয়ার্ড রিসেট করতে ব্যর্থ",
-  "auth.forgotPassword.passwordHint": "আপনার পাসওয়ার্ড পূর্বে ব্যবহৃত পাসওয়ার্ড থেকে আলাদা হতে হবে",
-  "auth.forgotPassword.hasAccount": "ইতিমধ্যে অ্যাকাউন্ট আছে?",
-  "auth.forgotPassword.loginNow": "এখনই লগইন করুন",
+  "auth.register.error.passwordLength": "পাসওয়ার্ড 6-20 অক্ষরের মধ্যে হতে হবে",
+  "auth.register.success.codeSent": "ভেরিফিকেশন কোড সফলভাবে পাঠানো হয়েছে",
+  "auth.register.success.registered": "নিবন্ধন সফল হয়েছে",
+  "auth.register.error.registrationFailed": "নিবন্ধন ব্যর্থ হয়েছে",
   "common.loading": "লোড হচ্ছে...",
-  "common.saving": "সংরক্ষণ করা হচ্ছে...",
-  "common.success": "সফল",
-  "common.error": "ত্রুটি",
-  "common.confirm": "নিশ্চিত করুন",
-  "common.cancel": "বাতিল",
-  "common.submit": "জমা দিন",
-  "common.save": "সংরক্ষণ",
-  "common.edit": "সম্পাদনা",
-  "common.delete": "মুছুন",
-  "common.add": "যোগ করুন",
-  "common.search": "অনুসন্ধান",
-  "common.filter": "ফিল্টার",
-  "common.all": "সব",
-  "common.none": "কোনটি নয়",
-  "common.empty": "কোনো ডেটা নেই",
-  "common.retry": "আবার চেষ্টা করুন",
-  "common.back": "ফিরে যান",
-  "common.next": "পরবর্তী",
-  "common.previous": "পূর্ববর্তী",
-  "common.close": "বন্ধ করুন",
-  "common.open": "খুলুন",
-  "common.view": "দেখুন",
-  "common.more": "আরও",
-  "wallet.myWallet.title": "আমার ওয়ালেট",
-  "wallet.balance": "ওয়ালেট ব্যালেন্স",
-  "wallet.frozenBalance": "ওয়ালেট হিমায়িত ব্যালেন্স",
-  "wallet.recharge": "রিচার্জ",
-  "wallet.discount": "সর্বোচ্চ ছাড় ৫%",
-  "wallet.withdrawNow": "এখনই উত্তোলন করুন",
-  "wallet.record": "ওয়ালেট রেকর্ড",
-  "wallet.filter.all": "সব",
-  "wallet.filter.recharge": "রিচার্জ",
-  "wallet.filter.withdraw": "উত্তোলন",
-  "wallet.filter.commission": "কমিশন",
-  "wallet.rechargeRecord.title": "রিচার্জ রেকর্ড",
-  "wallet.withdrawRecord.title": "উত্তোলন রেকর্ড",
-  "missionCenter.title": "মিশন সেন্টার",
-  "referEarn.title": "রেফার এবং আয়",
-  "vipMembership.title": "ভিআইপি সদস্যতা",
-  "notifications.title": "বিজ্ঞপ্তি",
-  "notifications.tabs.all": "সব",
-  "notifications.tabs.orders": "অর্ডার",
-  "notifications.tabs.revenue": "রাজস্ব",
-  "notifications.tabs.account": "অ্যাকাউন্ট",
-  "notifications.tabs.promos": "প্রচার",
-  "notifications.order.paymentSuccess.title": "গ্রুপ বাই পেমেন্ট সফল",
-  "notifications.order.paymentSuccess.content": "আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] সফলভাবে পেমেন্ট হয়েছে",
-  "notifications.order.groupBuyWin.title": "গ্রুপ বাই সফল",
-  "notifications.order.groupBuyWin.content": "আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] নির্বাচিত হয়েছে",
-  "notifications.order.groupBuyLose.title": "গ্রুপ বাই সফল",
-  "notifications.order.groupBuyLose.content": "আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] নির্বাচিত হয়নি",
-  "notifications.order.provideAddress.title": "অর্ডার শিপিং ঠিকানা প্রদান",
-  "notifications.order.provideAddress.content": "আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] অনুগ্রহ করে আপনার শিপিং ঠিকানা প্রদান করুন",
-  "notifications.order.groupBuyFail.title": "গ্রুপ বাই ব্যর্থ",
-  "notifications.order.groupBuyFail.content": "আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] ব্যর্থ হয়েছে",
-  "notifications.order.shipped.title": "অর্ডার সফলভাবে শিপ হয়েছে",
-  "notifications.order.shipped.content": "আপনার অংশগ্রহণ করা গ্রুপ অর্ডার [{orderId}] সফলভাবে শিপ হয়েছে",
-  "notifications.reward.referFriends.title": "বন্ধু রেফার পুরস্কার",
-  "notifications.reward.referFriends.content": "আপনি বন্ধু রেফারের জন্য পুরস্কার পেয়েছেন",
-  "notifications.reward.groupBuy.title": "গ্রুপ বাইং পুরস্কার",
-  "notifications.reward.groupBuy.content": "আপনি একটি পুরস্কার পেয়েছেন, অর্ডার আইডি [{orderId}]",
-  "notifications.reward.directReferral.title": "সরাসরি রেফারেল পুরস্কার",
-  "notifications.reward.directReferral.content": "আপনি সরাসরি রেফারেলের জন্য পুরস্কার পেয়েছেন",
-  "notifications.reward.checkin.title": "চেক-ইন পুরস্কার",
-  "notifications.reward.checkin.content": "আপনি চেক-ইনের জন্য পুরস্কার পেয়েছেন",
-  "notifications.money.rechargeSuccess.title": "রিচার্জ সফল",
-  "notifications.money.rechargeSuccess.content": "আপনার KLICKওয়ালেট সফলভাবে রিচার্জ হয়েছে",
-  "notifications.money.withdrawalAccountSuccess.title": "উত্তোলন সফল",
-  "notifications.money.withdrawalAccountSuccess.content": "আপনার রাজস্ব অ্যাকাউন্ট উত্তোলনের অনুরোধ প্রক্রিয়া করা হয়েছে",
-  "notifications.money.withdrawalWalletSuccess.title": "উত্তোলন সফল",
-  "notifications.money.withdrawalWalletSuccess.content": "আপনার KLICK ওয়ালেট উত্তোলনের অনুরোধ প্রক্রিয়া করা হয়েছে",
-  "notifications.money.withdrawalFail.title": "উত্তোলন ব্যর্থ",
-  "notifications.money.withdrawalFail.content": "আপনার উত্তোলনের অনুরোধ ব্যর্থ হয়েছে",
-  "productDetail.title": "পণ্যের বিবরণ",
-  "productDetail.notification.message": "{name} {time} সেকেন্ড আগে এই গ্রুপে {action}!",
-  "productDetail.notification.opened": "খুলেছেন",
-  "productDetail.notification.joined": "যোগ দিয়েছেন",
-  "webLink.title": "ওয়েব লিঙ্ক",
-  "missionCenter.signIn.title": "ক্রমাগত সাইন ইন করে পুরস্কার পান",
-  "missionCenter.signIn.button": "চেক-ইন",
-  "missionCenter.dailyMission.title": "দৈনিক মিশন",
-  "missionCenter.dailyMission.startNow": "এখনই শুরু করুন",
-  "vipMembership.inviteProgress": "আরও {0} জন বন্ধুকে আমন্ত্রণ জানাতে হবে। V{1} এ আপগ্রেড করতে পারেন",
-  "vipMembership.invitedFriends": "আমন্ত্রিত বন্ধুরা",
-  "vipMembership.teamMembers": "টিম সদস্যরা",
-  "vipMembership.l7dEarnings": "গত ৭ দিনের আয়",
-  "vipMembership.benefitsTiers": "ভিআইপি সুবিধা/স্তর",
-  "vipMembership.table.vipLevel": "ভিআইপি\nস্তর",
-  "vipMembership.table.invitedNo": "আমন্ত্রণ\nসংখ্যা",
-  "vipMembership.table.directReferralReward": "সরাসরি রেফারেল\nপুরস্কার",
-  "vipMembership.table.indirectReferralReward": "পরোক্ষ রেফারেল\nপুরস্কার",
-  "vipMembership.table.joinedGroupsNo": "যোগদানকৃত গ্রুপ\nসংখ্যা",
-  "referEarn.inviteFriends": "বন্ধুদের আমন্ত্রণ জানান",
-  "referEarn.earnCash": "নগদ আয় করুন",
-  "referEarn.shareNow": "এখনই শেয়ার করুন",
-  "referEarn.howToShare": "- কীভাবে শেয়ার করে অর্থ উপার্জন করবেন -",
-  "referEarn.step1": "বন্ধুদের আমন্ত্রণ শেয়ার করুন",
-  "referEarn.step2": "আপনার বন্ধু গ্রুপে যোগ দিন",
-  "referEarn.step3": "আপনি ৳{0} পুরস্কার পান",
-  "referEarn.invitedFriends": "আমন্ত্রিত বন্ধুরা",
-  "checkout.title": "চেকআউট",
-  "checkout.selected": "নির্বাচিত",
-  "checkout.quantity": "পরিমাণ",
-  "checkout.orderSummary": "অর্ডার সারসংক্ষেপ",
-  "checkout.subTotal": "উপমোট",
-  "checkout.total": "মোট",
-  "checkout.selectPaymentMethod": "পেমেন্ট পদ্ধতি নির্বাচন করুন",
-  "checkout.walletBalance": "ব্যালেন্স",
-  "checkout.placeOrder": "অর্ডার করুন",
-  "checkout.dialog.insufficientBalance": "আপনার ওয়ালেট ব্যালেন্স অপর্যাপ্ত।\nঅনুগ্রহ করে রিচার্জ করুন!",
-  "checkout.dialog.rechargeDiscount": "রিচার্জে সর্বোচ্চ ৫% ছাড়",
-  "checkout.dialog.rechargeNow": "এখনই রিচার্জ করুন",
-  "checkout.dialog.paymentSuccess": "পেমেন্ট সফল!\nআপনার অর্ডার দেওয়া হয়েছে।",
-  "checkout.dialog.viewOrder": "অর্ডার দেখুন",
-  "checkout.dialog.paymentFailed": "পেমেন্ট ব্যর্থ!\nঅনুগ্রহ করে আবার চেষ্টা করুন বা সাপোর্টে যোগাযোগ করুন।",
-  "checkout.dialog.retryPayment": "পেমেন্ট পুনরায় চেষ্টা করুন",
-  "checkout.dialog.networkError": "নেটওয়ার্ক সংযোগ ব্যর্থ।\nঅনুগ্রহ করে আপনার নেটওয়ার্ক সেটিংস পরীক্ষা করুন।",
-  "checkout.dialog.retry": "আবার চেষ্টা করুন",
-  "checkout.dialog.gotIt": "বুঝেছি",
-  "checkout.toast.redirecting": "অর্ডারে পুনঃনির্দেশ করা হচ্ছে...",
-  "checkout.toast.retrying": "আবার চেষ্টা করা হচ্ছে...",
-  "bestSellers.title": "সেরা বিক্রেতা",
-  "bestSellers.successfullyGrouped": "গত ৭ দিনে {0} এর বেশি সফলভাবে গ্রুপ করা হয়েছে",
-  "productDetail.price": "দাম",
-  "productDetail.sold": "{0} বিক্রি হয়েছে",
-  "productDetail.selected": "নির্বাচিত",
-  "productDetail.groupRules": "গ্রুপ নিয়ম",
-  "productDetail.viewRules": "নিয়ম দেখুন",
-  "productDetail.ongoingGroup": "চলমান গ্রুপ",
-  "productDetail.need": "আরও",
-  "productDetail.more": "জন প্রয়োজন",
-  "productDetail.joinGroup": "গ্রুপে যোগ দিন",
-  "productDetail.details": "বিবরণ",
-  "productDetail.home": "হোম",
-  "productDetail.favorite": "পছন্দের",
-  "productDetail.favoriteSuccess": "পছন্দের তালিকায় যোগ করা হয়েছে",
-  "productDetail.unfavoriteSuccess": "পছন্দের তালিকা থেকে সরানো হয়েছে",
-  "productDetail.favoriteError": "অপারেশন ব্যর্থ, আবার চেষ্টা করুন",
-  "productDetail.openGroup": "গ্রুপ খুলুন",
-  "productDetail.quantity": "পরিমাণ",
-  "topChampions.title": "শীর্ষ চ্যাম্পিয়ন",
-  "topChampions.update": "{0} আপডেট",
-  "topChampions.top": "TOP",
-  "topChampions.invitedFriends": "আমন্ত্রিত বন্ধুরা",
-  "topChampions.l7dEarnings": "গত ৭ দিনের আয়",
-  "topChampions.teamMembers": "টিম সদস্যরা",
-  "topChampions.joinedGroups": "যোগদানকৃত গ্রুপ",
-  "wallet.recharge.title": "রিচার্জ",
-  "wallet.recharge.submit": "জমা দিন"
+  "common.saving": "সংরক্ষণ করা হচ্ছে..."
 }

+ 1 - 318
src/locale/en.json

@@ -1,151 +1,4 @@
 {
-  "addressBook.title": "Address Book",
-  "addressBook.operate.title.add": "Add Address",
-  "addressBook.operate.title.edit": "Edit Address",
-  "addressBook.operate.loading": "Loading...",
-  "addressBook.operate.saving": "Saving...",
-  "addressBook.operate.form.fullName": "Full Name",
-  "addressBook.operate.form.phone": "Phone Number",
-  "addressBook.operate.form.phone.placeholder": "+88",
-  "addressBook.operate.form.district": "Privince/District",
-  "addressBook.operate.form.district.placeholder": "Please choose",
-  "addressBook.operate.form.street": "Floor/Unit No./Street",
-  "addressBook.operate.form.street.placeholder": "Detailed address",
-  "addressBook.operate.form.postcode": "Postcode",
-  "addressBook.operate.form.postcode.placeholder": "Your postcode",
-  "addressBook.operate.form.default": "Default",
-  "addressBook.operate.button.save": "Save",
-  "addressBook.operate.button.update": "Update",
-  "addressBook.operate.error.loadFailed": "Failed to load address details",
-  "addressBook.operate.error.emptyName": "Please enter full name",
-  "addressBook.operate.error.emptyPhone": "Please enter phone number",
-  "addressBook.operate.error.emptyDistrict": "Please select province/district",
-  "addressBook.operate.error.emptyStreet": "Please enter detailed address",
-  "addressBook.operate.error.emptyPostcode": "Please enter postcode",
-  "addressBook.operate.success.update": "Address updated successfully",
-  "addressBook.operate.success.save": "Address saved successfully",
-  "addressBook.operate.error.saveFailed": "Save failed, please try again",
-  "addressBook.operate.error.loadPage": "Page load failed",
-  "addressBook.delete.deleting": "Deleting...",
-  "addressBook.delete.success": "Address deleted successfully",
-  "addressBook.delete.confirm": "Confirm Delete",
-  "addressBook.delete.message": "Are you sure you want to delete this address?",
-  "addressBook.delete.button": "Delete",
-  "addressBook.tag.default": "default",
-  "addressBook.button.add": "Add New Address",
-  "addressBook.select.binding": "Binding address...",
-  "addressBook.select.success": "Address bound successfully!",
-  "addressBook.select.failed": "Failed to bind address. Please try again.",
-  "addressBook.select.networkError": "Network error. Please check your connection and try again.",
-  "myProfile.title": "My Profile",
-  "myProfile.avatar": "Avatar",
-  "myProfile.userId": "User ID",
-  "myProfile.userName": "User Name",
-  "myProfile.mobileNumber": "Mobile Number",
-  "myProfile.bankName": "Bank Name",
-  "myProfile.bankAccountName": "Bank Account Name",
-  "myProfile.bankAccountNo": "Bank Account No.",
-  "myProfile.upload.sizeLimit": "Image size cannot exceed 5MB",
-  "myProfile.upload.uploading": "Uploading...",
-  "myProfile.upload.success": "Avatar updated successfully",
-  "myProfile.upload.error": "Failed to update avatar",
-  "setting.title": "Setting",
-  "setting.changePassword": "Change Password",
-  "setting.language": "Language",
-  "setting.policies": "Policies",
-  "setting.help": "Help",
-  "setting.feedback": "Feedback",
-  "setting.logout": "Logout",
-  "setting.version": "Version {0}",
-  "setting.lang.en": "English",
-  "setting.lang.bn": "Bengali",
-  "home.missionCenter": "Mission\nCenter",
-  "home.refer&earn": "Refer\n&Earn",
-  "home.vip": "VIP\nMembership",
-  "home.bestSellers": "Best\nSellers",
-  "home.topChampions": "Top\nChampions",
-  "home.news": "News",
-  "home.priceTab.allPrice": "All Price",
-  "home.priceTab.300spot": "300Spot",
-  "home.priceTab.500spot": "500Spot",
-  "home.priceTab.1000spot": "1000Spot",
-  "home.priceTab.2000spot": "2000Spot",
-  "search.placeholder": "Search",
-  "search.filterPrice": "All Price",
-  "search.filterCategory": "Category",
-  "search.filterSellers": "Best Sellers",
-  "app.name": "En Title",
-  "income.title": "Revenue Center",
-  "mine.auth.register": "Register",
-  "mine.auth.login": "Login",
-  "mine.wallet.title": "BandhuBuy Wallet",
-  "mine.wallet.balance": "Wallet Balance",
-  "mine.wallet.recharge": "Recharge",
-  "mine.group.title": "My Group",
-  "mine.group.all": "All Group",
-  "mine.group.toPay": "To Pay",
-  "mine.group.success": "Success",
-  "mine.group.failed": "Failed",
-  "mine.group.reward": "Reward",
-  "mine.menu.profile": "My Profile",
-  "mine.menu.address": "Address Book",
-  "mine.menu.share": "Share",
-  "mine.menu.favorite": "My Favorite",
-  "mine.menu.chat": "Live Chat",
-  "mine.menu.activity": "Activity Group",
-  "income.totalEarnings": "Total Earnings",
-  "income.accountBalance": "Account Balance",
-  "income.settledAmount": "Settled Amount",
-  "income.pendingAmount": "Pending Amount",
-  "income.tdEarnings": "TD Earnings",
-  "income.ydEarnings": "YD Earnings",
-  "income.mtdEarnings": "MTD Earnings",
-  "income.myGroupData": "My Group Data",
-  "wallet.withdraw.title": "Withdraw",
-  "wallet.withdraw.balance": "Wallet Balance",
-  "wallet.withdraw.info": "Withdrawal information",
-  "wallet.withdraw.form.bankName": "Bank Name",
-  "wallet.withdraw.form.bankAccountName": "Bank Account Name",
-  "wallet.withdraw.form.bankAccountNo": "Bank Account No.",
-  "wallet.withdraw.form.amount": "Withdrawal Amount",
-  "wallet.withdraw.form.allAmount": "All Amounts",
-  "wallet.withdraw.form.submit": "Submit",
-  "wallet.withdraw.record": "Record",
-  "wallet.withdraw.error.bankName": "Please enter Bank Name",
-  "wallet.withdraw.error.bankAccountName": "Please enter Bank Account Name",
-  "wallet.withdraw.error.bankAccountNo": "Please enter Bank Account No.",
-  "wallet.withdraw.error.amount": "Please enter Withdrawal Amount",
-  "wallet.withdraw.notes.title": "Notes:",
-  "wallet.withdraw.notes.1": "Withdrawal Review Hours Are From 9 AM To 10 PM. Expected to arrive within 2 hours after withdrawal, actual arrival time is subject to the final successful processing time",
-  "wallet.withdraw.notes.2": "Make sure your bank account details is correct.",
-  "wallet.withdraw.notes.3": "The withdrawal bank account information must be consistent with the registered account information.",
-  "wallet.withdraw.notes.4": "The minimum amount for a single withdrawal is ৳{0} and the maximum is ৳{1};",
-  "wallet.withdraw.notes.5": "Every withdrawal you make will incur a {0}% withdrawal handling fee;",
-  "income.withdrawNow": "Withdraw Now",
-  "income.revenueRecord": "Revenue Record",
-  "income.filter.dt": "DT",
-  "income.filter.yt": "YT",
-  "income.filter.l7d": "L7D",
-  "income.filter.mtd": "MTD",
-  "income.filter.ytd": "YTD",
-  "mine.pages.share.title": "Share",
-  "mine.pages.share.referrerCode": "My Referrer Code",
-  "mine.pages.share.qrCode": "QR Code",
-  "mine.pages.share.description": "Share your QR code with your friends, they can scan it with their camera to register as your downline.",
-  "mine.pages.share.copySuccess": "Copied to clipboard",
-  "mine.pages.share.shareTo": "Share to {0}",
-  "mine.pages.myFavorite.title": "My Favorite",
-  "mine.pages.myFavorite.empty": "No favorites yet",
-  "auth.login.title": "Login",
-  "auth.login.username.placeholder": "Mobile number / Username",
-  "auth.login.password.placeholder": "Password 6-20 characters",
-  "auth.login.button": "Login",
-  "auth.login.noAccount": "Do Not Have An Account Yet?",
-  "auth.login.register": "Register",
-  "auth.login.forgotPassword": "Forgot Password?",
-  "auth.login.error.emptyUsername": "Please enter username or phone number",
-  "auth.login.error.emptyPassword": "Please enter password",
-  "auth.login.error.passwordLength": "Password should be 6-20 characters",
   "auth.register.title": "Register",
   "auth.register.username.placeholder": "Username",
   "auth.register.phone.placeholder": "+88 Mobile number",
@@ -164,176 +17,6 @@
   "auth.register.success.codeSent": "Verification code sent successfully",
   "auth.register.success.registered": "Registration successful",
   "auth.register.error.registrationFailed": "Registration failed",
-  "auth.forgotPassword.title": "Forgot Password",
-  "auth.forgotPassword.phone.placeholder": "Phone number",
-  "auth.forgotPassword.verifyCode.placeholder": "Verification Code",
-  "auth.forgotPassword.newPassword.placeholder": "New Password",
-  "auth.forgotPassword.confirmPassword.placeholder": "Confirm Password",
-  "auth.forgotPassword.getCode": "Get Code",
-  "auth.forgotPassword.button": "Reset Password",
-  "auth.forgotPassword.backToLogin": "Back to Login",
-  "auth.forgotPassword.error.emptyPhone": "Please enter phone number",
-  "auth.forgotPassword.error.invalidPhone": "Please enter valid phone number",
-  "auth.forgotPassword.error.emptyVerifyCode": "Please enter verification code",
-  "auth.forgotPassword.error.emptyNewPassword": "Please enter new password",
-  "auth.forgotPassword.error.passwordLength": "Password should be 6-20 characters",
-  "auth.forgotPassword.error.emptyConfirmPassword": "Please confirm your password",
-  "auth.forgotPassword.error.passwordMismatch": "Passwords do not match",
-  "auth.forgotPassword.success.codeSent": "Verification code sent successfully",
-  "auth.forgotPassword.success.passwordReset": "Password reset successfully",
-  "auth.forgotPassword.error.sendCodeFailed": "Failed to send verification code",
-  "auth.forgotPassword.error.resetFailed": "Failed to reset password",
-  "auth.forgotPassword.passwordHint": "Your password must be different from previous used password",
-  "auth.forgotPassword.hasAccount": "Already have account?",
-  "auth.forgotPassword.loginNow": "Login Now",
   "common.loading": "Loading...",
-  "common.saving": "Saving...",
-  "common.success": "Success",
-  "common.error": "Error",
-  "common.confirm": "Confirm",
-  "common.cancel": "Cancel",
-  "common.submit": "Submit",
-  "common.save": "Save",
-  "common.edit": "Edit",
-  "common.delete": "Delete",
-  "common.add": "Add",
-  "common.search": "Search",
-  "common.filter": "Filter",
-  "common.all": "All",
-  "common.none": "None",
-  "common.empty": "No data available",
-  "common.retry": "Retry",
-  "common.back": "Back",
-  "common.next": "Next",
-  "common.previous": "Previous",
-  "common.close": "Close",
-  "common.open": "Open",
-  "common.view": "View",
-  "common.more": "More",
-  "wallet.myWallet.title": "My Wallet",
-  "wallet.balance": "Wallet Balance",
-  "wallet.frozenBalance": "Wallet Frozen Balance",
-  "wallet.recharge": "Recharge",
-  "wallet.discount": "Highest Discount 5%",
-  "wallet.withdrawNow": "Withdraw Now",
-  "wallet.record": "Wallet Record",
-  "wallet.filter.all": "All",
-  "wallet.filter.recharge": "Recharge",
-  "wallet.filter.withdraw": "Withdraw",
-  "wallet.filter.commission": "Commission",
-  "wallet.rechargeRecord.title": "Recharge Record",
-  "wallet.withdrawRecord.title": "Withdraw Record",
-  "missionCenter.title": "Mission Center",
-  "referEarn.title": "Refer & Earn",
-  "vipMembership.title": "VIP Membership",
-  "notifications.title": "Notifications",
-  "notifications.tabs.all": "All",
-  "notifications.tabs.orders": "Orders",
-  "notifications.tabs.revenue": "Revenue",
-  "notifications.tabs.account": "Account",
-  "notifications.tabs.promos": "Promos",
-  "notifications.order.paymentSuccess.title": "Group Buy Payment Successful",
-  "notifications.order.paymentSuccess.content": "The group order you participated in [{orderId}] has been successfully paid",
-  "notifications.order.groupBuyWin.title": "Group Buy Successful",
-  "notifications.order.groupBuyWin.content": "The group order you participated in [{orderId}] has been selected",
-  "notifications.order.groupBuyLose.title": "Group Buy Successful",
-  "notifications.order.groupBuyLose.content": "The group order you participated in [{orderId}] was not selected",
-  "notifications.order.provideAddress.title": "Order provide shipping address",
-  "notifications.order.provideAddress.content": "The group order you participated in [{orderId}] Please provide your shipping address",
-  "notifications.order.groupBuyFail.title": "Group Buy Failed",
-  "notifications.order.groupBuyFail.content": "The group order you participated in [{orderId}] has failed",
-  "notifications.order.shipped.title": "Order shipped successfully",
-  "notifications.order.shipped.content": "The group order you participated in [{orderId}] has been successfully shipped",
-  "notifications.reward.referFriends.title": "Refer Friends Reward",
-  "notifications.reward.referFriends.content": "You have received the reward for refer friends",
-  "notifications.reward.groupBuy.title": "Group Buying Reward",
-  "notifications.reward.groupBuy.content": "You have received a reward, order ID [{orderId}]",
-  "notifications.reward.directReferral.title": "Direct Referral Reward",
-  "notifications.reward.directReferral.content": "You have received the reward for Direct Referral",
-  "notifications.reward.checkin.title": "Check-in Reward",
-  "notifications.reward.checkin.content": "You have received the reward for Check-in",
-  "notifications.money.rechargeSuccess.title": "Recharge Successful",
-  "notifications.money.rechargeSuccess.content": "Your KLICKwallet has been successfully recharged",
-  "notifications.money.withdrawalAccountSuccess.title": "Withdrawal Successful",
-  "notifications.money.withdrawalAccountSuccess.content": "Your Revenue Account withdrawal request has been processed",
-  "notifications.money.withdrawalWalletSuccess.title": "Withdrawal Successful",
-  "notifications.money.withdrawalWalletSuccess.content": "Your KLICK wallet withdrawal request has been processed",
-  "notifications.money.withdrawalFail.title": "Withdrawal Failed",
-  "notifications.money.withdrawalFail.content": "Your withdrawal request has been failed",
-  "productDetail.title": "Product Detail",
-  "productDetail.notification.message": "{name} {action} this group {time}s ago!",
-  "productDetail.notification.opened": "opened",
-  "productDetail.notification.joined": "joined",
-  "webLink.title": "Web Link",
-  "missionCenter.signIn.title": "Continuous sign in to receive rewards",
-  "missionCenter.signIn.button": "Check-in",
-  "missionCenter.dailyMission.title": "Daily Mission",
-  "missionCenter.dailyMission.startNow": "Start Now",
-  "vipMembership.inviteProgress": "We still need to invite {0} friends. Can upgrade to V{1}",
-  "vipMembership.invitedFriends": "Invited Friends",
-  "vipMembership.teamMembers": "Team Members",
-  "vipMembership.l7dEarnings": "L7D Earnings",
-  "vipMembership.benefitsTiers": "VIP Benefits/Tiers",
-  "vipMembership.table.vipLevel": "VIP\nLevel",
-  "vipMembership.table.invitedNo": "Invited\nNo",
-  "vipMembership.table.directReferralReward": "Direct Referral\nReward",
-  "vipMembership.table.indirectReferralReward": "Indirect Referral\nReward",
-  "vipMembership.table.joinedGroupsNo": "Joined Groups\nNo",
-  "referEarn.inviteFriends": "INVITE FRIENDS",
-  "referEarn.earnCash": "EARN CASH",
-  "referEarn.shareNow": "SHARE NOW",
-  "referEarn.howToShare": "- How to Share and Earn Money -",
-  "referEarn.step1": "Share Invite Friends",
-  "referEarn.step2": "Your Friend Join Group",
-  "referEarn.step3": "You Get ৳{0} Reward",
-  "referEarn.invitedFriends": "Invited Friends",
-  "checkout.title": "Checkout",
-  "checkout.selected": "Selected",
-  "checkout.quantity": "Quantity",
-  "checkout.orderSummary": "Order Summary",
-  "checkout.subTotal": "SubTotal",
-  "checkout.total": "Total",
-  "checkout.selectPaymentMethod": "Select Payment Method",
-  "checkout.walletBalance": "Balance",
-  "checkout.placeOrder": "Place Order",
-  "checkout.dialog.insufficientBalance": "Your wallet balance is insufficient.\nPlease recharge!",
-  "checkout.dialog.rechargeDiscount": "Recharge Highest Discount 5%",
-  "checkout.dialog.rechargeNow": "Recharge Now",
-  "checkout.dialog.paymentSuccess": "Payment successful!\nYour order has been placed.",
-  "checkout.dialog.viewOrder": "View Order",
-  "checkout.dialog.paymentFailed": "Payment failed!\nPlease try again or contact support.",
-  "checkout.dialog.retryPayment": "Retry Payment",
-  "checkout.dialog.networkError": "Network connection failed.\nPlease check your network settings.",
-  "checkout.dialog.retry": "Retry",
-  "checkout.dialog.gotIt": "Got it",
-  "checkout.toast.redirecting": "Redirecting to orders...",
-  "checkout.toast.retrying": "Retrying...",
-  "bestSellers.title": "Best Sellers",
-  "bestSellers.successfullyGrouped": "Successfully grouped over {0} L7D",
-  "productDetail.price": "Price",
-  "productDetail.sold": "{0} sold",
-  "productDetail.selected": "Selected",
-  "productDetail.groupRules": "Group Rules",
-  "productDetail.viewRules": "View Rules",
-  "productDetail.ongoingGroup": "Ongoing Group",
-  "productDetail.need": "Need",
-  "productDetail.more": "More",
-  "productDetail.joinGroup": "Join Group",
-  "productDetail.details": "Details",
-  "productDetail.home": "Home",
-  "productDetail.favorite": "Favorite",
-  "productDetail.favoriteSuccess": "Added to favorites",
-  "productDetail.unfavoriteSuccess": "Removed from favorites",
-  "productDetail.favoriteError": "Operation failed, please try again",
-  "productDetail.openGroup": "Open Group",
-  "productDetail.quantity": "Quantity",
-  "topChampions.title": "Top Champions",
-  "topChampions.update": "{0} Update",
-  "topChampions.top": "TOP",
-  "topChampions.invitedFriends": "Invited Friends",
-  "topChampions.l7dEarnings": "L7D Earnings",
-  "topChampions.teamMembers": "Team Members",
-  "topChampions.joinedGroups": "Joined Groups",
-  "wallet.recharge.title": "Recharge",
-  "wallet.recharge.submit": "Submit"
+  "common.saving": "Saving..."
 }

+ 1 - 317
src/locale/zh-Hans.json

@@ -1,150 +1,4 @@
 {
-  "addressBook.title": "地址簿",
-  "addressBook.operate.title.add": "添加地址",
-  "addressBook.operate.title.edit": "编辑地址",
-  "addressBook.operate.loading": "加载中...",
-  "addressBook.operate.saving": "保存中...",
-  "addressBook.operate.form.fullName": "姓名",
-  "addressBook.operate.form.phone": "手机号码",
-  "addressBook.operate.form.phone.placeholder": "+88",
-  "addressBook.operate.form.district": "省/区",
-  "addressBook.operate.form.district.placeholder": "请选择",
-  "addressBook.operate.form.street": "楼层/单元/街道",
-  "addressBook.operate.form.street.placeholder": "详细地址",
-  "addressBook.operate.form.postcode": "邮编",
-  "addressBook.operate.form.postcode.placeholder": "请输入邮编",
-  "addressBook.operate.form.default": "默认",
-  "addressBook.operate.button.save": "保存",
-  "addressBook.operate.button.update": "更新",
-  "addressBook.operate.error.loadFailed": "加载地址详情失败",
-  "addressBook.operate.error.emptyName": "请输入姓名",
-  "addressBook.operate.error.emptyPhone": "请输入手机号码",
-  "addressBook.operate.error.emptyDistrict": "请选择省/区",
-  "addressBook.operate.error.emptyStreet": "请输入详细地址",
-  "addressBook.operate.error.emptyPostcode": "请输入邮编",
-  "addressBook.operate.success.update": "地址更新成功",
-  "addressBook.operate.success.save": "地址保存成功",
-  "addressBook.operate.error.saveFailed": "保存失败,请重试",
-  "addressBook.operate.error.loadPage": "页面加载失败",
-  "addressBook.delete.deleting": "删除中...",
-  "addressBook.delete.success": "地址删除成功",
-  "addressBook.delete.confirm": "确认删除",
-  "addressBook.delete.message": "确定要删除这个地址吗?",
-  "addressBook.delete.button": "删除",
-  "addressBook.tag.default": "默认",
-  "addressBook.button.add": "添加新地址",
-  "addressBook.select.binding": "正在绑定地址...",
-  "addressBook.select.success": "地址绑定成功!",
-  "addressBook.select.failed": "绑定地址失败,请重试。",
-  "addressBook.select.networkError": "网络错误,请检查网络连接后重试。",
-  "myProfile.title": "个人资料",
-  "myProfile.avatar": "头像",
-  "myProfile.userId": "用户ID",
-  "myProfile.userName": "用户名",
-  "myProfile.mobileNumber": "手机号",
-  "myProfile.bankName": "银行名称",
-  "myProfile.bankAccountName": "开户名",
-  "myProfile.bankAccountNo": "银行账号",
-  "myProfile.upload.sizeLimit": "图片大小不能超过5MB",
-  "myProfile.upload.uploading": "上传中...",
-  "myProfile.upload.success": "头像更新成功",
-  "myProfile.upload.error": "更新头像失败",
-  "setting.title": "设置",
-  "setting.changePassword": "修改密码",
-  "setting.language": "语言",
-  "setting.policies": "政策条款",
-  "setting.help": "帮助",
-  "setting.feedback": "反馈",
-  "setting.logout": "退出登录",
-  "setting.version": "版本 {0}",
-  "setting.lang.en": "英语",
-  "setting.lang.bn": "孟加拉语",
-  "home.missionCenter": "任务中心",
-  "home.refer&earn": "推荐赚钱",
-  "home.vip": "VIP会员",
-  "home.bestSellers": "热销商品",
-  "home.topChampions": "顶级冠军",
-  "home.news": "新品",
-  "mine.auth.register": "注册",
-  "mine.auth.login": "登录",
-  "mine.wallet.title": "BandhuBuy钱包",
-  "mine.wallet.balance": "钱包余额",
-  "mine.wallet.recharge": "充值",
-  "mine.group.title": "我的团队",
-  "mine.group.all": "全部团队",
-  "mine.group.toPay": "待支付",
-  "mine.group.success": "成功",
-  "mine.group.failed": "失败",
-  "mine.group.reward": "奖励",
-  "mine.menu.profile": "我的资料",
-  "mine.menu.address": "地址簿",
-  "mine.menu.share": "分享",
-  "mine.menu.favorite": "我的收藏",
-  "mine.menu.chat": "在线客服",
-  "mine.menu.activity": "活动群组",
-  "home.priceTab.allPrice": "全部价格",
-  "home.priceTab.300spot": "300积分",
-  "home.priceTab.500spot": "500积分",
-  "home.priceTab.1000spot": "1000积分",
-  "home.priceTab.2000spot": "2000积分",
-  "income.title": "收益中心",
-  "income.totalEarnings": "总收益",
-  "income.accountBalance": "账户余额",
-  "income.settledAmount": "已结算金额",
-  "income.pendingAmount": "待结算金额",
-  "income.tdEarnings": "今日收益",
-  "income.ydEarnings": "昨日收益",
-  "income.mtdEarnings": "本月收益",
-  "income.myGroupData": "我的团队数据",
-  "income.withdrawNow": "立即提现",
-  "income.revenueRecord": "收益记录",
-  "income.filter.dt": "今日",
-  "income.filter.yt": "昨日",
-  "income.filter.l7d": "近7天",
-  "income.filter.mtd": "本月",
-  "income.filter.ytd": "本年",
-  "mine.pages.share.title": "分享",
-  "mine.pages.share.referrerCode": "我的推荐码",
-  "mine.pages.share.qrCode": "二维码",
-  "mine.pages.share.description": "与您的朋友分享二维码,他们可以用相机扫描以注册成为您的下线。",
-  "mine.pages.share.copySuccess": "已复制到剪贴板",
-  "mine.pages.share.shareTo": "分享到{0}",
-  "mine.pages.myFavorite.title": "我的收藏",
-  "mine.pages.myFavorite.empty": "暂无收藏",
-  "wallet.withdraw.title": "提现",
-  "wallet.withdraw.balance": "钱包余额",
-  "wallet.withdraw.info": "提现信息",
-  "wallet.withdraw.form.bankName": "银行名称",
-  "wallet.withdraw.form.bankAccountName": "开户名",
-  "wallet.withdraw.form.bankAccountNo": "银行账号",
-  "wallet.withdraw.form.amount": "提现金额",
-  "wallet.withdraw.form.allAmount": "全部金额",
-  "wallet.withdraw.form.submit": "提交",
-  "wallet.withdraw.record": "记录",
-  "wallet.withdraw.error.bankName": "请输入银行名称",
-  "wallet.withdraw.error.bankAccountName": "请输入开户名",
-  "wallet.withdraw.error.bankAccountNo": "请输入银行账号",
-  "wallet.withdraw.error.amount": "请输入提现金额",
-  "wallet.withdraw.notes.title": "注意:",
-  "wallet.withdraw.notes.1": "提现审核时间为上午9点至晚上10点。预计提现后2小时内到账,实际到账时间以最终处理成功时间为准。",
-  "wallet.withdraw.notes.2": "请确保您的银行账户信息正确。",
-  "wallet.withdraw.notes.3": "提现银行账户信息必须与注册账户信息一致。",
-  "wallet.withdraw.notes.4": "单笔提现最低৳{0},最高৳{1};",
-  "wallet.withdraw.notes.5": "每笔提现将收取{0}%的提现手续费;",
-  "search.placeholder": "搜索",
-  "search.filterPrice": "全部价格",
-  "search.filterCategory": "全部分类",
-  "search.filterSellers": "热销排序",
-  "auth.login.title": "登录",
-  "auth.login.username.placeholder": "手机号码 / 用户名",
-  "auth.login.password.placeholder": "密码 6-20位字符",
-  "auth.login.button": "登录",
-  "auth.login.noAccount": "还没有账户?",
-  "auth.login.register": "注册",
-  "auth.login.forgotPassword": "忘记密码?",
-  "auth.login.error.emptyUsername": "请输入用户名或手机号码",
-  "auth.login.error.emptyPassword": "请输入密码",
-  "auth.login.error.passwordLength": "密码应为6-20位字符",
   "auth.register.title": "注册",
   "auth.register.username.placeholder": "用户名",
   "auth.register.phone.placeholder": "+88 手机号码",
@@ -163,176 +17,6 @@
   "auth.register.success.codeSent": "验证码发送成功",
   "auth.register.success.registered": "注册成功",
   "auth.register.error.registrationFailed": "注册失败",
-  "auth.forgotPassword.title": "忘记密码",
-  "auth.forgotPassword.phone.placeholder": "手机号码",
-  "auth.forgotPassword.verifyCode.placeholder": "验证码",
-  "auth.forgotPassword.newPassword.placeholder": "新密码",
-  "auth.forgotPassword.confirmPassword.placeholder": "确认密码",
-  "auth.forgotPassword.getCode": "获取验证码",
-  "auth.forgotPassword.button": "重置密码",
-  "auth.forgotPassword.backToLogin": "返回登录",
-  "auth.forgotPassword.error.emptyPhone": "请输入手机号码",
-  "auth.forgotPassword.error.invalidPhone": "请输入有效的手机号码",
-  "auth.forgotPassword.error.emptyVerifyCode": "请输入验证码",
-  "auth.forgotPassword.error.emptyNewPassword": "请输入新密码",
-  "auth.forgotPassword.error.passwordLength": "密码应为6-20位字符",
-  "auth.forgotPassword.error.emptyConfirmPassword": "请确认您的密码",
-  "auth.forgotPassword.error.passwordMismatch": "两次密码不一致",
-  "auth.forgotPassword.success.codeSent": "验证码发送成功",
-  "auth.forgotPassword.success.passwordReset": "密码重置成功",
-  "auth.forgotPassword.error.sendCodeFailed": "发送验证码失败",
-  "auth.forgotPassword.error.resetFailed": "重置密码失败",
-  "auth.forgotPassword.passwordHint": "您的密码必须与之前使用的密码不同",
-  "auth.forgotPassword.hasAccount": "已有账户?",
-  "auth.forgotPassword.loginNow": "立即登录",
   "common.loading": "加载中...",
-  "common.saving": "保存中...",
-  "common.success": "成功",
-  "common.error": "错误",
-  "common.confirm": "确认",
-  "common.cancel": "取消",
-  "common.submit": "提交",
-  "common.save": "保存",
-  "common.edit": "编辑",
-  "common.delete": "删除",
-  "common.add": "添加",
-  "common.search": "搜索",
-  "common.filter": "筛选",
-  "common.all": "全部",
-  "common.none": "无",
-  "common.empty": "暂无数据",
-  "common.retry": "重试",
-  "common.back": "返回",
-  "common.next": "下一步",
-  "common.previous": "上一步",
-  "common.close": "关闭",
-  "common.open": "打开",
-  "common.view": "查看",
-  "common.more": "更多",
-  "wallet.myWallet.title": "我的钱包",
-  "wallet.balance": "钱包余额",
-  "wallet.frozenBalance": "钱包冻结余额",
-  "wallet.recharge": "充值",
-  "wallet.discount": "最高优惠5%",
-  "wallet.withdrawNow": "立即提现",
-  "wallet.record": "钱包记录",
-  "wallet.filter.all": "全部",
-  "wallet.filter.recharge": "充值",
-  "wallet.filter.withdraw": "提现",
-  "wallet.filter.commission": "佣金",
-  "wallet.rechargeRecord.title": "充值记录",
-  "wallet.withdrawRecord.title": "提现记录",
-  "missionCenter.title": "任务中心",
-  "referEarn.title": "推荐赚钱",
-  "vipMembership.title": "VIP会员",
-  "notifications.title": "通知",
-  "notifications.tabs.all": "全部",
-  "notifications.tabs.orders": "订单",
-  "notifications.tabs.revenue": "收益",
-  "notifications.tabs.account": "账户",
-  "notifications.tabs.promos": "活动",
-  "notifications.order.paymentSuccess.title": "团购支付成功",
-  "notifications.order.paymentSuccess.content": "您参与的团购订单[{orderId}]已支付成功",
-  "notifications.order.groupBuyWin.title": "团购成功",
-  "notifications.order.groupBuyWin.content": "您参与的团购订单[{orderId}]已中选",
-  "notifications.order.groupBuyLose.title": "团购成功",
-  "notifications.order.groupBuyLose.content": "您参与的团购订单[{orderId}]未中选",
-  "notifications.order.provideAddress.title": "订单提供收货地址",
-  "notifications.order.provideAddress.content": "您参与的团购订单[{orderId}]请提供收货地址",
-  "notifications.order.groupBuyFail.title": "团购失败",
-  "notifications.order.groupBuyFail.content": "您参与的团购订单[{orderId}]已失败",
-  "notifications.order.shipped.title": "订单发货成功",
-  "notifications.order.shipped.content": "您参与的团购订单[{orderId}]已成功发货",
-  "notifications.reward.referFriends.title": "推荐好友奖励",
-  "notifications.reward.referFriends.content": "您已获得推荐好友奖励",
-  "notifications.reward.groupBuy.title": "团购奖励",
-  "notifications.reward.groupBuy.content": "您已获得奖励,订单号[{orderId}]",
-  "notifications.reward.directReferral.title": "直接推荐奖励",
-  "notifications.reward.directReferral.content": "您已获得直接推荐奖励",
-  "notifications.reward.checkin.title": "签到奖励",
-  "notifications.reward.checkin.content": "您已获得签到奖励",
-  "notifications.money.rechargeSuccess.title": "充值成功",
-  "notifications.money.rechargeSuccess.content": "您的KLICK钱包已成功充值",
-  "notifications.money.withdrawalAccountSuccess.title": "提现成功",
-  "notifications.money.withdrawalAccountSuccess.content": "您的收益账户提现请求已处理",
-  "notifications.money.withdrawalWalletSuccess.title": "提现成功",
-  "notifications.money.withdrawalWalletSuccess.content": "您的KLICK钱包提现请求已处理",
-  "notifications.money.withdrawalFail.title": "提现失败",
-  "notifications.money.withdrawalFail.content": "您的提现请求已失败",
-  "productDetail.title": "产品详情",
-  "productDetail.notification.message": "{name} {time}秒前{action}了这个团购",
-  "productDetail.notification.opened": "发起",
-  "productDetail.notification.joined": "加入",
-  "webLink.title": "网页链接",
-  "missionCenter.signIn.title": "连续签到获得奖励",
-  "missionCenter.signIn.button": "签到",
-  "missionCenter.dailyMission.title": "每日任务",
-  "missionCenter.dailyMission.startNow": "立即开始",
-  "vipMembership.inviteProgress": "还需要邀请 {0} 位朋友,可升级到 V{1}",
-  "vipMembership.invitedFriends": "邀请好友",
-  "vipMembership.teamMembers": "团队成员",
-  "vipMembership.l7dEarnings": "近7日收益",
-  "vipMembership.benefitsTiers": "VIP权益/等级",
-  "vipMembership.table.vipLevel": "VIP\n等级",
-  "vipMembership.table.invitedNo": "邀请\n人数",
-  "vipMembership.table.directReferralReward": "直接推荐\n奖励",
-  "vipMembership.table.indirectReferralReward": "间接推荐\n奖励",
-  "vipMembership.table.joinedGroupsNo": "加入群组\n数量",
-  "referEarn.inviteFriends": "邀请朋友",
-  "referEarn.earnCash": "赚取现金",
-  "referEarn.shareNow": "立即分享",
-  "referEarn.howToShare": "- 如何分享赚钱 -",
-  "referEarn.step1": "分享邀请朋友",
-  "referEarn.step2": "朋友加入群组",
-  "referEarn.step3": "您获得 ৳{0} 奖励",
-  "referEarn.invitedFriends": "邀请的朋友",
-  "checkout.title": "结账",
-  "checkout.selected": "已选择",
-  "checkout.quantity": "数量",
-  "checkout.orderSummary": "订单摘要",
-  "checkout.subTotal": "小计",
-  "checkout.total": "总计",
-  "checkout.selectPaymentMethod": "选择支付方式",
-  "checkout.walletBalance": "余额",
-  "checkout.placeOrder": "下单",
-  "checkout.dialog.insufficientBalance": "您的钱包余额不足。\n请充值!",
-  "checkout.dialog.rechargeDiscount": "充值最高优惠5%",
-  "checkout.dialog.rechargeNow": "立即充值",
-  "checkout.dialog.paymentSuccess": "支付成功!\n您的订单已下单。",
-  "checkout.dialog.viewOrder": "查看订单",
-  "checkout.dialog.paymentFailed": "支付失败!\n请重试或联系客服。",
-  "checkout.dialog.retryPayment": "重试支付",
-  "checkout.dialog.networkError": "网络连接失败。\n请检查您的网络设置。",
-  "checkout.dialog.retry": "重试",
-  "checkout.dialog.gotIt": "知道了",
-  "checkout.toast.redirecting": "正在跳转到订单...",
-  "checkout.toast.retrying": "重试中...",
-  "bestSellers.title": "热销榜",
-  "bestSellers.successfullyGrouped": "近7日成功拼团超过 {0}",
-  "productDetail.price": "价格",
-  "productDetail.sold": "已售 {0}",
-  "productDetail.selected": "已选择",
-  "productDetail.groupRules": "拼团规则",
-  "productDetail.viewRules": "查看规则",
-  "productDetail.ongoingGroup": "进行中的拼团",
-  "productDetail.need": "还需",
-  "productDetail.more": "人",
-  "productDetail.joinGroup": "参团",
-  "productDetail.details": "详情",
-  "productDetail.home": "首页",
-  "productDetail.favorite": "收藏",
-  "productDetail.favoriteSuccess": "收藏成功",
-  "productDetail.unfavoriteSuccess": "已取消收藏",
-  "productDetail.favoriteError": "操作失败,请重试",
-  "productDetail.openGroup": "开团",
-  "productDetail.quantity": "数量",
-  "topChampions.title": "冠军榜",
-  "topChampions.update": "{0} 更新",
-  "topChampions.top": "TOP",
-  "topChampions.invitedFriends": "邀请好友",
-  "topChampions.l7dEarnings": "近7日收益",
-  "topChampions.teamMembers": "团队成员",
-  "topChampions.joinedGroups": "加入群组",
-  "wallet.recharge.title": "充值",
-  "wallet.recharge.submit": "提交"
+  "common.saving": "保存中..."
 }

+ 42 - 10
src/pages/register/register.vue

@@ -9,6 +9,8 @@
 
 <script lang="ts" setup>
 import { getCode, register } from '@/api/login'
+import DialogBox from '@/components/DialogBox/DialogBox.vue'
+import { DialogUtils } from '@/components/DialogBox/utils'
 import { t } from '@/locale'
 import { toPage } from '@/utils/page'
 import { toast } from '@/utils/toast'
@@ -16,7 +18,9 @@ import { toast } from '@/utils/toast'
 defineOptions({
   name: 'Register', // 注册
 })
-
+// 获取屏幕边界到安全区域距离
+const systemInfo = uni.getSystemInfoSync()
+const safeAreaInsets = systemInfo.safeAreaInsets
 // 表单数据
 const formData = ref({
   name: '',
@@ -82,6 +86,29 @@ async function getVerificationCode() {
     toast.error(error.message || 'Failed to send verification code')
   }
 }
+// DialogBox 函数式调用配置
+const dialogConfig = ref<any>({})
+// 显示取消订单确认对话框
+function showSuccessDialog() {
+  Object.assign(dialogConfig.value, DialogUtils.success(
+    'Register Successfully',
+    {
+      confirmText: 'Download APP Now',
+    },
+  ))
+}
+// 处理对话框确认事件
+function handleDialogConfirm() {
+  console.log(123123)
+  // 跳转到应用商店下载页面
+  // 关闭对话框
+  handleDialogClose()
+}
+
+// 处理对话框关闭事件
+function handleDialogClose() {
+  dialogConfig.value.show = false
+}
 
 // 注册处理
 async function handleRegister() {
@@ -110,10 +137,8 @@ async function handleRegister() {
 
     uni.hideLoading()
     // 注册成功
-    toast.success(t('auth.register.success.registered'))
-    setTimeout(() => {
-      toPage('/pages/login/login', {}, true)
-    }, 1500)
+    // toast.success(t('auth.register.success.registered'))
+    showSuccessDialog()
   }
   catch (error) {
     uni.hideLoading()
@@ -251,15 +276,22 @@ onUnmounted(() => {
       </wd-form>
 
       <!-- 登录提示 -->
-      <view class="text-center">
-        <text class="text-28rpx text-#666">
-          {{ $t('auth.register.hasAccount') }}
+      <view class="fixed bottom-20rpx left-0 w-full text-center" :style="{ paddingBottom: `${safeAreaInsets?.bottom + 20}px` }">
+        <text class="text-28rpx text-#5C5C5C">
+          By regstration,you agree to our
         </text>
-        <text class="ml-10rpx text-28rpx text-[var(--wot-color-theme)]" @click="toPage('/pages/login/login')">
-          {{ $t('auth.register.loginNow') }}
+        <text class="ml-10rpx text-28rpx text-[var(--wot-color-theme)]">
+          Security Privacy
         </text>
       </view>
     </view>
+    <!-- DialogBox 函数式调用 -->
+    <DialogBox
+      v-bind="dialogConfig"
+      @confirm="handleDialogConfirm"
+      @cancel="handleDialogClose"
+      @close="handleDialogClose"
+    />
   </view>
 </template>