Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add secret description (#5933)
Tianzhou (天舟)c2093463304e
diff --git a/frontend/src/components/DatabaseDetail/Settings/components/Secrets.vue b/frontend/src/components/DatabaseDetail/Settings/components/Secrets.vueindex e696b50ace..e91e659698 100644--- a/frontend/src/components/DatabaseDetail/Settings/components/Secrets.vue+++ b/frontend/src/components/DatabaseDetail/Settings/components/Secrets.vue@@ -1,5 +1,18 @@<template><div class="space-y-4">+ <div class="textinfolabel">+ <i18n-t keypath="database.secret.description">+ <template #guide>+ <a+ href="https://www.bytebase.com/docs/administration/secret?source=console"+ target="_blank"+ class="normal-link"+ >+ {{ $t("common.detailed-guide") }}</a+ >+ </template>+ </i18n-t>+ </div><div class="flex items-center"><div class="flex-1 flex items-center"><p class="text-lg font-medium leading-7 text-main flex">diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex ea2d8c221c..c4ab9fe7d4 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1217,7 +1217,8 @@"description-placeholder": "Input description","value": "Value","value-placeholder": "Input value (write only)",- "delete-tips": "Delete secret"+ "delete-tips": "Delete secret",+ "description": "You can use secret in the change script to hide sensitive information, please refer to {guide}"}},"repository": {diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 18c5315661..73213d9943 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1215,7 +1215,8 @@"description-placeholder": "Ingrese descripción","value": "Valor","value-placeholder": "Valor de entrada (solo escritura)",- "delete-tips": "Eliminar secreto"+ "delete-tips": "Eliminar secreto",+ "description": "Puede usar secreto en su secuencia de comandos de cambio para ocultar información confidencial, consulte nuestra {guide}"}},"repository": {diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 94211af8ef..120d1f6036 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1200,21 +1200,22 @@"all": "所有数据库","show-schemaless-databases": "显示无模式的数据库。(变更 Schema 不适用于无 schema 的数据库. )","secret": {- "new": "新增保密信息",- "edit": "编辑保密信息",- "name-placeholder": "输入保密信息名称",+ "new": "新增保密变量",+ "edit": "编辑保密变量",+ "name-placeholder": "输入保密变量名称","description-placeholder": "输入描述","value": "值","value-placeholder": "输入值(仅写入)","validation": {- "duplicated-name": "保密信息名称重复",+ "duplicated-name": "保密变量名称重复","name-pattern-mismatch": "秘密名称应该只由大写字母,数字和 _(下划线)组成","cannot-be-changed-later": "创建之后无法修改","name-cannot-prefix-with-bytebase": "秘密名称不能以 'BYTEBASE_' 为前缀","name-cannot-start-with-number": "秘密名称不能以数字开头"},- "self": "保密信息",- "delete-tips": "删除保密信息"+ "self": "保密变量",+ "delete-tips": "删除保密变量",+ "description": "您可以在变更脚本中使用保密变量,来隐藏敏感信息, 请参考{guide}"}},"repository": {@@ -1953,8 +1954,8 @@"desc": "将 SQL 脚本分享给项目成员,或者公开给所有人。"},"bb-feature-encrypted-secrets": {- "title": "保密信息",- "desc": "存储数据库的保密信息,并在工单的 SQL 中使用它们。"+ "title": "保密变量",+ "desc": "存储数据库的保密变量,并在工单的 SQL 中使用它们。"},"bb-feature-disallow-signup": {"title": "禁用自助注册",