feat: add support for disabling specific tools in self-hosting

- Introduced build-time and runtime options to disable tools for compliance or security.
- Updated documentation to include instructions for disabling tools in Docker and Kubernetes setups.
- Added translations for disabled tool messages in multiple languages.
- Implemented logic to filter out disabled tools from the toolbox and shortcuts in the application.
- Created utility functions to manage disabled tools configuration.
This commit is contained in:
alam00000
2026-03-28 23:45:17 +05:30
parent 59ebb4d358
commit 9a7cf1636b
30 changed files with 417 additions and 7 deletions

View File

@@ -361,5 +361,11 @@
"simpleMode": {
"title": "PDF 도구",
"subtitle": "사용할 도구를 선택하세요"
},
"disabledTool": {
"title": "도구를 사용할 수 없음",
"heading": "이 도구는 비활성화되었습니다",
"message": "이 도구는 현재 배포 환경에서 사용할 수 없습니다. 자세한 내용은 관리자에게 문의하세요.",
"backHome": "홈으로 돌아가기"
}
}