Skip to content

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

Add new dir with dynamic translation (#15054)

Vincent Huang5995a4a8d5a2
diff --git a/frontend/src/locales/dynamic/en-US.json b/frontend/src/locales/dynamic/en-US.json
new file mode 100644
index 0000000000..a2a7d5825c
--- /dev/null
+++ b/frontend/src/locales/dynamic/en-US.json
@@ -0,0 +1,52 @@
+{
+ "custom-approval": {
+ "approval-flow": {
+ "node": {
+ "group": {
+ "WORKSPACE_OWNER": "Workspace Admin",
+ "WORKSPACE_DBA": "DBA",
+ "PROJECT_OWNER": "Project Owner",
+ "PROJECT_MEMBER": "Project Developer"
+ }
+ },
+ "presets": {
+ "owner-dba": "The system defines the approval process, first the project Owner approves, then the DBA approves.",
+ "owner": "The system defines the approval process and only needs the project Owner to approve it.",
+ "dba": "The system defines the approval process and only needs DBA approval.",
+ "admin": "The system defines the approval process and only needs Administrator approval.",
+ "owner-dba-admin": "The system defines the approval process, first the project Owner approves, then the DBA approves, and finally the Administrator approves."
+ }
+ }
+ },
+ "activity": {
+ "sentence": {
+ "verb-type-target-by-people": "{verb} {type} {target}",
+ "verb-type-target-by-system-bot": "{type} {target} {verb}",
+ "changed-x-link": "changed {name}. {link}"
+ }
+ },
+ "settings": {
+ "sensitive-data": {
+ "semantic-types": {
+ "template": {
+ "bb-default": {
+ "title": "Default",
+ "description": "Default type with full masking",
+ "algorithm": {
+ "title": "Full mask",
+ "description": "All values will be masked as \"******\""
+ }
+ },
+ "bb-default-partial": {
+ "title": "Default Partial",
+ "description": "Default partial type with partial masking",
+ "algorithm": {
+ "title": "Range mask",
+ "description": "Only keep the raw data in the middle, and cover the beginning and end with \"**\".\nFor example, \"address\" will be masked as \"**dre**\"."
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/frontend/src/locales/dynamic/es-ES.json b/frontend/src/locales/dynamic/es-ES.json
new file mode 100644
index 0000000000..3eb6772bf6
--- /dev/null
+++ b/frontend/src/locales/dynamic/es-ES.json
@@ -0,0 +1,52 @@
+{
+ "custom-approval": {
+ "approval-flow": {
+ "node": {
+ "group": {
+ "WORKSPACE_OWNER": "Administrador del espacio de trabajo",
+ "WORKSPACE_DBA": "DBA",
+ "PROJECT_OWNER": "Propietario del proyecto",
+ "PROJECT_MEMBER": "Desarrollador del proyecto"
+ }
+ },
+ "presets": {
+ "owner-dba": "El sistema define el proceso de aprobación, primero aprueba el dueño del proyecto, luego el DBA lo aprueba.",
+ "owner": "El sistema define el proceso de aprobación y solo necesita la aprobación del dueño del proyecto.",
+ "dba": "El sistema define el proceso de aprobación y solo necesita la aprobación del DBA.",
+ "admin": "El sistema define el proceso de aprobación y solo necesita la aprobación del administrador.",
+ "owner-dba-admin": "El sistema define el proceso de aprobación, primero aprueba el dueño del proyecto, luego el DBA lo aprueba y finalmente el administrador lo aprueba."
+ }
+ }
+ },
+ "activity": {
+ "sentence": {
+ "verb-type-target-by-people": "{verb} {type} {target}",
+ "verb-type-target-by-system-bot": "{type} {target} {verb}",
+ "changed-x-link": "cambiado {name}. \n{link}"
+ }
+ },
+ "settings": {
+ "sensitive-data": {
+ "semantic-types": {
+ "template": {
+ "bb-default": {
+ "title": "Por defecto",
+ "description": "Tipo predeterminado con enmascaramiento completo",
+ "algorithm": {
+ "title": "Máscara completa",
+ "description": "Todos los valores se enmascararán como \"******\""
+ }
+ },
+ "bb-default-partial": {
+ "title": "Predeterminado Parcial",
+ "description": "Tipo parcial predeterminado con enmascaramiento parcial",
+ "algorithm": {
+ "title": "Máscara de rango",
+ "description": "Solo se conservan los datos sin procesar en el medio y se tapa el principio y el final con \"**\".\nPor ejemplo, \"dirección\" se enmascarará como \"**dre**\"."
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/frontend/src/locales/dynamic/ja-JP.json b/frontend/src/locales/dynamic/ja-JP.json
new file mode 100644
index 0000000000..c419475eb7
--- /dev/null
+++ b/frontend/src/locales/dynamic/ja-JP.json
@@ -0,0 +1,52 @@
+{
+ "custom-approval": {
+ "approval-flow": {
+ "node": {
+ "group": {
+ "WORKSPACE_OWNER": "ワークスペース管理者",
+ "WORKSPACE_DBA": "DBA",
+ "PROJECT_OWNER": "プロジェクトオーナー",
+ "PROJECT_MEMBER": "プロジェクト開発者"
+ }
+ },
+ "presets": {
+ "owner-dba": "システム定義のプロセス。承認は最初にプロジェクト所有者によって行われ、次に DBA によって行われます。",
+ "owner": "システム定義のプロセス。プロジェクト所有者の承認のみが必要です。",
+ "dba": "システム定義のプロセス。 DBA の承認のみが必要です。",
+ "admin": "システム定義のプロセス。管理者の承認のみが必要です。",
+ "owner-dba-admin": "システム定義のプロセス。承認は、最初にプロジェクト所有者によって行われ、次に DBA、最後に管理者によって行われます。"
+ }
+ }
+ },
+ "activity": {
+ "sentence": {
+ "verb-type-target-by-people": "{verb} {type} {target}",
+ "verb-type-target-by-system-bot": "{type} {target} {verb}",
+ "changed-x-link": "{name} が変更されました。 {link}"
+ }
+ },
+ "settings": {
+ "sensitive-data": {
+ "semantic-types": {
+ "template": {
+ "bb-default": {
+ "title": "デフォルト",
+ "description": "完全なマスク付きのデフォルトタイプ",
+ "algorithm": {
+ "title": "フルマスク",
+ "description": "すべての値は「******」としてマスクされます"
+ }
+ },
+ "bb-default-partial": {
+ "title": "デフォルト 部分的",
+ "description": "部分マスク付きのデフォルトの部分タイプ",
+ "algorithm": {
+ "title": "範囲マスク",
+ "description": "中央の生データのみを保持し、先頭と末尾を「**」で覆います。\nたとえば、「address」は「**dre**」としてマスクされます。"
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/frontend/src/locales/dynamic/zh-CN.json b/frontend/src/locales/dynamic/zh-CN.json
new file mode 100644
index 0000000000..91ac2b076c
--- /dev/null
+++ b/frontend/src/locales/dynamic/zh-CN.json
@@ -0,0 +1,52 @@
+{
+ "custom-approval": {
+ "approval-flow": {
+ "node": {
+ "group": {
+ "WORKSPACE_OWNER": "工作空间管理员",
+ "WORKSPACE_DBA": "DBA",
+ "PROJECT_OWNER": "项目所有者",
+ "PROJECT_MEMBER": "项目开发者"
+ }
+ },
+ "presets": {
+ "owner-dba": "系统定义的流程。先由项目所有者审批,再由 DBA 审批。",
+ "owner": "系统定义的流程。只需要项目所有者审批。",
+ "dba": "系统定义的流程。只需要 DBA 审批。",
+ "admin": "系统定义的流程。只需要管理员审批。",
+ "owner-dba-admin": "系统定义的流程。先由项目所有者审批,再由 DBA 审批,最后由管理员审批。"
+ }
+ }
+ },
+ "activity": {
+ "sentence": {
+ "verb-type-target-by-people": "{verb} {type} {target}",
+ "verb-type-target-by-system-bot": "{type} {target} {verb}",
+ "changed-x-link": "修改了 {name}。{link}"
+ }
+ },
+ "settings": {
+ "sensitive-data": {
+ "semantic-types": {
+ "template": {
+ "bb-default": {
+ "title": "全遮掩",
+ "description": "遮掩全部数据",
+ "algorithm": {
+ "title": "全遮掩",
+ "description": "所有值都将被屏蔽为“******”"
+ }
+ },
+ "bb-default-partial": {
+ "title": "半遮掩",
+ "description": "遮掩部分数据",
+ "algorithm": {
+ "title": "范围遮掩",
+ "description": "只保留中间的原始数据,并用“**”覆盖开头和结尾。\n例如,“address”将被屏蔽为“**dre**”。"
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file