mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-31 08:25:35 +00:00
Merge pull request #4574 from Astrenix/fix/i18n-hardcoded-strings
fix(frontend): 补齐零星硬编码 UI 文案的国际化
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user