feat: 添加路径收藏功能

This commit is contained in:
Baobhan Sith
2025-05-23 18:47:04 +08:00
parent f8282fe9c0
commit ae60e0c398
15 changed files with 1269 additions and 7 deletions
+31
View File
@@ -1504,6 +1504,37 @@
"transferInitiatedGeneric": "Transfer task created successfully.",
"transferFailedError": "Failed to initiate transfer. Please try again."
},
"favoritePaths": {
"addEditForm": {
"validation": {
"pathRequired": "Path is required."
},
"editTitle": "Edit Favorite Path",
"addTitle": "Add New Favorite Path",
"pathLabel": "Path",
"pathPlaceholder": "/example/folder/path",
"nameLabel": "Name (Optional)",
"namePlaceholder": "My Documents",
"errors": {
"genericSaveError": "Failed to save favorite path."
}
},
"confirmDelete": "Are you sure you want to delete \"{name}\"?",
"searchPlaceholder": "Search by name or path...",
"addNew": "Add new favorite path",
"loading": "Loading favorites...",
"noResults": "No matching favorites found.",
"noFavorites": "No favorite paths yet. Add one!",
"notifications": {
"fetchError": "Failed to load favorite paths.",
"addSuccess": "Favorite path added successfully.",
"addError": "Failed to add favorite path.",
"updateSuccess": "Favorite path updated successfully.",
"updateError": "Failed to update favorite path.",
"deleteSuccess": "Favorite path deleted successfully.",
"deleteError": "Failed to delete favorite path."
}
},
"pathHistory": {
"loading": "Loading...",
"empty": "No path history",
+31
View File
@@ -1466,6 +1466,37 @@
"transferInitiatedGeneric": "転送タスクが正常に作成されました。",
"transferFailedError": "転送の開始に失敗しました。もう一度お試しください。"
},
"favoritePaths": {
"addEditForm": {
"validation": {
"pathRequired": "Path is required."
},
"editTitle": "Edit Favorite Path",
"addTitle": "Add New Favorite Path",
"pathLabel": "Path",
"pathPlaceholder": "/example/folder/path",
"nameLabel": "Name (Optional)",
"namePlaceholder": "My Documents",
"errors": {
"genericSaveError": "Failed to save favorite path."
}
},
"confirmDelete": "Are you sure you want to delete \"{name}\"?",
"searchPlaceholder": "Search by name or path...",
"addNew": "Add new favorite path",
"loading": "Loading favorites...",
"noResults": "No matching favorites found.",
"noFavorites": "No favorite paths yet. Add one!",
"notifications": {
"fetchError": "Failed to load favorite paths.",
"addSuccess": "Favorite path added successfully.",
"addError": "Failed to add favorite path.",
"updateSuccess": "Favorite path updated successfully.",
"updateError": "Failed to update favorite path.",
"deleteSuccess": "Favorite path deleted successfully.",
"deleteError": "Failed to delete favorite path."
}
},
"pathHistory": {
"loading": "読み込み中...",
"empty": "パス履歴がありません",
+31
View File
@@ -1509,6 +1509,37 @@
"logExportError": "导出已挂起会话日志失败: {error}"
}
},
"favoritePaths": {
"addEditForm": {
"validation": {
"pathRequired": "路径不能为空。"
},
"editTitle": "编辑收藏路径",
"addTitle": "添加新收藏路径",
"pathLabel": "路径",
"pathPlaceholder": "/example/folder/path",
"nameLabel": "名称 (可选)",
"namePlaceholder": "我的文档",
"errors": {
"genericSaveError": "保存收藏路径失败。"
}
},
"confirmDelete": "您确定要删除 \"{name}\" 吗?",
"searchPlaceholder": "按名称或路径搜索...",
"addNew": "添加新收藏路径",
"loading": "正在加载收藏...",
"noResults": "未找到匹配的收藏。",
"noFavorites": "还没有收藏路径,快添加一个吧!",
"notifications": {
"fetchError": "加载收藏路径失败。",
"addSuccess": "收藏路径添加成功。",
"addError": "添加收藏路径失败。",
"updateSuccess": "收藏路径更新成功。",
"updateError": "更新收藏路径失败。",
"deleteSuccess": "收藏路径删除成功。",
"deleteError": "删除收藏路径失败。"
}
},
"pathHistory": {
"loading": "加载中...",
"empty": "没有路径历史记录",