feat(audio): add audio file preview support and enhance UI components

- Integrated audio file preview functionality in document content and preview components.
- Updated localization files to include audio-related messages.
- Enhanced the UI to display an audio player for supported audio formats.
- Implemented audio loading state and error handling for unsupported audio playback.
This commit is contained in:
wizardchen
2026-04-03 12:14:33 +08:00
committed by lyingbug
parent 39831fb61c
commit 155fc690a7
7 changed files with 123 additions and 6 deletions
+2
View File
@@ -2682,6 +2682,8 @@ export default {
unsupportedHint: 'Скачайте файл и откройте локально',
fullscreen: 'Полноэкранный режим',
exitFullscreen: 'Выйти из полноэкранного режима',
audioLoading: 'Загрузка аудио…',
audioNotSupported: 'Ваш браузер не поддерживает воспроизведение аудио',
},
knowledgeSearch: {
title: 'Поиск',