Refactoring clear document UI

This commit is contained in:
yangdx
2025-04-01 13:31:14 +08:00
parent cd94e84267
commit 4c9c600472
6 changed files with 155 additions and 10 deletions

View File

@@ -32,14 +32,23 @@
"authDisabled": "Authentication is disabled. Using login free mode.",
"guestMode": "Login Free"
},
"common": {
"cancel": "Cancel"
},
"documentPanel": {
"clearDocuments": {
"button": "Clear",
"tooltip": "Clear documents",
"title": "Clear Documents",
"warning": "WARNING: This action will permanently delete all documents and cannot be undone!",
"confirm": "Do you really want to clear all documents?",
"confirmPrompt": "Type 'yes' to confirm this action",
"confirmPlaceholder": "Type yes to confirm",
"clearCache": "Also clear cache",
"confirmButton": "YES",
"success": "Documents cleared successfully",
"cacheCleared": "Cache cleared successfully",
"cacheClearFailed": "Failed to clear cache:\n{{error}}",
"failed": "Clear Documents Failed:\n{{message}}",
"error": "Clear Documents Failed:\n{{error}}"
},