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": "تم تعطيل المصادقة. استخدام وضع بدون تسجيل دخول.",
"guestMode": "وضع بدون تسجيل دخول"
},
"common": {
"cancel": "إلغاء"
},
"documentPanel": {
"clearDocuments": {
"button": "مسح",
"tooltip": "مسح المستندات",
"title": "مسح المستندات",
"warning": "تحذير: سيؤدي هذا الإجراء إلى حذف جميع المستندات بشكل دائم ولا يمكن التراجع عنه!",
"confirm": "هل تريد حقًا مسح جميع المستندات؟",
"confirmPrompt": "اكتب 'yes' لتأكيد هذا الإجراء",
"confirmPlaceholder": "اكتب yes للتأكيد",
"clearCache": "مسح ذاكرة التخزين المؤقت أيضًا",
"confirmButton": "نعم",
"success": "تم مسح المستندات بنجاح",
"cacheCleared": "تم مسح ذاكرة التخزين المؤقت بنجاح",
"cacheClearFailed": "فشل مسح ذاكرة التخزين المؤقت:\n{{error}}",
"failed": "فشل مسح المستندات:\n{{message}}",
"error": "فشل مسح المستندات:\n{{error}}"
},

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}}"
},

View File

@@ -32,14 +32,23 @@
"authDisabled": "L'authentification est désactivée. Utilisation du mode sans connexion.",
"guestMode": "Mode sans connexion"
},
"common": {
"cancel": "Annuler"
},
"documentPanel": {
"clearDocuments": {
"button": "Effacer",
"tooltip": "Effacer les documents",
"title": "Effacer les documents",
"warning": "ATTENTION : Cette action supprimera définitivement tous les documents et ne peut pas être annulée !",
"confirm": "Voulez-vous vraiment effacer tous les documents ?",
"confirmPrompt": "Tapez 'yes' pour confirmer cette action",
"confirmPlaceholder": "Tapez yes pour confirmer",
"clearCache": "Effacer également le cache",
"confirmButton": "OUI",
"success": "Documents effacés avec succès",
"cacheCleared": "Cache effacé avec succès",
"cacheClearFailed": "Échec de l'effacement du cache :\n{{error}}",
"failed": "Échec de l'effacement des documents :\n{{message}}",
"error": "Échec de l'effacement des documents :\n{{error}}"
},

View File

@@ -32,14 +32,23 @@
"authDisabled": "认证已禁用,使用无需登陆模式。",
"guestMode": "无需登陆"
},
"common": {
"cancel": "取消"
},
"documentPanel": {
"clearDocuments": {
"button": "清空",
"tooltip": "清空文档",
"title": "清空文档",
"warning": "警告:此操作将永久删除所有文档,无法恢复!",
"confirm": "确定要清空所有文档吗?",
"confirmPrompt": "请输入 yes 确认操作",
"confirmPlaceholder": "输入 yes 确认",
"clearCache": "同时清空缓存",
"confirmButton": "确定",
"success": "文档清空成功",
"cacheCleared": "缓存清空成功",
"cacheClearFailed": "清空缓存失败:\n{{error}}",
"failed": "清空文档失败:\n{{message}}",
"error": "清空文档失败:\n{{error}}"
},