feat(localization): introduce localization to 404 texts

This commit is contained in:
Kenneth
2025-02-18 17:00:05 +08:00
parent 1c2ba4942f
commit 134afd7b8e
6 changed files with 13 additions and 6 deletions

View File

@@ -247,7 +247,7 @@ const getSEOMeta = (props, router, locale) => {
}
case '/404':
return {
title: `${siteInfo?.title} | 页面找不到啦`,
title: `${siteInfo?.title} | ${locale.NAV.PAGE_NOT_FOUND}`,
image: `${siteInfo?.pageCover}`
}
case '/tag':