Skip to content

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

fix: rule localization (#3086)

ecmadaofe8d3f81c8b2
diff --git a/frontend/src/locales/sql-review/en-US.json b/frontend/src/locales/sql-review/en-US.json
index 7b823368d6..61afc0d979 100644
--- a/frontend/src/locales/sql-review/en-US.json
+++ b/frontend/src/locales/sql-review/en-US.json
@@ -213,8 +213,8 @@
"title": "Maximum CHAR length",
"description": "Force to change CHAR to VARCHAR if maximum length is reached.",
"component": {
- "required": {
- "number": "Maximum length"
+ "number": {
+ "title": "Maximum length"
}
}
},
@@ -222,8 +222,8 @@
"title": "Auto-increment initial value",
"description": "Set initial value for auto-increment column.",
"component": {
- "required": {
- "number": "Initial value"
+ "number": {
+ "title": "Initial value"
}
}
},
diff --git a/frontend/src/locales/sql-review/zh-CN.json b/frontend/src/locales/sql-review/zh-CN.json
index 3a83c526aa..f4b12117d5 100644
--- a/frontend/src/locales/sql-review/zh-CN.json
+++ b/frontend/src/locales/sql-review/zh-CN.json
@@ -214,8 +214,8 @@
"title": "CHAR 长度限制",
"description": "CHAR 长度大于指定值的时候需要改为 VARCHAR 类型。",
"component": {
- "required": {
- "number": "最大长度"
+ "number": {
+ "title": "最大长度"
}
}
},
@@ -223,8 +223,8 @@
"title": "自增初始值",
"description": "配置自增字段的初始值。",
"component": {
- "required": {
- "number": "初始值"
+ "number": {
+ "title": "初始值"
}
}
},