Skip to content

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

chore: pre commit prettier yaml (#753)

Liu Jib2e20a6581ec
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 68ca0c5c40..693451cecf 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,24 +1,30 @@
repos:
-- repo: https://github.com/pre-commit/mirrors-eslint
- rev: v8.3.0
- hooks:
- - id: eslint
- files: frontend/.+\.([jt]sx?|vue)$
- types: [file]
- args: [--fix]
-- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
- rev: v2.2.0
- hooks:
- - id: commitlint
- stages: [commit-msg]
- additional_dependencies: ['@commitlint/config-conventional']
-- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v2.3.0
- hooks:
- - id: check-yaml
- - id: end-of-file-fixer
- - id: trailing-whitespace
-- repo: https://github.com/golangci/golangci-lint
- rev: v1.33.0
- hooks:
- - id: golangci-lint
+ - repo: https://github.com/pre-commit/mirrors-eslint
+ rev: v8.3.0
+ hooks:
+ - id: eslint
+ files: frontend/.+\.([jt]sx?|vue)$
+ types: [file]
+ args: [--fix]
+ - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
+ rev: v2.2.0
+ hooks:
+ - id: commitlint
+ stages: [commit-msg]
+ additional_dependencies: ["@commitlint/config-conventional"]
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v2.3.0
+ hooks:
+ - id: check-yaml
+ - id: end-of-file-fixer
+ - id: trailing-whitespace
+ - repo: https://github.com/golangci/golangci-lint
+ rev: v1.33.0
+ hooks:
+ - id: golangci-lint
+ - repo: https://github.com/pre-commit/mirrors-prettier
+ rev: "v2.4.1"
+ hooks:
+ - id: prettier
+ files: frontend/src/locales/.+\.yaml$
+ types_or: [yaml]
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000000..fba888dc62
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,7 @@
+{
+ "useTabs": false,
+ "tabWidth": 2,
+ "singleQuote": false,
+ "trailingComma": "es5",
+ "printWidth": 80
+}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 3fa7a1a668..e517e2ab8c 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -27,6 +27,11 @@
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
+ "[yaml]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
+ "editor.formatOnSave": true,
+ "editor.formatOnSaveMode": "file"
+ },
"i18n-ally.localesPaths": ["frontend/src/locales"],
"i18n-ally.enabledParsers": ["yaml"],
"i18n-ally.keystyle": "nested",
@@ -34,6 +39,14 @@
"i18n-ally.displayLanguage": "en",
"i18n-ally.editor.preferEditor": true,
"i18n-ally.enabledFrameworks": ["vue"],
+ "i18n-ally.parserOptions": {
+ "yaml": {
+ "dump": {
+ "lineWidth": 80,
+ "quotingType": "\""
+ }
+ }
+ },
"go.lintOnSave": "workspace",
"go.lintTool": "golint"
}
diff --git a/frontend/.vscode/settings.json b/frontend/.vscode/settings.json
index d7184d4146..006cb3fe0b 100644
--- a/frontend/.vscode/settings.json
+++ b/frontend/.vscode/settings.json
@@ -5,6 +5,14 @@
"i18n-ally.sourceLanguage": "en",
"i18n-ally.displayLanguage": "en",
"i18n-ally.editor.preferEditor": true,
+ "i18n-ally.parserOptions": {
+ "yaml": {
+ "dump": {
+ "lineWidth": 80,
+ "quotingType": "\""
+ }
+ }
+ },
"eslint.validate": [
"javascript",
"javascriptreact",
@@ -32,5 +40,10 @@
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[yaml]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
+ "editor.formatOnSave": true,
+ "editor.formatOnSaveMode": "file"
}
}
diff --git a/frontend/src/locales/en.yml b/frontend/src/locales/en.yml
index d96bf8d061..78542ac4c3 100644
--- a/frontend/src/locales/en.yml
+++ b/frontend/src/locales/en.yml
@@ -300,11 +300,12 @@ settings:
Changing role provider to VCS will replace all existing members with the
members from the corresponding VCS project.
- The existing members will become inactive. You can reset
- role provider to Bytebase to restore those members.
+ The existing members will become inactive. You can reset role provider
+ to Bytebase to restore those members.
change-role-provider-to-bytebase:
content: >-
- You are about to restore the following members. All existing members synced from VCS will be removed.
+ You are about to restore the following members. All existing members
+ synced from VCS will be removed.
activity:
name: Name
comment: Comment
@@ -343,7 +344,7 @@ activity:
reopened-issue: reopened issue
resolved-issue: resolved issue
canceled-issue: canceled issue
- empty: ''
+ empty: ""
changed: changed
updated: updated
canceled: canceled
@@ -351,7 +352,7 @@ activity:
started: started
completed: completed
failed: failed
- task-name: ' task {name}'
+ task-name: " task {name}"
committed-to-at: committed {file} to{branch}{'@'}{repo}
subject-prefix:
task: Task
@@ -398,7 +399,7 @@ issue:
updated: Updated
assignee: Assignee
stage-select:
- active: '{name} (active)'
+ active: "{name} (active)"
alter-schema:
vcs-enabled: >-
This project has enabled VCS based version control and selecting database
@@ -418,14 +419,14 @@ quick-action:
create-db: Create database
choose-db: Choose database
new-db: New DB
- add-instance: '@:common.add @:common.instance'
- create-instance: '@:common.create @:common.instance'
+ add-instance: "@:common.add @:common.instance"
+ create-instance: "@:common.create @:common.instance"
manage-user: Manage User
default-project: Default Project
- add-environment: '@:common.add @:common.environment'
- create-environment: '@:common.create @:common.environment'
- new-project: '@:common.new @:common.project'
- create-project: '@:common.create @:common.project'
+ add-environment: "@:common.add @:common.environment"
+ create-environment: "@:common.create @:common.environment"
+ new-project: "@:common.new @:common.project"
+ create-project: "@:common.create @:common.project"
edit-data: Edit Data
troubleshoot: Troubleshoot
transfer-in-db: Transfer in DB
@@ -439,7 +440,7 @@ quick-action:
transfer-in-db-alert: Are you sure to transfer "{ dbName }" into our project?
create-db:
new-database-name: New database name
- reserved-db-error: '{databaseName} is a reserved name'
+ reserved-db-error: "{databaseName} is a reserved name"
generated-database-name: Generated database name
db-name-generated-by-template: Generated by template "{template}"
select-label-value: Select {key}
@@ -463,7 +464,8 @@ instance:
create-migration-schema: Create migration schema
missing-migration-schema: Missing migration schema
unable-to-connect-instance-to-check-migration-schema: Unable to connect instance to check migration schema
- bytebase-relies-on-migration-schema-to-manage-version-control-based-schema-migration-for-databases-belonged-to-this-instance: >-
+ bytebase-relies-on-migration-schema-to-manage-version-control-based-schema-migration-for-databases-belonged-to-this-instance:
+ >-
Bytebase relies on migration schema to manage version control based schema
migration for databases belonged to this instance.
please-contact-your-dba-to-configure-it: Please contact your DBA to configure it.
@@ -477,7 +479,8 @@ instance:
successfully-synced-schema-for-instance-instance-value-name: Successfully synced schema for instance '{0}'.
archive-this-instance: Archive this instance
archive-instance-instance-name: Archive instance '{0}'?
- archived-instances-will-not-be-shown-on-the-normal-interface-you-can-still-restore-later-from-the-archive-page: >-
+ archived-instances-will-not-be-shown-on-the-normal-interface-you-can-still-restore-later-from-the-archive-page:
+ >-
Archived instances will not be shown on the normal interface. You can still
restore later from the Archive page.
restore-this-instance: Restore this instance
@@ -595,10 +598,10 @@ environment:
quick-start:
bookmark-an-issue: Bookmark an issue
add-a-comment: Add a comment
- visit-project: '@:common.visit @:common.projects'
- visit-instance: '@:common.visit @:common.instances'
- visit-database: '@:common.visit @:common.databases'
- visit-environment: '@:common.visit @:common.environments'
+ visit-project: "@:common.visit @:common.projects"
+ visit-instance: "@:common.visit @:common.instances"
+ visit-database: "@:common.visit @:common.databases"
+ visit-environment: "@:common.visit @:common.environments"
add-a-member: Add a member
use-kbar: Use kbar ({shortcut})
notice:
@@ -698,8 +701,8 @@ database:
Bytebase will periodically sync the database info for every recorded
instance. You can also create a new database from the dashboard.
- restored-from: 'Restored from '
- database-name-is-restored-from-another-database-backup: '{0} is restored from another database backup'
+ restored-from: "Restored from "
+ database-name-is-restored-from-another-database-backup: "{0} is restored from another database backup"
database-backup: database backup
transfer-project: Transfer Project
alter-schema: Alter Schema
@@ -711,7 +714,7 @@ database:
create-backup: Create backup
automatic-weekly-backup: Automatic weekly backup
disable-automatic-backup: Disable automatic backup
- backuppolicy-backup-enforced-and-cant-be-disabled: '{0} backup enforced and can''t be disabled'
+ backuppolicy-backup-enforced-and-cant-be-disabled: "{0} backup enforced and can't be disabled"
backup-policy:
DAILY: DAILY
WEEKLY: WEEKLY
@@ -732,7 +735,7 @@ database:
create-a-manual-backup: Create a manual backup
disabled: Disabled
enabled: Enabled
- action-automatic-backup-for-database-props-database-name: '{0} automatic backup for database ''{1}''.'
+ action-automatic-backup-for-database-props-database-name: "{0} automatic backup for database '{1}'."
updated-backup-webhook-url-for-database-props-database-name: Updated backup webhook URL for database '{0}'.
last-sync-status: Last sync status
last-sync-status-long: Last sync status {0} at {1}
@@ -757,7 +760,7 @@ database:
row-count-est: Row count est.
repository:
branch-observe-file-change: The branch where Bytebase observes the file change.
- branch-specify-tip: 'Tip: You can also use wildcard like ''feature/*'
+ branch-specify-tip: "Tip: You can also use wildcard like 'feature/*"
base-directory: Base directory
base-directory-description: >-
The root directory where Bytebase observes the file change. If empty, then
@@ -780,7 +783,7 @@ repository:
if-specified: If specified
schema-path-example: Schema path example
git-provider: Git provider
- version-control-status: '@.capitalize:common.version-control is {status}'
+ 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
@@ -883,15 +886,15 @@ project:
confirm: Do not show again
search-bar-placeholder: Search project name
table:
- key: '@:common.key'
- name: '@:common.name'
+ key: "@:common.key"
+ name: "@:common.name"
created-at: Created At
create-modal:
- project-name: '@:common.project @:common.name'
- key: '@:common.key'
+ project-name: "@:common.project @:common.name"
+ key: "@:common.key"
key-hint: (Uppercase letters identifying your project)
- cancel: '@:common.cancel'
- confirm: '@:common.create'
+ cancel: "@:common.cancel"
+ confirm: "@:common.create"
success-prompt: Successfully created project {name}.
overview:
view-all: View all
@@ -958,8 +961,8 @@ project:
member-placeholder: Select user
manage-member: Manage members
add-member: Add member
- owner: '@.upper:common.role.owner'
- developer: '@.upper:common.role.developer'
+ owner: "@.upper:common.role.owner"
+ developer: "@.upper:common.role.developer"
archive:
title: Archive project
description: >-
@@ -976,7 +979,7 @@ project:
mode:
standard: Standard
tenant: Tenant
- db-name-template: '@:common.database @:common.name @:common.template'
+ db-name-template: "@:common.database @:common.name @:common.template"
inbox:
mark-all-as-read: Mark all as read
view-older: View older
@@ -1062,7 +1065,7 @@ deployment-config:
add-selector: Add selector
update-success: Successfully updated deployment config.
this-is-example-deployment-config: This is the deployment config example. You need to edit and save it.
- n-databases: '{n} database | {n} databases'
+ n-databases: "{n} database | {n} databases"
selectors: Selectors
wont-be-deployed: Will not be deployed
add-stage: Add stage
@@ -1095,12 +1098,12 @@ datasource:
requested-issue: Requested issue
successfully-revoked-member-principal-name-access-from-props-datasource-name: Successfully revoked '{0}' access from '{1}'.
your-issue-id-e-g-1234: Your issue id (e.g. 1234)
- member-principal-name-already-exists: '{0} already exists'
+ member-principal-name-already-exists: "{0} already exists"
successfully-granted-datasource-name-to-addedmember-principal-name: Successfully granted '{0}' to '{1}'.
we-also-linked-the-granted-database-to-the-requested-issue-linkedissue-name: We also linked the granted database to the requested issue '{0}'.
new-data-source: New data source
- connection-name-string-copied-to-clipboard: '{0} string copied to clipboard.'
- jdbc-cant-connect-to-socket-database-value-instance-host: 'JDBC can''t connect to socket {0} '
+ connection-name-string-copied-to-clipboard: "{0} string copied to clipboard."
+ jdbc-cant-connect-to-socket-database-value-instance-host: "JDBC can't connect to socket {0} "
setting:
label:
key: Key
@@ -1232,7 +1235,7 @@ subscription:
Your total instance quota is {total}, only have {count} instance
remained.
runoutof: Your have run out of your {total} instance quota.
- upgrade: '@:{''subscription.upgrade''} to get more instance quota.'
+ upgrade: "@:{'subscription.upgrade'} to get more instance quota."
bb-feature-multi-tenancy:
title: Multi-tenancy
desc: Intelligent database management for tenants using identical schemas.
@@ -1259,10 +1262,10 @@ subscription:
desc: >-
Bytebase auto-support 3rd-party login based on your VCS configuration.
@:{'subscription.upgrade'} to unlock this feature.
- login: '@:{''subscription.upgrade''} to unlock this feature'
+ login: "@:{'subscription.upgrade'} to unlock this feature"
bb-feature-schema-drift:
title: Schema drift
- desc: '@:{''subscription.upgrade''} to unlock schema dirft auto-detection'
+ desc: "@:{'subscription.upgrade'} to unlock schema dirft auto-detection"
feature-sections:
database-management:
title: Database Development
@@ -1293,7 +1296,7 @@ subscription:
title: Collaboration
features:
ui-based-sql-review: UI based SQL review
- vsc-workflow: 'VCS workflow #GitOps'
+ vsc-workflow: "VCS workflow #GitOps"
shareable-query-link: Shareable query link
im-integration: IM integration
inbox-notification: Inbox notification
@@ -1308,7 +1311,7 @@ subscription:
try: Try Team
free:
title: Free Plan
- label: ''
+ label: ""
desc: Personal project or small team, no DBA
team:
title: Team Plan
diff --git a/frontend/src/locales/zh-CN.yml b/frontend/src/locales/zh-CN.yml
index 8225b50704..53484bf8e7 100644
--- a/frontend/src/locales/zh-CN.yml
+++ b/frontend/src/locales/zh-CN.yml
@@ -194,7 +194,7 @@ task:
checking: 检查中…
run-task: 运行检查
check-result:
- title: '{name} 的检查结果'
+ title: "{name} 的检查结果"
check-type:
fake: Fake
syntax: 语法
@@ -202,7 +202,7 @@ task:
connection: 连接
migration-schema: 迁移 schema
earliest-allowed-time: 最早执行时间
- earliest-allowed-time-hint: '''@:{''common.when''}'' 指定了该任务最早允许执行的时间。如果该字段没有被指定,则任务会在满足其他条件后立即执行。'
+ earliest-allowed-time-hint: "'@:{'common.when'}' 指定了该任务最早允许执行的时间。如果该字段没有被指定,则任务会在满足其他条件后立即执行。"
comment: 评论
invoker: 执行者
started: 开始于
@@ -333,7 +333,7 @@ activity:
reopened-issue: 重开工单
resolved-issue: 解决工单
canceled-issue: 取消工单
- empty: ''
+ empty: ""
changed: 修改
updated: 更新
canceled: 取消
@@ -347,8 +347,8 @@ activity:
task: 任务
issue:
waiting-approval: 等待批准
- opened-by-at: '{id} 由 {creator} 开启于 {time}'
- commit-by-at: '{id} {title} 由 {author} 提交于 {time}'
+ opened-by-at: "{id} 由 {creator} 开启于 {time}"
+ commit-by-at: "{id} {title} 由 {author} 提交于 {time}"
status-transition:
modal:
resolve: 解决工单?
@@ -364,10 +364,10 @@ issue:
subscribe: 订阅
unsubscribe: 取消订阅
subscriber: 没有订阅者 | 1 个订阅者 | {n} 个订阅者
- apply-to-other-stages: '@:{''common.apply''}到其他@:{''common.stage''}'
+ apply-to-other-stages: "@:{'common.apply'}到其他@:{'common.stage'}"
add-sql-statement: 添加 SQL @:{'common.statement'}…
optional-add-sql-statement: (可选)添加 SQL @:{'common.statement'}…
- rollback-sql: '@:{''common.rollback''} SQL'
+ rollback-sql: "@:{'common.rollback'} SQL"
add-rollback-sql-statement: 添加 @:{'common.rollback'} SQL @:{'common.statement'}…
edit-description: 编辑描述
add-some-description: 添加一些描述…
@@ -388,7 +388,7 @@ issue:
updated: 更新于
assignee: 审核人
stage-select:
- active: '{name}(活动中)'
+ active: "{name}(活动中)"
alter-schema:
vcs-enabled: 该项目开启了基于 VCS 的版本管理,选择下面的数据库会将您导航到相应的 Git 仓库以发起变更流程。
vcs-info: 代表项目开启了基于 VCS 的版本管理。选择该类项目下的数据库会将您导航到对应的 Git 仓库以发起变更流程。
@@ -399,14 +399,14 @@ quick-action:
create-db: 创建数据库
choose-db: 选择数据库
new-db: 创建数据库
- add-instance: '@:common.add@:common.instance'
- create-instance: '@:common.create@:common.instance'
+ add-instance: "@:common.add@:common.instance"
+ create-instance: "@:common.create@:common.instance"
manage-user: 成员管理
default-project: 默认项目
- add-environment: '@:common.add@:common.environment'
- create-environment: '@:common.create@:common.environment'
- new-project: '@:common.new@:common.project'
- create-project: '@:common.create@:common.project'
+ add-environment: "@:common.add@:common.environment"
+ create-environment: "@:common.create@:common.environment"
+ new-project: "@:common.new@:common.project"
+ create-project: "@:common.create@:common.project"
edit-data: 编辑数据
troubleshoot: 问题排查
transfer-in-db: 转移数据库
@@ -418,7 +418,7 @@ quick-action:
transfer-in-db-alert: 您确定要转移 "{ dbName }" 到我们的项目中吗?
create-db:
new-database-name: 新数据库名称
- reserved-db-error: '{databaseName} 是一个预留名称'
+ reserved-db-error: "{databaseName} 是一个预留名称"
generated-database-name: 生成的数据库名称
db-name-generated-by-template: 依据模板 "{template}" 生成
select-label-value: 选择 {key}
@@ -436,13 +436,14 @@ db:
sync-status: 同步状态
instance:
select: 选择实例
- new-database: '@:common.new@:common.database'
+ new-database: "@:common.new@:common.database"
syncing: 同步中 ...
sync-now: 现在同步
- create-migration-schema: '@:common.create@:common.migration @:{''common.schema''}'
+ create-migration-schema: "@:common.create@:common.migration @:{'common.schema'}"
missing-migration-schema: 缺少@:common.migration @:common.schema
unable-to-connect-instance-to-check-migration-schema: 无法连接到@:{'common.instance'}以检查@:{'common.migration'} @:{'common.schema'}
- bytebase-relies-on-migration-schema-to-manage-version-control-based-schema-migration-for-databases-belonged-to-this-instance: >-
+ bytebase-relies-on-migration-schema-to-manage-version-control-based-schema-migration-for-databases-belonged-to-this-instance:
+ >-
Bytebase需要@:{'common.migration'} @:{'common.schema'}
来管理属于这个@:{'common.instance'}的@:{'common.database'}的基于版本管理的 schema
@:common.migration
@@ -461,13 +462,13 @@ instance:
restore-this-instance: 恢复该实例
restore: 恢复
restore-instance-instance-name-to-normal-state: 恢复实例'{0}'到正常状态?
- account-name: '@:instance.account@:instance.name'
+ account-name: "@:instance.account@:instance.name"
account: 账户
name: 名称
host-or-socket: Host 或 Socket
your-snowflake-account-name: 您的 Snowflake @:{'instance.account'}@:{'instance.name'}
port: 端口
- instance-name: '@:common.instance@:instance.name'
+ instance-name: "@:common.instance@:instance.name"
snowflake-web-console: Snowflake @:{'instance.web-console'}
external-link: 外部链接
web-console: Web 控制台
@@ -540,10 +541,10 @@ environment:
quick-start:
bookmark-an-issue: 收藏工单
add-a-comment: 添加评论
- visit-project: '@:common.visit@:common.projects'
- visit-instance: '@:common.visit@:common.instances'
- visit-database: '@:common.visit@:common.databases'
- visit-environment: '@:common.visit@:common.environments'
+ visit-project: "@:common.visit@:common.projects"
+ visit-instance: "@:common.visit@:common.instances"
+ visit-database: "@:common.visit@:common.databases"
+ visit-environment: "@:common.visit@:common.environments"
add-a-member: 添加成员
use-kbar: 使用 kbar ({shortcut})
notice:
@@ -635,7 +636,7 @@ database:
您还可以从仪表板创建新数据库。
restored-from: 恢复于
- database-name-is-restored-from-another-database-backup: '{0}恢复于另一个数据库备份'
+ database-name-is-restored-from-another-database-backup: "{0}恢复于另一个数据库备份"
transfer-project: 转移项目
alter-schema: 变更 Schema
alter-schema-in-vcs: 变更 Schema (VCS)
@@ -708,7 +709,7 @@ repository:
if-specified: 如果指定
schema-path-example: Schema 路径样例
git-provider: Git 提供方
- version-control-status: '@.capitalize:common.version-control 已{status}'
+ version-control-status: "@.capitalize:common.version-control 已{status}"
version-control-description-file-path: 数据库迁移脚本存放在 {fullPath}。为了进行一次变更,开发者需要创建一个匹配 {fullPathTemplate} 文件路径格式的迁移脚本。
version-control-description-branch: 当脚本审核通过并且合并到 {branch} 分支后,Bytebase 将自动发起一条流水线来执行新的 schema 变更。
version-control-description-description-schema-path: 当 schema 变更完成后, Bytebase 会把变更后的最新 schema 回写到指定的 {schemaPathTemplate}。
@@ -758,7 +759,7 @@ anomaly:
该列表大约每 10 分钟刷新一次。
table-search-placeholder: 搜索{type}或者环境
table-placeholder: 很棒,没有检测到{type}异常!
- tooltip: '{env} 环境有 {criticalCount} 个严重异常, {highCount} 个高等级异常和 {mediumCount} 个中等级异常'
+ tooltip: "{env} 环境有 {criticalCount} 个严重异常, {highCount} 个高等级异常和 {mediumCount} 个中等级异常"
types:
connection-failure: 连接失败
missing-migration-schema: 缺少迁移 Schema
@@ -787,15 +788,15 @@ project:
confirm: 不再出现
search-bar-placeholder: 搜索项目名称
table:
- key: '@:common.key'
- name: '@:common.name'
+ key: "@:common.key"
+ name: "@:common.name"
created-at: 创建于
create-modal:
- project-name: '@:{''common.project''}@:{''common.name''}'
- key: '@:common.key'
+ project-name: "@:{'common.project'}@:{'common.name'}"
+ key: "@:common.key"
key-hint: (请使用大写字母来命名您的项目)
- cancel: '@:common.cancel'
- confirm: '@:common.create'
+ cancel: "@:common.cancel"
+ confirm: "@:common.create"
success-prompt: 成功创建 {name}.
overview:
view-all: 查看所有
@@ -825,7 +826,7 @@ project:
title: 创建 webhook
desc: 为 {destination} 创建一个 webhook
how-to-protect: 您可以通过添加 'Bytebase' 到您的 webhook 关键字白名单中来保护您的 webhook
- view-doc: '{destination} 的官方文档'
+ view-doc: "{destination} 的官方文档"
deletion:
btn-text: 删除这个 webhook
activity-item:
@@ -840,7 +841,7 @@ project:
label: 当一个工单包含的任务状态发生了变更
issue-info-change:
title: 工单信息变更
- label: '当一个工单的信息 (比如: 分配人, 标题, 描述) 发生了变更'
+ label: "当一个工单的信息 (比如: 分配人, 标题, 描述) 发生了变更"
issue-comment-creation:
title: 工单被评论
label: 当新的工单评论被创建
@@ -851,8 +852,8 @@ project:
member-placeholder: 选择用户
manage-member: 管理成员
add-member: 添加成员
- owner: '@.upper:common.role.owner'
- developer: '@.upper:common.role.developer'
+ owner: "@.upper:common.role.owner"
+ developer: "@.upper:common.role.developer"
archive:
title: 归档项目
description: 已归档的项目将不会显示在日常界面,但您仍然可以从归档页面中恢复他。
@@ -927,7 +928,7 @@ deployment-config:
add-selector: 添加选择条件
update-success: 成功更新部署配置
this-is-example-deployment-config: 这是部署配置的样例,你需要在此基础上编辑并保存。
- n-databases: '{n} 个数据库'
+ n-databases: "{n} 个数据库"
selectors: 选择条件
wont-be-deployed: 不会被部署
add-stage: 添加阶段
@@ -960,12 +961,12 @@ datasource:
requested-issue: 申请工单
successfully-revoked-member-principal-name-access-from-props-datasource-name: 成功取消 '{0}' 对 '{1}' 的访问权限。
your-issue-id-e-g-1234: 您的工单 id (例如 1234)
- member-principal-name-already-exists: '{0} 已经存在'
+ member-principal-name-already-exists: "{0} 已经存在"
successfully-granted-datasource-name-to-addedmember-principal-name: 成功授予 '{1}' '{0}'
we-also-linked-the-granted-database-to-the-requested-issue-linkedissue-name: 我们也把被授予的数据库链接到了申请工单 '{0}'。
new-data-source: 新数据源
- connection-name-string-copied-to-clipboard: '{0} 字符串已复制到剪贴板。'
- jdbc-cant-connect-to-socket-database-value-instance-host: 'JDBC 无法连接到 socket {0} '
+ connection-name-string-copied-to-clipboard: "{0} 字符串已复制到剪贴板。"
+ jdbc-cant-connect-to-socket-database-value-instance-host: "JDBC 无法连接到 socket {0} "
setting:
label:
key: Key
@@ -1081,7 +1082,7 @@ subscription:
desc: 您已达最大实例数量限制,请付费升级来获取更多实例额度。
remaining: 当前总实例额度为 {total},目前仅剩 {count} 个份额可用。
runoutof: 已用尽全部 {total} 个实例额度。
- upgrade: '@:{''subscription.upgrade''}来获取更多实例额度。'
+ upgrade: "@:{'subscription.upgrade'}来获取更多实例额度。"
bb-feature-multi-tenancy:
title: 多租户
desc: 「多租户功能」可以同时管理多个属于不同租户的同构数据库,帮您更统一和方便地对多个数据库进行管理和表结构变更。
@@ -1103,7 +1104,7 @@ subscription:
login: 请@:{'subscription.upgrade'}来开启该功能
bb-feature-schema-drift:
title: Schema 偏差
- desc: '@:{''subscription.upgrade''}来解锁 schema 偏差异常的自动检测。'
+ desc: "@:{'subscription.upgrade'}来解锁 schema 偏差异常的自动检测。"
feature-sections:
database-management:
title: 数据库管理
@@ -1134,7 +1135,7 @@ subscription:
title: 团队协作
features:
ui-based-sql-review: 基于 UI 的 SQL 审查
- vsc-workflow: 'VCS 工作流 #GitOps'
+ vsc-workflow: "VCS 工作流 #GitOps"
shareable-query-link: 分享查询链接
im-integration: IM 集成
inbox-notification: 站内信通知
@@ -1149,7 +1150,7 @@ subscription:
try: 试用团队版
free:
title: 免费版
- label: ''
+ label: ""
desc: 个人或小团队,无专职 DBA
team:
title: 团队版