Skip to content

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

chore: update i18n (#16792)

boojack83a60b2f763e
diff --git a/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue b/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue
index 5efd4eb900..e2b7563b8c 100644
--- a/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue
+++ b/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue
@@ -56,7 +56,9 @@
)
"
>
- <template #suffix> Rows </template>
+ <template #suffix>{{
+ $t("settings.general.workspace.maximum-sql-result.rows.rows")
+ }}</template>
</NInputNumber>
</div>
</div>
diff --git a/frontend/src/components/GeneralSetting/QueryDataPolicySetting.vue b/frontend/src/components/GeneralSetting/QueryDataPolicySetting.vue
index 270a57c78b..e47dc1dbcc 100644
--- a/frontend/src/components/GeneralSetting/QueryDataPolicySetting.vue
+++ b/frontend/src/components/GeneralSetting/QueryDataPolicySetting.vue
@@ -20,7 +20,9 @@
:precision="0"
@update:value="handleInput"
>
- <template #suffix>Seconds</template>
+ <template #suffix>{{
+ $t("settings.general.workspace.query-data-policy.seconds")
+ }}</template>
</NInputNumber>
</div>
<p class="text-sm textinfolabel mt-1" v-if="seconds <= 0">
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 5f65beadf7..775f8df37e 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -581,6 +581,7 @@
},
"rows": {
"self": "Maximum SQL result rows",
+ "rows": "Rows",
"description": "Limit the output rows in SQL query result, the value <= 0 means no limit."
}
},
@@ -589,7 +590,8 @@
"self": "Maximum query time",
"description": "The maximum time allowed for a query to run in SQL Editor.",
"no-time-limit": "No time limit for queries when set to 0."
- }
+ },
+ "seconds": "Seconds"
},
"domain-restriction": {
"self": "Workspace Domain",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 1c01709116..f51198a14d 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -581,6 +581,7 @@
},
"rows": {
"self": "Máximo de filas de resultados de SQL",
+ "rows": "Filas",
"description": "Limite las filas de salida en el resultado de la consulta SQL, el valor <= 0 significa que no hay límite."
}
},
@@ -589,7 +590,8 @@
"self": "Tiempo máximo de consulta",
"description": "El tiempo máximo permitido para ejecutar una consulta en el Editor SQL.",
"no-time-limit": "No hay límite de tiempo para las consultas cuando se establece en 0."
- }
+ },
+ "seconds": "Artículos de segunda clase"
},
"domain-restriction": {
"self": "Dominio de espacio de trabajo",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index ab5b472e8a..9390149855 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -581,6 +581,7 @@
},
"rows": {
"self": "最大SQL結果行数",
+ "rows": "行",
"description": "SQL クエリ結果の出力行を制限します。値 <= 0 は制限がないことを意味します。"
}
},
@@ -589,7 +590,8 @@
"self": "最大クエリ時間",
"description": "SQL エディターでクエリを実行するために許可される最大時間。",
"no-time-limit": "0 に設定すると、クエリに時間制限はありません。"
- }
+ },
+ "seconds": "秒"
},
"domain-restriction": {
"self": "ワークスペースドメイン",
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index 177e06000d..5f38d73b67 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -581,6 +581,7 @@
},
"rows": {
"self": "Số lượng hàng kết quả SQL tối đa",
+ "rows": "Hàng",
"description": "Giới hạn số hàng đầu ra trong kết quả truy vấn SQL, giá trị <= 0 nghĩa là không giới hạn."
}
},
@@ -589,7 +590,8 @@
"self": "Thời gian truy vấn tối đa",
"description": "Thời gian tối đa được phép chạy truy vấn trong SQL Editor.",
"no-time-limit": "Không giới hạn thời gian cho truy vấn khi đặt thành 0."
- }
+ },
+ "seconds": "Giây"
},
"domain-restriction": {
"self": "Tên miền không gian làm việc",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index adf5db67d5..4c18185d95 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -581,6 +581,7 @@
},
"rows": {
"self": "SQL结果行数上限",
+ "rows": "行",
"description": "限制SQL查询结果的输出行数,值 <=0 表示不限制。"
}
},
@@ -589,7 +590,8 @@
"self": "最大查询时间",
"description": "SQL 编辑器中允许运行查询的最长时间。",
"no-time-limit": "设置为 0 时,查询将没有时间限制。"
- }
+ },
+ "seconds": "秒"
},
"domain-restriction": {
"self": "工作空间域名",
diff --git a/frontend/src/views/Setup/WorkspaceMode.vue b/frontend/src/views/Setup/WorkspaceMode.vue
index dcb0d736b9..b0d42fc93d 100644
--- a/frontend/src/views/Setup/WorkspaceMode.vue
+++ b/frontend/src/views/Setup/WorkspaceMode.vue
@@ -18,19 +18,20 @@
<NRadioGroup
:disabled="disabled"
:value="mode"
+ :size="'large'"
@update:value="$emit('update:mode', $event)"
>
<NSpace vertical size="large">
<NRadio :value="DatabaseChangeMode.PIPELINE">
<div class="flex flex-col gap-1">
- <div class="font-medium">
+ <div class="font-medium text-base">
{{
$t(
"settings.general.workspace.database-change-mode.issue-mode.self"
)
}}
</div>
- <div>
+ <div class="text-control">
{{
$t(
"settings.general.workspace.database-change-mode.issue-mode.description"
@@ -41,14 +42,14 @@
</NRadio>
<NRadio :value="DatabaseChangeMode.EDITOR">
<div class="flex flex-col gap-1">
- <div class="font-medium">
+ <div class="font-medium text-base">
{{
$t(
"settings.general.workspace.database-change-mode.sql-editor-mode.self"
)
}}
</div>
- <div>
+ <div class="text-control">
{{
$t(
"settings.general.workspace.database-change-mode.sql-editor-mode.description"