refactor: Optimize typos checking issues

This commit is contained in:
wangjiahao
2026-01-06 15:46:55 +08:00
parent 3b3d6b2af4
commit d12c8b2b55
5 changed files with 8 additions and 8 deletions
@@ -33,11 +33,11 @@ def load_resource(session: SessionDep, dashboard: QueryDashboard):
sql = text("""
SELECT cd.*,
creator.name AS create_name,
updator.name AS update_name
updater.name AS update_name
FROM core_dashboard cd
LEFT JOIN sys_user creator ON cd.create_by = creator.id::varchar
LEFT JOIN sys_user updator
ON cd.update_by = updator.id:: varchar
LEFT JOIN sys_user updater
ON cd.update_by = updater.id:: varchar
WHERE cd.id = :dashboard_id
""")
result = session.execute(sql, {"dashboard_id": dashboard.id}).mappings().first()
+1 -1
View File
@@ -194,7 +194,7 @@
"creator": "Creator",
"dashboard_id": "Dashboard ID",
"create_time": "Create Time",
"updator": "Updater",
"updater": "Updater",
"update_time": "Update Time",
"edit": "Edit",
"edit_title": "Edit Title",
+2 -2
View File
@@ -194,7 +194,7 @@
"creator": "생성자",
"dashboard_id": "대시보드 ID",
"create_time": "생성 시간",
"updator": "업데이트자",
"updater": "업데이트자",
"update_time": "업데이트 시간",
"edit": "편집",
"edit_title": "제목 편집",
@@ -852,4 +852,4 @@
"to_doc": "API 보기",
"trigger_limit": "최대 {0}개의 API 키 생성 지원"
}
}
}
+1 -1
View File
@@ -194,7 +194,7 @@
"creator": "创建人",
"dashboard_id": "仪表板ID",
"create_time": "创建时间",
"updator": "更新人",
"updater": "更新人",
"update_time": "更新时间",
"edit": "编辑",
"edit_title": "编辑标题",
@@ -6,7 +6,7 @@
<div v-if="dashboardInfo.createName" class="info-content">{{ dashboardInfo.createName }}</div>
<div class="info-title">{{ t('dashboard.create_time') }}</div>
<div class="info-content">{{ timestampFormatDate(dashboardInfo.createTime) }}</div>
<div v-if="dashboardInfo.updateName" class="info-title">{{ t('dashboard.updator') }}</div>
<div v-if="dashboardInfo.updateName" class="info-title">{{ t('dashboard.updater') }}</div>
<div v-if="dashboardInfo.updateName" class="info-content">{{ dashboardInfo.updateName }}</div>
<div class="info-title">{{ t('dashboard.update_time') }}</div>
<div v-if="dashboardInfo.updateTime" class="info-content">