@@ -185,7 +185,7 @@ export default {
},
allMarkReaded() {
allRead().then(res => {
- this.openMessageSuccess('webmsg.mark_success');
+ this.openMessageSuccess('components.all_read_successfully');
bus.$emit('refresh-top-notification')
this.initSearch()
})
diff --git a/frontend/src/views/panel/template/component/TemplateItem.vue b/frontend/src/views/panel/template/component/TemplateItem.vue
index b9e6368dea..c093e27048 100644
--- a/frontend/src/views/panel/template/component/TemplateItem.vue
+++ b/frontend/src/views/panel/template/component/TemplateItem.vue
@@ -18,11 +18,11 @@
- 重命名
+ {{ $t('chart.rename')}}
- 删除
+ {{ $t('chart.delete')}}
diff --git a/frontend/src/views/panel/template/component/TemplateList.vue b/frontend/src/views/panel/template/component/TemplateList.vue
index c9264d25c3..c678e112ee 100644
--- a/frontend/src/views/panel/template/component/TemplateList.vue
+++ b/frontend/src/views/panel/template/component/TemplateList.vue
@@ -8,12 +8,14 @@
prefix-icon="el-icon-search"
/>
天
+ slot="append">{{ $t('components.day') }}
diff --git a/frontend/src/views/system/SysParam/KettleSetting.vue b/frontend/src/views/system/SysParam/KettleSetting.vue
index 2dad820057..0787e3aca4 100644
--- a/frontend/src/views/system/SysParam/KettleSetting.vue
+++ b/frontend/src/views/system/SysParam/KettleSetting.vue
@@ -77,22 +77,23 @@
:rules="rule"
>
-
+
-
+
-
+
@@ -149,28 +150,28 @@ export default {
"configuration.carte": [
{
required: true,
- message: this.$t("commons.required"),
+ message: this.$t("components.address_is_required"),
trigger: "blur",
},
],
"configuration.port": [
{
required: true,
- message: this.$t("commons.required"),
+ message: this.$t("components.port_is_required"),
trigger: "blur",
},
],
"configuration.user": [
{
required: true,
- message: this.$t("commons.required"),
+ message: this.$t("components.name_is_required"),
trigger: "blur",
},
],
"configuration.passwd": [
{
required: true,
- message: this.$t("commons.required"),
+ message: this.$t("components.password_is_required"),
trigger: "blur",
},
],
diff --git a/frontend/src/views/system/plugin/index.vue b/frontend/src/views/system/plugin/index.vue
index c033ddd8a3..e83333b811 100644
--- a/frontend/src/views/system/plugin/index.vue
+++ b/frontend/src/views/system/plugin/index.vue
@@ -4,7 +4,7 @@
>
- {{ item }}
+ {{ $t(`components.${item}`) }}
- 免费
+ {{ $t('components.free')}}
{{ ele[item] }}
@@ -93,14 +93,14 @@
:headers="headers"
>
- 更新
+ {{ $t('dataset.update')}}
- 卸载
+ {{$t('components.uninstall')}}
- 卸载
+ {{$t('components.uninstall')}}
@@ -140,7 +140,7 @@ export default {
mixins: [msgCfm],
data() {
return {
- listName: ["费用", "开发者", "版本", "安装时间"],
+ listName: ["cost", "developer", "edition", "installation_time"],
name: "",
listValue: ["cost", "creator", "version", "installTime"],
data: [],
diff --git a/frontend/src/views/system/task/DatasetTaskList.vue b/frontend/src/views/system/task/DatasetTaskList.vue
index 883a466fa7..4592eb0953 100644
--- a/frontend/src/views/system/task/DatasetTaskList.vue
+++ b/frontend/src/views/system/task/DatasetTaskList.vue
@@ -17,7 +17,7 @@
{{
$t(`dataset.${scope.row.lastExecStatus.toLocaleLowerCase()}`)
}}
-
+
-
@@ -240,13 +236,13 @@
:disabled="disableExec(scope.row)"
command="exec"
>
- {{ $t("运行一次") }}
+ {{ $t("components.run_once") }}
- {{ $t("继续") }}
+ {{ $t("components.continue") }}
{{ $t(`dataset.${scope.row.status.toLocaleLowerCase()}`) }}
-
+
-
diff --git a/frontend/src/views/system/task/form.vue b/frontend/src/views/system/task/form.vue
index b71bdda796..3041dcfacd 100644
--- a/frontend/src/views/system/task/form.vue
+++ b/frontend/src/views/system/task/form.vue
@@ -42,7 +42,7 @@
-
-
-
+
+
+
{{ $t("cron.every_exec") }}
@@ -155,10 +155,13 @@
>
+ >
+
+
+
@@ -278,7 +283,7 @@ export default {
startTime: [
{
required: true,
- message: this.$t("dataset.required"),
+ message: this.$t("components.time_is_required"),
trigger: "change",
},
],
@@ -306,7 +311,13 @@ export default {
datasetName: [
{
required: true,
- message: this.$t("数据集必填"),
+ message: this.$t("components.data_set_required"),
+ trigger: "change",
+ },
+ ],
+ incrementalUpdateType: [
+ {
+ required: true,
trigger: "change",
},
],