dify/web/i18n/zh-Hans
yyh cab33d440b
refactor(skill): remove Office file special handling, merge into unsupported
Remove the Office file placeholder that only showed "Preview will be
supported in a future update" without any download option. Office files
(pdf, doc, docx, xls, xlsx, ppt, pptx) now fall through to the generic
"unsupported file" handler which provides a download button.

Removed:
- OfficeFilePlaceholder component
- isOfficeFile function and OFFICE_EXTENSIONS constant
- isOffice flag from useFileTypeInfo hook
- i18n keys for officePlaceholder

This simplifies the file type handling to just three categories:
- Editable: markdown, code, text files → editor
- Previewable: image, video files → media preview
- Everything else: download button
2026-01-19 23:39:32 +08:00
..
app-annotation.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
app-api.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
app-debug.json fix(web): enable JSON_OBJECT type support in console UI (#30412) 2025-12-31 13:38:16 +08:00
app-log.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
app-overview.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
app.json feat(app): update default runtime mode and adjust runtime selection component styling 2026-01-09 18:12:36 +08:00
billing.json feat: model total credits (#30727) 2026-01-08 14:11:44 +08:00
common.json feat(sandbox): add connect mode selection for E2B provider 2026-01-19 18:35:53 +08:00
custom.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
dataset-creation.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
dataset-documents.json chore: i18n namespace refactor in package.json and add missing translations (#30324) 2025-12-29 20:59:11 +08:00
dataset-hit-testing.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
dataset-pipeline.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
dataset-settings.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
dataset.json chore: relocate datasets api form (#31224) 2026-01-19 16:15:51 +08:00
education.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
explore.json chore: i18n namespace refactor in package.json and add missing translations (#30324) 2025-12-29 20:59:11 +08:00
layout.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
login.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
oauth.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
pipeline.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
plugin-tags.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
plugin-trigger.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
plugin.json chore: change tool setting copywriting and ts promble 2026-01-19 18:27:33 +08:00
register.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
run-log.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
share.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
time.json refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
tools.json chore: i18n namespace refactor in package.json and add missing translations (#30324) 2025-12-29 20:59:11 +08:00
workflow.json refactor(skill): remove Office file special handling, merge into unsupported 2026-01-19 23:39:32 +08:00