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: improve git connector wording (#11570)
Tianzhou (天舟)29e2f065e2a0
diff --git a/frontend/src/components/RepositoryPanel.vue b/frontend/src/components/RepositoryPanel.vueindex 76592acea1..5f6e0bdea0 100644--- a/frontend/src/components/RepositoryPanel.vue+++ b/frontend/src/components/RepositoryPanel.vue@@ -6,6 +6,15 @@{{ repositoryFormattedFullPath }}</a></template>+ <template #naming>+ <a+ class="normal-link"+ href="https://www.bytebase.com/docs/vcs-integration/create-migration-files/?source=console"+ target="_blank"+ >+ {{ $t("repository.gitops-naming-format") }}+ </a>+ </template></i18n-t><span> </span><i18n-t keypath="repository.gitops-description-branch">diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex bb6882acd5..6d468fc3d2 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1743,8 +1743,9 @@"merge-request": "merge request","pull-request": "pull request","git-provider": "Git provider",- "gitops-description-file-path": "Database migration scripts are stored in {fullPath}. To make schema changes, a developer would create a migration script matching file path pattern {fullPathTemplate}.",- "gitops-description-branch": "After the script is review approved and merged into the {branch} branch, Bytebase will automatically kicks off the pipeline to apply the new schema change.",+ "gitops-naming-format": "naming format",+ "gitops-description-file-path": "Database migration scripts are stored in {fullPath}. To make database changes, a developer would create a migration script conforming to the {naming}.",+ "gitops-description-branch": "After the script is approved and merged into the {branch} branch, Bytebase will automatically create the issue to apply the database change.","setup-wizard-guide": "If you encounter errors during the process, please refer to our {guide}","add-git-provider": "Add Git provider","choose-git-provider": "Choose Git provider",@@ -1762,7 +1763,7 @@},"workflow": {"gitops-workflow": "GitOps workflow",- "gitops-workflow-description": "Database migration scripts are stored in a git repository. To make schema changes, a developer would create a migration script and submit for review in the corresponding VCS such as GitLab. After the script is approved and merged into the configured branch, Bytebase will automatically kicks off the task to apply the new schema change."+ "gitops-workflow-description": "Database migration scripts are stored in a git repository. To make database changes, a developer would create a migration script and submit for review in the corresponding VCS such as GitLab. After the script is approved and merged into the configured branch, Bytebase will automatically kick off the task to apply the database change."},"anomaly": {"attention-title": "Anomaly detection",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 48ef06174f..8416dd862d 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1743,8 +1743,9 @@"merge-request": "solicitud de extracción","pull-request": "solicitud de extracción","git-provider": "Proveedor de Git",- "gitops-description-file-path": "Los scripts de migración de la base de datos se almacenan en {fullPath}. Para realizar cambios en el esquema, un desarrollador crearía un script de migración que coincida con el patrón de la ruta de acceso del archivo {fullPathTemplate}.",- "gitops-description-branch": "Después de que el script sea aprobado y fusionado en la rama {branch}, Bytebase iniciará automáticamente el proceso para aplicar el nuevo cambio de esquema.",+ "gitops-naming-format": "formato de nombre",+ "gitops-description-file-path": "Los scripts de migración de bases de datos se almacenan en {fullPath}. Para realizar cambios en la base de datos, un desarrollador crearía un script de migración que se ajuste a {naming}.",+ "gitops-description-branch": "Una vez que el script se aprueba y se fusiona en la rama {branch}, Bytebase creará automáticamente el problema para aplicar el cambio en la base de datos.","setup-wizard-guide": "Si encuentras errores durante el proceso, consulta nuestra {guide}","add-git-provider": "Agregar proveedor de Git","choose-git-provider": "Elegir proveedor de Git",@@ -1762,7 +1763,7 @@},"workflow": {"gitops-workflow": "Flujo de trabajo de GitOps",- "gitops-workflow-description": "Los scripts de migración de la base de datos se almacenan en un repositorio de git. Para realizar cambios en el esquema, un desarrollador crearía un script de migración y lo enviaría para su revisión en el VCS correspondiente, como GitLab. Después de que se aprueba el script y se fusiona en la rama configurada, Bytebase iniciará automáticamente la tarea para aplicar el nuevo cambio de esquema."+ "gitops-workflow-description": "Los scripts de migración de bases de datos se almacenan en un repositorio git. Para realizar cambios en la base de datos, un desarrollador crearía un script de migración y lo enviaría para su revisión en el VCS correspondiente, como GitLab. Una vez que el script se aprueba y se fusiona en la rama configurada, Bytebase iniciará automáticamente la tarea para aplicar el cambio en la base de datos."},"anomaly": {"attention-title": "Detección de anomalías",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 570ae8eb56..202b038bb3 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -1743,8 +1743,9 @@"merge-request": "マージリクエスト","pull-request": "プルリクエスト","git-provider": "Gitプロバイダ",- "gitops-description-file-path": "データベースのマイグレーションスクリプトは{fullPath}に保存されます。スキーマの変更を行うには、開発者が{fullPathTemplate}と一致するファイルパスパターンのマイグレーションスクリプトを作成します。",- "gitops-description-branch": "スクリプトがレビュー承認され、{branch} ブランチにマージされた後、Bytebase は自動的にパイプラインを開始して新しいスキーマ変更を適用します。",+ "gitops-naming-format": "命名形式",+ "gitops-description-file-path": "データベース移行スクリプトは {fullPath} に保存されます。 データベースを変更するには、開発者は {naming} に準拠した移行スクリプトを作成します。",+ "gitops-description-branch": "スクリプトが承認され、{branch} ブランチにマージされると、Bytebase はデータベースの変更を適用するための課題を自動的に作成します。","setup-wizard-guide": "プロセス中にエラーが発生した場合は、{guide}を参照してください。","add-git-provider": "Gitプロバイダーを追加する","choose-git-provider": "Gitプロバイダーを選択する",@@ -1762,7 +1763,7 @@},"workflow": {"gitops-workflow": "GitOpsワークフロー",- "gitops-workflow-description": "データベースのマイグレーションスクリプトはgitリポジトリに保存されます。スキーマの変更を行うには、開発者がマイグレーションスクリプトを作成し、GitLabなどの対応するVCSでレビューに提出します。スクリプトが承認され、設定されたブランチにマージされると、Bytebaseは自動的に新しいスキーマ変更のタスクを開始します。"+ "gitops-workflow-description": "データベース移行スクリプトは git リポジトリに保存されます。 データベースを変更するには、開発者は移行スクリプトを作成し、GitLab などの対応する VCS でレビューのために送信します。 スクリプトが承認され、構成されたブランチにマージされると、Bytebase はデータベースの変更を適用するタスクを自動的に開始します。"},"anomaly": {"attention-title": "異常検出",diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex 52a31579e1..857c6943c4 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -1743,8 +1743,9 @@"merge-request": "yêu cầu hợp nhất","pull-request": "yêu cầu kéo","git-provider": "Nhà cung cấp Git",- "gitops-description-file-path": "Tập lệnh di chuyển cơ sở dữ liệu được lưu trữ trong {fullPath}. Để thực hiện thay đổi lược đồ, nhà phát triển sẽ tạo tập lệnh di chuyển khớp với mẫu đường dẫn tệp {fullPathTemplate}.",- "gitops-description-branch": "Sau khi tập lệnh được phê duyệt xem xét và hợp nhất vào nhánh {branch}, Bytebase sẽ tự động khởi động quy trình để áp dụng thay đổi lược đồ mới.",+ "gitops-naming-format": "định dạng đặt tên",+ "gitops-description-file-path": "Tập lệnh di chuyển cơ sở dữ liệu được lưu trữ trong {fullPath}. Để thực hiện các thay đổi về cơ sở dữ liệu, nhà phát triển sẽ tạo tập lệnh di chuyển tuân theo {naming}.",+ "gitops-description-branch": "Sau khi tập lệnh được phê duyệt và hợp nhất vào nhánh {branch}, Bytebase sẽ tự động tạo vấn đề để áp dụng thay đổi cơ sở dữ liệu.","setup-wizard-guide": "Nếu bạn gặp lỗi trong quá trình này, vui lòng tham khảo {guide} của chúng tôi","add-git-provider": "Thêm nhà cung cấp Git","choose-git-provider": "Chọn nhà cung cấp Git",@@ -1762,7 +1763,7 @@},"workflow": {"gitops-workflow": "Quy trình làm việc GitOps",- "gitops-workflow-description": "Các tập lệnh di chuyển cơ sở dữ liệu được lưu trữ trong kho git. Để thực hiện thay đổi lược đồ, nhà phát triển sẽ tạo tập lệnh di chuyển và gửi để xem xét trong VCS tương ứng, chẳng hạn như GitLab. Sau khi tập lệnh được phê duyệt và hợp nhất vào nhánh đã định cấu hình, Bytebase sẽ tự động bắt đầu nhiệm vụ áp dụng thay đổi lược đồ mới."+ "gitops-workflow-description": "Các tập lệnh di chuyển cơ sở dữ liệu được lưu trữ trong kho git. Để thực hiện thay đổi cơ sở dữ liệu, nhà phát triển sẽ tạo tập lệnh di chuyển và gửi để xem xét trong VCS tương ứng, chẳng hạn như GitLab. Sau khi tập lệnh được phê duyệt và hợp nhất vào nhánh được định cấu hình, Bytebase sẽ tự động khởi động tác vụ để áp dụng thay đổi cơ sở dữ liệu."},"anomaly": {"attention-title": "Phát hiện bất thường",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 565d8a032f..12c7d0e159 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1743,14 +1743,15 @@"merge-request": "合并请求","pull-request": "拉取请求","git-provider": "Git 提供方",- "gitops-description-file-path": "数据库变更脚本存放在 {fullPath}。为了进行一次变更,开发者需要创建一个匹配 {fullPathTemplate} 文件路径格式的变更脚本。",- "gitops-description-branch": "当脚本审核通过并且合并到 {branch} 分支后,Bytebase 将自动发起一条流水线来执行新的 schema 变更。",+ "gitops-naming-format": "命名格式",+ "gitops-description-file-path": "数据库变更脚本存放在 {fullPath}。为了进行一次变更,开发者需要创建一个匹配 {naming} 的变更脚本。",+ "gitops-description-branch": "当脚本审核通过并且合并到 {branch} 分支后,Bytebase 将自动创建工单来进行数据库变更。","setup-wizard-guide": "如果您在过程中遇到问题, 请参考 {guide}","add-git-provider": "添加 Git 提供方","choose-git-provider": "选择 Git 提供方","select-repository": "选择仓库","configure-deploy": "配置部署",- "choose-git-provider-description": "选择存放着您数据库 schema 脚本的 Git 提供方。当您把变更脚本推送到 Git 仓库后,Bytebase 会自动创建一条流水线把 schema 变更应用到数据库上。",+ "choose-git-provider-description": "选择存放着您数据库 schema 脚本的 Git 提供方。当您把变更脚本推送到 Git 仓库后,Bytebase 会自动创建工单把数据库变更应用到数据库上。","choose-git-provider-visit-workspace": "访问 {workspace} 设置以添加更多 Git 提供方.","choose-git-provider-contact-workspace-admin": "如果您希望其他 Git 提供方出现在列表中,请联系 Bytebase 工作空间管理员。当前 Bytebase 支持自己托管的 GitLab EE/CE,我们之后也会支持 GitLab.com 和 GitHub Enterprise","select-repository-attention-gitlab": "Bytebase 仅列出您至少拥有 'Maintainer' 权限的 GitLab 项目。因为只有至少拥有该权限,才能够配置项目的 webhook 用来监听代码推送事件。",@@ -1762,7 +1763,7 @@},"workflow": {"gitops-workflow": "GitOps 工作流",- "gitops-workflow-description": "数据库变更脚本保存在 Git 仓库中。为了进行一次 schema 变更,开发者会创建一个变更脚本并且提交至诸如 GitLab 这样的 VCS 进行审核。 当审核通过并且合并到配置的分支后,Bytebase 会自动开启流水线来进行新的 schema 变更。"+ "gitops-workflow-description": "数据库变更脚本保存在 Git 仓库中。为了进行一次数据库变更,开发者会创建一个变更脚本并且提交至诸如 GitLab 这样的 VCS 进行审核。 当审核通过并且合并到配置的分支后,Bytebase 会自动生成工单来进行数据库变更。"},"anomaly": {"attention-title": "异常检测",diff --git a/frontend/src/views/project/ProjectVersionControlPanel.vue b/frontend/src/views/project/ProjectVersionControlPanel.vueindex 46398fb849..8a51b66bfe 100644--- a/frontend/src/views/project/ProjectVersionControlPanel.vue+++ b/frontend/src/views/project/ProjectVersionControlPanel.vue@@ -2,6 +2,9 @@<div class="space-y-4"><div class="textinfolabel">{{ $t("workflow.gitops-workflow-description") }}+ <LearnMoreLink+ url="https://www.bytebase.com/docs/vcs-integration/add-gitops-connector/?source=console"+ /></div><div class="flex flex-row items-center justify-end gap-x-2"><NButton v-if="allowCreate" type="primary" @click="createConnector">