Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: i18n (#11981)

Liu Jif09f7b50c9ff
diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/TaskRunLogTable.vue b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/TaskRunLogTable.vue
index 028b56be04..50f0a0b1ff 100644
--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/TaskRunLogTable.vue
+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunLogTable/TaskRunLogTable.vue
@@ -169,7 +169,16 @@ const columns = computed(() => {
width: 120,
className: "whitespace-nowrap",
render: (entry) => {
- return <span class="text-sm">{entry.type}</span>;
+ const text =
+ entry.type === TaskRunLogEntry_Type.COMMAND_EXECUTE
+ ? t("issue.task-run.task-run-log.entry-type.command-execute")
+ : entry.type === TaskRunLogEntry_Type.SCHEMA_DUMP
+ ? t("issue.task-run.task-run-log.entry-type.schema-dump")
+ : "";
+ if (text) {
+ return <span class="text-sm">{text}</span>;
+ }
+ return <span class="text-sm text-control-placeholder">-</span>;
},
},
{
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 8dd036dbe5..082ca35c77 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1200,7 +1200,11 @@
"task-run": {
"task-run-log": {
"batch": "Batch",
- "affected-rows": "Affected rows"
+ "affected-rows": "Affected rows",
+ "entry-type": {
+ "command-execute": "Command execute",
+ "schema-dump": "Schema dump"
+ }
}
}
},
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 27b198226a..84c4746f8d 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -1200,7 +1200,11 @@
"task-run": {
"task-run-log": {
"batch": "Lote",
- "affected-rows": "Filas afectadas"
+ "affected-rows": "Filas afectadas",
+ "entry-type": {
+ "command-execute": "ejecutar comando",
+ "schema-dump": "Volcado de esquema"
+ }
}
}
},
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 20b4fdf733..01fe313323 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -1200,7 +1200,11 @@
"task-run": {
"task-run-log": {
"batch": "バッチ",
- "affected-rows": "影響を受ける行"
+ "affected-rows": "影響を受ける行",
+ "entry-type": {
+ "command-execute": "コマンド実行",
+ "schema-dump": "スキーマダンプ"
+ }
}
}
},
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index fd0415be55..7c9782cd1b 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -1200,7 +1200,11 @@
"task-run": {
"task-run-log": {
"batch": "Lô hàng",
- "affected-rows": "Hàng bị ảnh hưởng"
+ "affected-rows": "Hàng bị ảnh hưởng",
+ "entry-type": {
+ "command-execute": "Thực thi lệnh",
+ "schema-dump": "Kết xuất lược đồ"
+ }
}
}
},
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index bcfc9baa85..723727a26b 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1200,7 +1200,11 @@
"task-run": {
"task-run-log": {
"batch": "批次",
- "affected-rows": "影响行数"
+ "affected-rows": "影响行数",
+ "entry-type": {
+ "command-execute": "执行指令",
+ "schema-dump": "导出 schema"
+ }
}
}
},