Skip to content

A full-featured download manager.

feat: tasks i18n

Dr_rOota921695efcb0
diff --git a/src/renderer/components/Task/Index.vue b/src/renderer/components/Task/Index.vue
index 2cb1f9a2..6b766fe6 100644
--- a/src/renderer/components/Task/Index.vue
+++ b/src/renderer/components/Task/Index.vue
@@ -36,9 +36,9 @@
computed: {
title: function () {
const titles = {
- 'active': '下载中',
- 'waiting': '已暂停',
- 'stopped': '已完成'
+ 'active': this.$t('task.active'),
+ 'waiting': this.$t('task.waiting'),
+ 'stopped': this.$t('task.stopped')
}
return titles[this.status]
}