Skip to content

Commit a47f865

Browse files
fix: typos
1 parent 3b3d6b2 commit a47f865

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

backend/apps/dashboard/crud/dashboard_service.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ def load_resource(session: SessionDep, dashboard: QueryDashboard):
3333
sql = text("""
3434
SELECT cd.*,
3535
creator.name AS create_name,
36-
updator.name AS update_name
36+
updater.name AS update_name
3737
FROM core_dashboard cd
3838
LEFT JOIN sys_user creator ON cd.create_by = creator.id::varchar
39-
LEFT JOIN sys_user updator
40-
ON cd.update_by = updator.id:: varchar
39+
LEFT JOIN sys_user updater
40+
ON cd.update_by = updater.id:: varchar
4141
WHERE cd.id = :dashboard_id
4242
""")
4343
result = session.execute(sql, {"dashboard_id": dashboard.id}).mappings().first()

frontend/src/i18n/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"creator": "Creator",
195195
"dashboard_id": "Dashboard ID",
196196
"create_time": "Create Time",
197-
"updator": "Updater",
197+
"updater": "Updater",
198198
"update_time": "Update Time",
199199
"edit": "Edit",
200200
"edit_title": "Edit Title",

frontend/src/i18n/ko-KR.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"creator": "생성자",
195195
"dashboard_id": "대시보드 ID",
196196
"create_time": "생성 시간",
197-
"updator": "업데이트자",
197+
"updater": "업데이트자",
198198
"update_time": "업데이트 시간",
199199
"edit": "편집",
200200
"edit_title": "제목 편집",

frontend/src/i18n/zh-CN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"creator": "创建人",
195195
"dashboard_id": "仪表板ID",
196196
"create_time": "创建时间",
197-
"updator": "更新人",
197+
"updater": "更新人",
198198
"update_time": "更新时间",
199199
"edit": "编辑",
200200
"edit_title": "编辑标题",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div v-if="dashboardInfo.createName" class="info-content">{{ dashboardInfo.createName }}</div>
77
<div class="info-title">{{ t('dashboard.create_time') }}</div>
88
<div class="info-content">{{ timestampFormatDate(dashboardInfo.createTime) }}</div>
9-
<div v-if="dashboardInfo.updateName" class="info-title">{{ t('dashboard.updator') }}</div>
9+
<div v-if="dashboardInfo.updateName" class="info-title">{{ t('dashboard.updater') }}</div>
1010
<div v-if="dashboardInfo.updateName" class="info-content">{{ dashboardInfo.updateName }}</div>
1111
<div class="info-title">{{ t('dashboard.update_time') }}</div>
1212
<div v-if="dashboardInfo.updateTime" class="info-content">

0 commit comments

Comments
 (0)