Merge pull request #4574 from Astrenix/fix/i18n-hardcoded-strings

fix(frontend): 补齐零星硬编码 UI 文案的国际化
This commit is contained in:
Wesley Liddick
2026-07-20 15:29:05 +08:00
committed by GitHub
8 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ async function fetchAndRenderMarkdown(slug: string) {
headers: authStore.token ? { Authorization: `Bearer ${authStore.token}` } : {},
})
if (!resp.ok) {
renderedHtml.value = '<p class="text-red-500">Page not found</p>'
renderedHtml.value = `<p class="text-red-500">${t('common.pageNotFound')}</p>`
return
}
let raw = await resp.text()