Skip to content

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

chore: add missing i18n keys (#16486)

Danny Xu3302e278c51f
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs
index 5d9a464609..739b0a007a 100644
--- a/frontend/eslint.config.mjs
+++ b/frontend/eslint.config.mjs
@@ -37,7 +37,7 @@ export default [
enableFix: true,
},
],
- "@intlify/vue-i18n/no-missing-keys": "off",
+ "@intlify/vue-i18n/no-missing-keys": "error",
"@intlify/vue-i18n/no-raw-text": "off",
"@typescript-eslint/no-explicit-any": "off",
"vue/no-mutating-props": "error",
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 1ecf274783..475ce611c1 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -291,7 +291,11 @@
},
"advice-split-statement-to-single-online-migration-issue": "Advice splitting this statement to single online migration issue."
},
- "prior-backup-tips": "Backup affected data ahead of time"
+ "prior-backup-tips": "Backup affected data ahead of time",
+ "database-create": {
+ "created": "Created",
+ "pending": "Pending"
+ }
},
"task-run": {
"status": {
@@ -2112,7 +2116,28 @@
"overuse-modal": {
"description": "You are using features unavailable in the {plan}. Upgrade now to ensure continued access:"
},
- "disabled-feature": "Disabled Feature"
+ "disabled-feature": "Disabled Feature",
+ "upgrade": "Upgrade",
+ "contact-us": "Contact us",
+ "current": "Current",
+ "expired": "Expired",
+ "expires-at": "Expires at",
+ "plan-compare": "Compare plans",
+ "trialing": "Trialing",
+ "unlimited": "Unlimited",
+ "max-instance-count": "Max Instance Count",
+ "plan": {
+ "free": {
+ "title": "Free"
+ },
+ "team": {
+ "title": "Team"
+ },
+ "enterprise": {
+ "title": "Enterprise"
+ },
+ "try": "Try it free."
+ }
},
"sheet": {
"mine": "Mine",
@@ -2185,7 +2210,16 @@
"enabled-rules": "Enabled rules",
"rule-detail": "Rule detail",
"view-definition": "View definition",
- "all-checks-passed": "All checkes passed."
+ "all-checks-passed": "All checkes passed.",
+ "category": {
+ "builtin": "Built-in"
+ },
+ "level": {
+ "name": "Level",
+ "error": "Error",
+ "warning": "Warning",
+ "disabled": "Disabled"
+ }
},
"audit-log": {
"export-finished": "Export finished",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 3b25c297f5..fb85b26e3f 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -291,7 +291,11 @@
},
"advice-split-statement-to-single-online-migration-issue": "Se recomienda dividir esta declaración en un único problema de migración en línea."
},
- "prior-backup-tips": "Haga una copia de seguridad de los datos afectados con anticipación"
+ "prior-backup-tips": "La copia de seguridad de los datos afectados con anticipación",
+ "database-create": {
+ "created": "Creado",
+ "pending": "Pendiente"
+ }
},
"task-run": {
"status": {
@@ -2112,7 +2116,28 @@
"overuse-modal": {
"description": "Está utilizando una función que actualmente no está incluida en {plan}. Actualice ahora para evitar interrupciones:"
},
- "disabled-feature": "Función deshabilitada"
+ "disabled-feature": "Función deshabilitada",
+ "upgrade": "Actualizar",
+ "contact-us": "Contáctanos",
+ "current": "Actual",
+ "expired": "Expirado",
+ "expires-at": "Expira el",
+ "plan-compare": "Comparar planes",
+ "trialing": "En período de prueba",
+ "unlimited": "Ilimitado",
+ "max-instance-count": "Cantidad máxima de instancias",
+ "plan": {
+ "free": {
+ "title": "Gratis"
+ },
+ "team": {
+ "title": "Equipo"
+ },
+ "enterprise": {
+ "title": "Empresa"
+ },
+ "try": "Pruébalo gratis."
+ }
},
"sheet": {
"mine": "Mío",
@@ -2185,7 +2210,16 @@
"enabled-rules": "Reglas habilitadas",
"rule-detail": "Detalle de la regla",
"view-definition": "Ver definición",
- "all-checks-passed": "Todos los controles pasaron."
+ "all-checks-passed": "Todas las comprobaciones pasaron",
+ "category": {
+ "builtin": "Integrado"
+ },
+ "level": {
+ "name": "Nivel",
+ "error": "Error",
+ "warning": "Advertencia",
+ "disabled": "Deshabilitado"
+ }
},
"audit-log": {
"export-finished": "Exportación finalizada",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index e28aab3b1a..70fc3e1ac6 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -291,7 +291,11 @@
},
"advice-split-statement-to-single-online-migration-issue": "このステートメントを 1 つのオンライン移行の問題に分割することをアドバイスします。"
},
- "prior-backup-tips": "影響を受けるデータを事前にバックアップする"
+ "prior-backup-tips": "影響を受けるデータを事前にバックアップする",
+ "database-create": {
+ "created": "作成済み",
+ "pending": "保留中"
+ }
},
"task-run": {
"status": {
@@ -2112,7 +2116,28 @@
"overuse-modal": {
"description": "現在「{plan}」に含まれていない機能を使用しています。使用に影響を与えないように、すぐにアップグレードしてください。"
},
- "disabled-feature": "無効な機能"
+ "disabled-feature": "無効な機能",
+ "upgrade": "アップグレード",
+ "contact-us": "お問い合わせ",
+ "current": "現在",
+ "expired": "期限切れ",
+ "expires-at": "有効期限",
+ "plan-compare": "プランを比較する",
+ "trialing": "トライアル中",
+ "unlimited": "無制限",
+ "max-instance-count": "最大インスタンス数",
+ "plan": {
+ "free": {
+ "title": "無料"
+ },
+ "team": {
+ "title": "チーム"
+ },
+ "enterprise": {
+ "title": "エンタープライズ"
+ },
+ "try": "無料でお試しください。"
+ }
},
"sheet": {
"mine": "マイワークシート",
@@ -2185,7 +2210,16 @@
"enabled-rules": "開かれたルールの数",
"rule-detail": "ルールの詳細",
"view-definition": "ビューの定義",
- "all-checks-passed": "すべてのチェックに合格しました。"
+ "all-checks-passed": "すべてのチェックに合格しました",
+ "category": {
+ "builtin": "ビルトイン"
+ },
+ "level": {
+ "name": "レベル",
+ "error": "エラー",
+ "warning": "警告",
+ "disabled": "無効"
+ }
},
"audit-log": {
"export-finished": "エクスポートが完了しました",
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index 6e409e9bb8..1a0f00f0c3 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -291,7 +291,11 @@
},
"advice-split-statement-to-single-online-migration-issue": "Đề nghị chia câu lệnh này thành một vấn đề di chuyển trực tuyến."
},
- "prior-backup-tips": "Sao lưu dữ liệu bị ảnh hưởng trước"
+ "prior-backup-tips": "Sao lưu dữ liệu bị ảnh hưởng trước thời hạn",
+ "database-create": {
+ "created": "Đã tạo",
+ "pending": "Đang chờ xử lý"
+ }
},
"task-run": {
"status": {
@@ -2112,7 +2116,28 @@
"overuse-modal": {
"description": "Bạn đang sử dụng các tính năng không có trong {plan}. Nâng cấp ngay để đảm bảo quyền truy cập liên tục:"
},
- "disabled-feature": "Tính năng bị vô hiệu hóa"
+ "disabled-feature": "Tính năng bị vô hiệu hóa",
+ "upgrade": "Nâng cấp",
+ "contact-us": "Liên hệ chúng tôi",
+ "current": "Hiện tại",
+ "expired": "Đã hết hạn",
+ "expires-at": "Hết hạn vào",
+ "plan-compare": "So sánh các gói",
+ "trialing": "Đang dùng thử",
+ "unlimited": "Không giới hạn",
+ "max-instance-count": "Số lượng phiên bản tối đa",
+ "plan": {
+ "free": {
+ "title": "Miễn phí"
+ },
+ "team": {
+ "title": "Nhóm"
+ },
+ "enterprise": {
+ "title": "Doanh nghiệp"
+ },
+ "try": "Dùng thử miễn phí."
+ }
},
"sheet": {
"mine": "Của tôi",
@@ -2185,7 +2210,16 @@
"enabled-rules": "Quy tắc được bật",
"rule-detail": "Chi tiết quy tắc",
"view-definition": "Xem định nghĩa",
- "all-checks-passed": "Đã qua tất cả các kiểm tra."
+ "all-checks-passed": "Tất cả kiểm tra đã vượt qua",
+ "category": {
+ "builtin": "Tích hợp sẵn"
+ },
+ "level": {
+ "name": "Cấp độ",
+ "error": "Lỗi",
+ "warning": "Cảnh báo",
+ "disabled": "Đã tắt"
+ }
},
"audit-log": {
"export-finished": "Xuất hoàn tất",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 9cf2e7e6ac..fe3eba3f7e 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -291,7 +291,11 @@
},
"advice-split-statement-to-single-online-migration-issue": "建议将该语句拆分成单独的在线大表变更工单。"
},
- "prior-backup-tips": "提前备份受影响的数据"
+ "prior-backup-tips": "备份提前影响数据",
+ "database-create": {
+ "created": "已创建",
+ "pending": "待创建"
+ }
},
"task-run": {
"status": {
@@ -2112,7 +2116,28 @@
"overuse-modal": {
"description": "您正在使用当前「{plan}」不包含的功能。立即升级避免影响使用。"
},
- "disabled-feature": "禁用功能"
+ "disabled-feature": "禁用功能",
+ "upgrade": "升级",
+ "contact-us": "联系我们",
+ "current": "当前",
+ "expired": "已过期",
+ "expires-at": "过期时间",
+ "plan-compare": "比较方案",
+ "trialing": "试用中",
+ "unlimited": "无限制",
+ "max-instance-count": "最大实例数量",
+ "plan": {
+ "free": {
+ "title": "免费版"
+ },
+ "team": {
+ "title": "团队版"
+ },
+ "enterprise": {
+ "title": "企业版"
+ },
+ "try": "免费试用。"
+ }
},
"sheet": {
"mine": "我的",
@@ -2185,7 +2210,16 @@
"enabled-rules": "开启的规则数",
"rule-detail": "规则详情",
"view-definition": "查看定义",
- "all-checks-passed": "所有检查都通过了。"
+ "all-checks-passed": "所有检查都通过了",
+ "category": {
+ "builtin": "内置"
+ },
+ "level": {
+ "name": "级别",
+ "error": "错误",
+ "warning": "警告",
+ "disabled": "已禁用"
+ }
},
"audit-log": {
"export-finished": "导出完成",
diff --git a/frontend/src/views/SettingWorkspaceSubscription.vue b/frontend/src/views/SettingWorkspaceSubscription.vue
index 4384a53cc3..e9f1a44b73 100644
--- a/frontend/src/views/SettingWorkspaceSubscription.vue
+++ b/frontend/src/views/SettingWorkspaceSubscription.vue
@@ -128,7 +128,7 @@
<NInput
v-model:value="state.license"
type="textarea"
- :placeholder="$t('subscription.sensitive-placeholder')"
+ :placeholder="$t('common.sensitive-placeholder')"
/>
<div class="ml-auto mt-3">
<NButton
@@ -155,12 +155,6 @@
</template>
<script lang="ts" setup>
-import { useClipboard } from "@vueuse/core";
-import { ClipboardCopyIcon } from "lucide-vue-next";
-import { NButton, NDivider, NInput } from "naive-ui";
-import { storeToRefs } from "pinia";
-import { computed, reactive, ref } from "vue";
-import { useI18n } from "vue-i18n";
import LearnMoreLink from "@/components/LearnMoreLink.vue";
import TrialModal from "@/components/TrialModal.vue";
import WeChatQRModal from "@/components/WeChatQRModal.vue";
@@ -168,14 +162,20 @@ import WorkspaceInstanceLicenseStats from "@/components/WorkspaceInstanceLicense
import { useLanguage } from "@/composables/useLanguage";
import {
pushNotification,
- useSubscriptionV1Store,
- useSettingV1Store,
useActuatorV1Store,
+ useSettingV1Store,
+ useSubscriptionV1Store,
} from "@/store";
import { ENTERPRISE_INQUIRE_LINK } from "@/types";
-import { PlanType } from "@/types/proto/v1/subscription_service";
import { Setting_SettingName } from "@/types/proto/v1/setting_service";
+import { PlanType } from "@/types/proto/v1/subscription_service";
import { hasWorkspacePermissionV2 } from "@/utils";
+import { useClipboard } from "@vueuse/core";
+import { ClipboardCopyIcon } from "lucide-vue-next";
+import { NButton, NDivider, NInput } from "naive-ui";
+import { storeToRefs } from "pinia";
+import { computed, reactive, ref } from "vue";
+import { useI18n } from "vue-i18n";
interface LocalState {
loading: boolean;