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: fix yaml locale resource files format (#976)
Liu Ji86ab9454e769
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 8a6487595d..ca25607c13 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -26,5 +26,5 @@ repos:rev: "v2.4.1"hooks:- id: prettier- files: frontend/src/locales/.+\.yaml$+ files: frontend/src/locales/.+\.ya?ml$types_or: [yaml]diff --git a/frontend/src/locales/.prettierrc b/frontend/src/locales/.prettierrcnew file mode 100644index 0000000000..fba888dc62--- /dev/null+++ b/frontend/src/locales/.prettierrc@@ -0,0 +1,7 @@+{+ "useTabs": false,+ "tabWidth": 2,+ "singleQuote": false,+ "trailingComma": "es5",+ "printWidth": 80+}diff --git a/frontend/src/locales/en.yml b/frontend/src/locales/en.ymlindex a50e7c0fbf..70f5336065 100644--- a/frontend/src/locales/en.yml+++ b/frontend/src/locales/en.yml@@ -227,7 +227,8 @@ task:warn: Warningerror: Errorearliest-allowed-time-no-modify: >-- You can not modify this field because you are not the issue assignee or it's not pending to run.+ You can not modify this field because you are not the issue assignee or it's+ not pending to run.banner:demo-intro: This is a demo version of Bytebase.demo-intro-readonly: This is a demo version of Bytebase in read-only mode.@@ -305,11 +306,14 @@ settings:title: Are you sure?change-role-provider-to-vcs:content: >-- Turning on VCS sync will replace all existing members with the- members from the corresponding VCS project.+ Turning on VCS sync will replace all existing members with the members+ from the corresponding VCS project.- The existing members will become inactive. You can turn off VCS sync to restore those members.- emphasize: Please be noticed that this function requires all project members from the VCS have a public email set.+ The existing members will become inactive. You can turn off VCS sync to+ restore those members.+ emphasize: >-+ Please be noticed that this function requires all project members from+ the VCS have a public email set.change-role-provider-to-bytebase:content: >-You are about to restore the following members. All existing members@@ -416,7 +420,7 @@ issue:assignee: Assigneestage-select:active: "{name} (active)"- not-allowed-to-single-database-in-tenant-mode: "Can't {operation} to single database in tenant mode"+ not-allowed-to-single-database-in-tenant-mode: Can't {operation} to single database in tenant modealter-schema:vcs-enabled: >-This project has enabled VCS based version control and selecting database@@ -531,10 +535,11 @@ instance:The external console URL managing this instance (e.g. AWS RDS console,your in-house DB instance console)create-admin-user: >-- This is the connection user used by Bytebase to perform DDL and DML (non-SELECT)- operations.+ This is the connection user used by Bytebase to perform DDL and DML+ (non-SELECT) operations.create-readonly-user: >-- This is the connection user used by Bytebase to perform read-only operations such as SELECT query.+ This is the connection user used by Bytebase to perform read-only+ operations such as SELECT query.create-user-example:snowflake:user: bytebase{'@'}%@@ -779,7 +784,9 @@ database:columns: Columnsindexes: Indexesrow-count-est: Row count est.- incorrect-project-warning: SQL editor can only query databases in projects available to the user. You should first transfer this database into a project.+ incorrect-project-warning: >-+ SQL editor can only query databases in projects available to the user. You+ should first transfer this database into a project.go-to-transfer: Go to transferrepository:branch-observe-file-change: The branch where Bytebase observes the file change.@@ -1297,8 +1304,8 @@ subscription:bb-feature-3rd-party-auth:title: 3rd party authentication & authorizationdesc: >-- Bytebase supports 3rd-party authentication & authorization based on your VCS configuration.- @:{'subscription.upgrade'} to unlock this feature.+ Bytebase supports 3rd-party authentication & authorization based on your+ VCS configuration. @:{'subscription.upgrade'} to unlock this feature.login: "@:{'subscription.upgrade'} to unlock this feature"bb-feature-branding:title: Brandingdiff --git a/frontend/src/locales/zh-CN.yml b/frontend/src/locales/zh-CN.ymlindex 6d0309aa2e..2a8e884869 100644--- a/frontend/src/locales/zh-CN.yml+++ b/frontend/src/locales/zh-CN.yml@@ -1137,7 +1137,8 @@ subscription:bb-feature-3rd-party-auth:title: 第三方认证 & 授权desc: >-- Bytebase 可根据您配置的 VCS 来支持相应的第三方认证 & 授权。请通过@:{'subscription.upgrade'}来开启该功能。+ Bytebase 可根据您配置的 VCS 来支持相应的第三方认证 &+ 授权。请通过@:{'subscription.upgrade'}来开启该功能。login: 请@:{'subscription.upgrade'}来开启该功能bb-feature-branding:title: 自定义品牌信息