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 disable/delete SQL Review CI wording (#3057)
Tianzhou (天舟)77fa8014c854
diff --git a/frontend/src/components/RepositoryPanel.vue b/frontend/src/components/RepositoryPanel.vueindex 4daff3262e..a865028a36 100644--- a/frontend/src/components/RepositoryPanel.vue+++ b/frontend/src/components/RepositoryPanel.vue@@ -142,7 +142,20 @@><div class="space-y-4 max-w-[32rem]"><div class="whitespace-pre-wrap">- {{ $t("repository.sql-review-ci-restore-modal") }}+ <i18n-t keypath="repository.sql-review-ci-restore-modal">+ <template #vcs>+ {{+ repository.vcs.type.startsWith("GITLAB")+ ? "GitLab CI"+ : "GitHub Action"+ }}+ </template>+ <template #repository>+ <a class="normal-link" :href="repository.webUrl" target="_blank">{{+ repository.fullPath+ }}</a>+ </template>+ </i18n-t></div><div class="flex justify-end pt-4 gap-x-2">@@ -164,7 +177,20 @@><div class="space-y-4 max-w-[32rem]"><div class="whitespace-pre-wrap">- {{ $t("repository.sql-review-ci-remove-modal") }}+ <i18n-t keypath="repository.sql-review-ci-remove-modal">+ <template #vcs>+ {{+ repository.vcs.type.startsWith("GITLAB")+ ? "GitLab CI"+ : "GitHub Action"+ }}+ </template>+ <template #repository>+ <a class="normal-link" :href="repository.webUrl" target="_blank">{{+ repository.fullPath+ }}</a>+ </template>+ </i18n-t></div><div class="flex justify-end pt-4 gap-x-2">diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 4038939dd1..768f325e13 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -939,8 +939,8 @@"sql-review-ci-loading-modal": "We're preparing the {pr} to set up the SQL review CI. Once set up, you will be redirected to the {pr} page.","sql-review-ci-setup-modal": "We have created a {pr} for your repository to set up the SQL review CI. Please review and merge the {pr}.","sql-review-ci-remove": "Remove SQL Review CI",- "sql-review-ci-remove-modal": "SQL Review CI is disabled. You need to remove the CI from your repository.",- "sql-review-ci-restore-modal": "Once you restore to the UI workflow, the SQL review CI will be disabled for your repository. You can remove the CI file from your repository.",+ "sql-review-ci-remove-modal": "SQL Review CI is disabled. You can remove the {vcs} file from {repository}.",+ "sql-review-ci-restore-modal": "Once you restore to the UI workflow, the SQL review CI will be disabled for your repository. You can remove the {vcs} file from {repository}.","git-provider": "Git provider","version-control-status": "@.capitalize:common.version-control is {status}","version-control-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}.",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 289ede558a..4636c3df9d 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -940,8 +940,8 @@"sql-review-ci-loading-modal": "我们正在为您准备{pr}来配置 SQL 审核 CI。完成之后您将会被重定向到{pr}页面。","sql-review-ci-setup-modal": "我们为您的代码仓库创建了一个{pr}来配置 SQL 审核 CI。请审核并合并该{pr}。","sql-review-ci-remove": "清除 SQL 审核 CI",- "sql-review-ci-remove-modal": "SQL 审核 CI 已禁用。您还需手动删除代码仓库中的 SQL 审核 CI 文件。",- "sql-review-ci-restore-modal": "恢复到 UI 工作流后,SQL 审核 CI 将会被禁用,您可手动删除代码仓库中的 SQL 审核 CI 文件。",+ "sql-review-ci-remove-modal": "SQL 审核 CI 已禁用。您可以手动删除 {repository} 的 {vcs} 文件。",+ "sql-review-ci-restore-modal": "恢复到 UI 工作流后,SQL 审核 CI 将会被禁用,您可以手动删除 {repository} 的 {vcs} 文件。","git-provider": "Git 提供方","version-control-status": "@.capitalize:common.version-control 已{status}","version-control-description-file-path": "数据库变更脚本存放在 {fullPath}。为了进行一次变更,开发者需要创建一个匹配 {fullPathTemplate} 文件路径格式的变更脚本。",