Skip to content

Commit e7fc203

Browse files
committed
refactor: update style
1 parent 4fd6015 commit e7fc203

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

frontend/src/i18n/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"password_reset_successful": "Password reset successful"
3333
},
3434
"dashboard": {
35+
"length_limit64": "Field length must be between 1 and 64",
3536
"sort_column": "Sort field",
3637
"sort_type": "Sort type",
3738
"time": "Time",
@@ -59,7 +60,7 @@
5960
"name_desc": "Sort by Name (Descending)",
6061
"select_dashboard": "Please Select Dashboard",
6162
"view": "View",
62-
"text": "Text",
63+
"text": "Rich Text",
6364
"preview": "Preview",
6465
"creator": "Creator",
6566
"dashboard_id": "Dashboard ID",

frontend/src/i18n/zh-CN.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"password_reset_successful": "重置密码成功"
3535
},
3636
"dashboard": {
37+
"length_limit64": "字段长度需要在1-64之间",
3738
"sort_column": "排序字段",
3839
"sort_type": "排序方式",
3940
"time": "时间",
@@ -62,7 +63,7 @@
6263
"select_dashboard": "请选择仪表板",
6364
"name": "名称",
6465
"view": "图表",
65-
"text": "文本",
66+
"text": "富文本",
6667
"preview": "预览",
6768
"creator": "创建人",
6869
"dashboard_id": "仪表板ID",

frontend/src/views/dashboard/common/ResourceGroupOpt.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const resourceFormRules = ref({
9595
{
9696
min: 1,
9797
max: 64,
98-
message: 'Chart limit 1-64',
98+
message: t('dashboard.length_limit64'),
9999
trigger: 'change',
100100
},
101101
{ required: true, trigger: 'blur' },

0 commit comments

Comments
 (0)