feat(frontend): show UI build version on system info page
Inject the frontend package.json version at build time via Vite and render it as a dedicated "UI Version" row in System Info, alongside the existing app (backend) version returned by /system/info. When the two versions differ a warning tag is shown so users can tell at a glance that their weknora-ui image is out of sync with weknora-app (e.g. missing config fields for newer providers like SearXNG). Rename the existing version row label from "System Version" to "App Version" to distinguish it from the new UI version row in all four locales (zh-CN, en-US, ko-KR, ru-RU).
This commit is contained in:
@@ -1663,8 +1663,11 @@ export default {
|
||||
sectionDescription: "시스템 버전 정보 및 사용자 계정 설정 보기",
|
||||
loadingInfo: "정보 로딩 중...",
|
||||
retry: "재시도",
|
||||
versionLabel: "시스템 버전",
|
||||
versionDescription: "현재 시스템의 버전 번호",
|
||||
versionLabel: "앱 버전",
|
||||
versionDescription: "애플리케이션 서비스(weknora-app)의 버전 번호",
|
||||
frontendVersionLabel: "UI 버전",
|
||||
frontendVersionDescription: "UI(weknora-ui) 빌드 버전 번호",
|
||||
versionMismatch: "앱 버전과 일치하지 않음",
|
||||
buildTimeLabel: "빌드 시간",
|
||||
buildTimeDescription: "시스템이 빌드된 시간",
|
||||
goVersionLabel: "Go 버전",
|
||||
|
||||
Reference in New Issue
Block a user