chore(充值页面、国家选择页面): 添加翻译

This commit is contained in:
hzj 2025-12-09 10:59:12 +08:00
parent bc43176d21
commit 7893a0dafe
5 changed files with 26 additions and 9 deletions

View File

@ -317,5 +317,10 @@
"invitation_code_bound_successfully": "تم ربط رمز الدعوة بنجاح!",
"invitation_code_binding_failed": "فشل ربط رمز الدعوة.",
"user_id_prefix": "المعرف:",
"day_unit": "يوم"
"day_unit": "يوم",
"select_country": "اختر البلد",
"select_your_country": "اختر بلدك",
"my_information": "معلوماتي:",
"select_a_country": "اختر البلد:"
}

View File

@ -317,5 +317,10 @@
"invitation_code_bound_successfully": "Invitation code bound successfully!",
"invitation_code_binding_failed": "Invitation code binding failed.",
"user_id_prefix": "ID:",
"day_unit": "Day"
"day_unit": "Day",
"select_country": "Select Country",
"select_your_country": "Select your country",
"my_information": "My Information:",
"select_a_country": "Select a country"
}

View File

@ -317,5 +317,10 @@
"invitation_code_bound_successfully": "邀请码绑定成功!",
"invitation_code_binding_failed": "邀请码绑定失败。",
"user_id_prefix": "ID:",
"day_unit": "天"
"day_unit": "天",
"select_country": "选择国家",
"select_your_country": "选择您的国家",
"my_information": "我的信息:",
"select_a_country": "选择国家:"
}

View File

@ -5,7 +5,7 @@
<GeneralHeader
:isHomePage="true"
:showLanguageList="true"
title="Recharge"
:title="$t('recharge')"
:backImg="imgUrl"
color="black"
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
@ -20,7 +20,7 @@
<div style="display: flex; flex-direction: column; gap: 8px">
<!-- 标题 -->
<div style="display: flex; justify-content: space-between; align-items: center">
<div style="font-weight: 600">My Information:</div>
<div style="font-weight: 600">{{ $t('my_information') }}</div>
<div style="min-width: 0; width: 1.5em" @click="goGuide">
<img
src="../../assets/icon/help.png"
@ -90,7 +90,7 @@
/>
</div>
<div style="font-weight: 500; color: rgba(0, 0, 0, 0.4)">
ID:{{ userInfo.account }}
{{ $t('user_id_prefix') }} {{ userInfo.account }}
</div>
</div>
</div>
@ -100,7 +100,7 @@
<div style="display: flex; flex-direction: column; gap: 8px">
<!-- 当前选择国家 -->
<div style="width: 100%; display: flex; justify-content: space-between">
<div style="font-weight: 600">Select a country</div>
<div style="font-weight: 600">{{ $t('select_a_country') }}</div>
<div
style="
padding: 4px;

View File

@ -3,7 +3,7 @@
<div class="bg">
<!-- 顶部导航 -->
<GeneralHeader
title="Select Country"
:title="$t('select_country')"
:backImg="imgUrl"
color="black"
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
@ -11,7 +11,9 @@
<!-- 内容 -->
<div style="padding: 10px; display: grid; gap: 10px">
<div style="font-weight: 510; color: rgba(0, 0, 0, 0.4)">Select your country</div>
<div style="font-weight: 510; color: rgba(0, 0, 0, 0.4)">
{{ $t('select_your_country') }}
</div>
<div v-for="(countries, gIndex) in groupedCountries" :key="gIndex">
<div style="font-weight: 400; color: rgba(0, 0, 0, 0.4); margin-bottom: 10px">