Skip to content

Commit 1a12ee1

Browse files
committed
chore:task
1 parent 5b01491 commit 1a12ee1

6 files changed

Lines changed: 31 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@jx3box/jx3box-facedat": "^2.6.4",
4040
"@jx3box/jx3box-macro": "^1.0.3",
4141
"@jx3box/jx3box-talent": "^1.3.13",
42-
"@jx3box/jx3box-ui": "^2.3.25",
42+
"@jx3box/jx3box-ui": "^2.3.27",
4343
"@microsoft/signalr": "^8.0.0",
4444
"@tinymce/tinymce-vue": "^5.1.1",
4545
"@vueuse/core": "^9.13.0",

src/locale/en-US/dashboard.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,10 @@ export default {
823823
notCompleted: "The task condition has not been met, or some rewards are still incomplete",
824824
checkFailed: "Task status check failed, please try again later",
825825
dailyLimit: "Daily limit: {limit}",
826+
groups: {
827+
daily: "Daily Tasks",
828+
special: "Special Tasks",
829+
},
826830
},
827831
filter: {
828832
title: "Sensitive word test",

src/locale/vi/dashboard.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,10 @@ export default {
823823
notCompleted: "Điều kiện nhiệm vụ chưa đạt hoặc một số phần thưởng chưa hoàn tất",
824824
checkFailed: "Kiểm tra trạng thái tác vụ không thành công, vui lòng thử lại sau",
825825
dailyLimit: "Giới hạn hàng ngày: {limit}",
826+
groups: {
827+
daily: "Nhiệm vụ hằng ngày",
828+
special: "Nhiệm vụ đặc biệt",
829+
},
826830
},
827831
filter: {
828832
title: "Kiểm tra từ nhạy cảm",

src/locale/zh-CN/dashboard.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,10 @@ export default {
780780
notCompleted: "任务条件尚未达成,或仍有奖励尚未完成",
781781
checkFailed: "任务状态检查失败,请稍后再试",
782782
dailyLimit: "日上限:{limit}",
783+
groups: {
784+
daily: "日常任务",
785+
special: "特殊任务",
786+
},
783787
},
784788
filter: {
785789
title: "敏感词测试",

src/locale/zh-TW/dashboard.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,10 @@ export default {
810810
notCompleted: "任務條件尚未達成,或仍有獎勵尚未完成",
811811
checkFailed: "任務狀態檢查失敗,請稍後再試",
812812
dailyLimit: "日上限:{limit}",
813+
groups: {
814+
daily: "日常任務",
815+
special: "特殊任務",
816+
},
813817
},
814818
filter: {
815819
title: "敏感詞測試",

src/views/dashboard/tasks.vue

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,20 @@ export default {
216216
url: "",
217217
open: false,
218218
};
219-
if (key === "jx3box_daily_task") return { ...info, img: this.dailyGroupIcon };
220-
if (key === "jx3box_special_task") return { ...info, img: this.specialGroupIcon };
219+
if (key === "jx3box_daily_task") {
220+
return {
221+
...info,
222+
name: this.$t("dashboard.tasks.groups.daily"),
223+
img: this.dailyGroupIcon,
224+
};
225+
}
226+
if (key === "jx3box_special_task") {
227+
return {
228+
...info,
229+
name: this.$t("dashboard.tasks.groups.special"),
230+
img: this.specialGroupIcon,
231+
};
232+
}
221233
return info;
222234
},
223235
syncGroupInfo() {

0 commit comments

Comments
 (0)