diff --git a/src/locales/ar.json b/src/locales/ar.json index 73512af..b642277 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -54,7 +54,6 @@ "out_of_account": "لا يعلق بالحساب", "salary_details": "تفاصيل الراتب", "monthly_salary": "الراتب الشهري", - "total_income": "إجمالي الدخل", "previous_period_income": "الإيرادات السابقة", "daily_salary": "الراتب اليومي", "income": "الدخل", @@ -326,5 +325,25 @@ "min_transfer_amount": "الحد الأدنى للمبالغ المقبولة:", "min_transfer_amount_tip": "يمكن لعملاء إعادة الشحن اختيار الحد الأدنى للمبلغ الذي يمكنهم قبوله من تحويلات المستخدمين، والذي يمكن تعديله في أول كل شهر. (على سبيل المثال، إذا قام عميل إعادة الشحن بتغيير الحد ليقبل فقط التحويلات التي تبلغ قيمتها 10 دولارات أو أكثر، فلن يتمكن المستخدمون الذين تقل تحويلاتهم عن 10 دولارات من تحويل الأموال إلى ذلك العميل.)", - "confirm_transfer_limit": "هل أنت متأكد من أنك تريد تحديد هذا الحد الأدنى للمبلغ؟" + "confirm_transfer_limit": "هل أنت متأكد من أنك تريد تحديد هذا الحد الأدنى للمبلغ؟", + + "admin_center": "مركز الإدارة", + "my_leader": "قائدي:", + "my_role": "دوري:", + "admin": "مدير", + "task_completion_status": "حالة إنجاز المهام:", + "team_earnings_this_period": "أرباح الفريق في هذه الفترة:", + "my_bd_leader_teams": "فرق قادة BD الخاصة بي", + "total_income": "إجمالي الدخل:", + "my_bd_teams": "فرق BD الخاصة بي", + "my_agency_teams": "فرق الوكالة الخاصة بي", + "number_of_recharge_agents_invited": "عدد وكلاء إعادة الشحن المدعوين", + "send_welcome_gift": "إرسال هدية ترحيب", + "user_editing": "تحرير المستخدم", + "room_editing": "تحرير الغرفة", + "mic_usage_time": "وقت استخدام الميكروفون:", + "working_days_desc": "أيام العمل (يتم احتساب ساعتين كيوم واحد):", + "new_bd_leaders_bound": "قادة BD مربوطون جدد:", + "new_bds_bound": "BD مربوطون جدد:", + "new_agencies_bound": "وكالات مربوطة جديدة:" } diff --git a/src/locales/en.json b/src/locales/en.json index 0c803a2..48910e7 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -54,7 +54,6 @@ "out_of_account": "Out of account", "salary_details": "Salary Details", "monthly_salary": "Monthly salary", - "total_income": "Total income", "previous_period_income": "Previous period income", "daily_salary": "Daily salary", "income": "Income", @@ -326,5 +325,25 @@ "min_transfer_amount": "Minimum amount of transfers accepted:", "min_transfer_amount_tip": "Recharge agents can choose the minimum amount they can accept from user transfers, which can be modified on the first of each month. (For example, if a recharge agent changes to only accept transfers of $10 or more, users with single transfers below $10 will not be able to transfer funds to that recharge agent.)", - "confirm_transfer_limit": "Are you sure you want to select this transfer amount limit?" + "confirm_transfer_limit": "Are you sure you want to select this transfer amount limit?", + + "admin_center": "Admin Center", + "my_leader": "My Leader:", + "my_role": "My Role:", + "admin": "Admin", + "task_completion_status": "Task completion status:", + "team_earnings_this_period": "Team earnings this period:", + "my_bd_leader_teams": "My BD Leader Teams", + "total_income": "Total income:", + "my_bd_teams": "My BD Teams", + "my_agency_teams": "My Agency Teams", + "number_of_recharge_agents_invited": "Number of recharge agents invited", + "send_welcome_gift": "Send Welcome Gift", + "user_editing": "User Editing", + "room_editing": "Room Editing", + "mic_usage_time": "Mic usage time:", + "working_days_desc": "Working days (2 hours counted as one day):", + "new_bd_leaders_bound": "New BD Leaders bound:", + "new_bds_bound": "New BDs bound:", + "new_agencies_bound": "New agencies bound:" } diff --git a/src/locales/zh.json b/src/locales/zh.json index 1e0b7fb..6e1da11 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -54,7 +54,6 @@ "out_of_account": "与账户无关", "salary_details": "工资明细", "monthly_salary": "月工资", - "total_income": "总收入", "previous_period_income": "前期收入", "daily_salary": "每日工资", "income": "收入", @@ -326,5 +325,25 @@ "min_transfer_amount": "最低可接受转账金额:", "min_transfer_amount_tip": "充值代理商可以选择他们可以从用户转账中接受的最低金额,该金额可以在每月的第一天修改。(例如,如果充值代理商更改为其仅接受10美元或更多的转账,则单笔转账低于10美元的用户将无法向该充值代理商转账资金。)", - "confirm_transfer_limit": "您确定要选择此转账金额限制吗?" + "confirm_transfer_limit": "您确定要选择此转账金额限制吗?", + + "admin_center": "管理中心", + "my_leader": "我的上级:", + "my_role": "我的角色:", + "admin": "管理员", + "task_completion_status": "任务完成状态:", + "team_earnings_this_period": "本期团队收益:", + "my_bd_leader_teams": "我的BD主管团队", + "total_income": "总收入:", + "my_bd_teams": "我的BD团队", + "my_agency_teams": "我的代理团队", + "number_of_recharge_agents_invited": "充值代理邀请数量", + "send_welcome_gift": "发送欢迎礼物", + "user_editing": "用户编辑", + "room_editing": "房间编辑", + "mic_usage_time": "麦克风使用时间:", + "working_days_desc": "工作天数(每2小时计为1天):", + "new_bd_leaders_bound": "新绑定BD主管:", + "new_bds_bound": "新绑定BD:", + "new_agencies_bound": "新绑定代理:" } diff --git a/src/views/AdminCenter/index.vue b/src/views/AdminCenter/index.vue index 7a13d22..ac0583e 100644 --- a/src/views/AdminCenter/index.vue +++ b/src/views/AdminCenter/index.vue @@ -5,7 +5,7 @@ -
My Leader:
+
{{ t('my_leader') }}
- ID: {{ userInfo.account || '-' }} + {{ t('user_id_prefix') }} {{ userInfo.account || '-' }}
@@ -110,11 +111,11 @@ " > -
My Role:
+
{{ t('my_role') }}
-
Admin
+
{{ t('admin') }}
-
Task completion status:
+
{{ t('task_completion_status') }}
({{ taskData.completedTaskCount || 0 }})
@@ -170,7 +171,7 @@
- Team earnings this period: ${{ teamSummary.teamEarningsThisPeriod || 0 }} + {{ t('team_earnings_this_period') }} ${{ teamSummary.teamEarningsThisPeriod || 0 }}
- My BD Leader Teams({{ teamSummary.bdLeaderTeams?.count || 0 }}) + {{ t('my_bd_leader_teams') }}({{ teamSummary.bdLeaderTeams?.count || 0 }})
- Total income: ${{ teamSummary.bdLeaderTeams?.totalIncome || 0 }} + {{ t('total_income') }} ${{ teamSummary.bdLeaderTeams?.totalIncome || 0 }}
@@ -215,7 +216,9 @@
-
My BD Teams({{ teamSummary.bdTeams?.count || 0 }})
+
+ {{ t('my_bd_teams') }}({{ teamSummary.bdTeams?.count || 0 }}) +
- Total income:${{ teamSummary.bdTeams?.totalIncome || 0 }} + {{ t('total_income') }} ${{ teamSummary.bdTeams?.totalIncome || 0 }}
@@ -246,7 +249,7 @@
- My Agency Teams({{ teamSummary.agencyTeams?.count || 0 }}) + {{ t('my_agency_teams') }}({{ teamSummary.agencyTeams?.count || 0 }})
- Total income: ${{ teamSummary.agencyTeams?.totalIncome || 0 }} + {{ t('total_income') }} ${{ teamSummary.agencyTeams?.totalIncome || 0 }}
@@ -278,7 +281,9 @@
- Number of recharge agents linvited({{ teamSummary.rechargeTeams?.count || 0 }}) + {{ t('number_of_recharge_agents_invited') }}({{ + teamSummary.rechargeTeams?.count || 0 + }})
- Total income: ${{ teamSummary.rechargeTeams?.totalIncome || 0 }} + {{ t('total_income') }} ${{ teamSummary.rechargeTeams?.totalIncome || 0 }}
@@ -323,7 +328,7 @@ " @click="send" > -
Send Welcome Gift
+
{{ t('send_welcome_gift') }}
-
User Editing
+
{{ t('user_editing') }}
-
Room Editing
+
{{ t('room_editing') }}
{ if (task.taskType == 'MIC_USAGE') { - return 'Mic usage time:' + return t('mic_usage_time') } else if (task.taskType == 'WORKING_DAYS') { - return 'Working days (2 hours counted as one day):' + return t('working_days_desc') } else if (task.taskType == 'NEW_BD_LEADERS') { - return 'New BD Leaders bound:' + return t('new_bd_leaders_bound') } else if (task.taskType == 'NEW_BDS') { - return 'New BDs bound:' + return t('new_bds_bound') } else if (task.taskType == 'NEW_AGENCIES') { - return 'New agencies bound:' + return t('new_agencies_bound') } } @@ -553,4 +558,8 @@ onMounted(() => { font-size: 24px; } } + +[dir='rtl'] .flipImg { + transform: scaleX(-1); +}