feat(preview): add localized document fullscreen toggle

This feature introduces a localized fullscreen toggle capability directly to the document preview component. It adds translations across 4 UI languages (zh-CN, en-US, ko-KR, ru-RU) avoiding hardcoded strings. It also sets proper responsive height scaling for DOCX views expanding to full viewport.
This commit is contained in:
Andy Yang
2026-03-09 18:21:56 +08:00
committed by lyingbug
parent daa9ef500c
commit e57deb218c
5 changed files with 94 additions and 3 deletions
+2
View File
@@ -2978,6 +2978,8 @@ export default {
retry: "重试",
unsupported: "该文件类型暂不支持在线预览",
unsupportedHint: "请下载文件后使用本地应用查看",
fullscreen: "全屏预览",
exitFullscreen: "退出全屏",
},
knowledgeSearch: {
title: "搜索",