feat(ui): 条目管理增强 — 重命名/删除/重排序

每行右侧增加 ⋯ 按钮,弹出菜单支持重命名、删除、上移、下移。
- renameEntry / deleteEntry / moveEntry 三个 appState 方法
- rowActionMenu 弹出菜单 + renameDialog + confirmDeleteDialog
- 删除自动注销快捷键,所有操作触发配置保存
- 保留顶栏 Add/Remove 全局按钮不变
This commit is contained in:
2026-06-12 09:19:07 +08:00
parent c0dd3b9028
commit 352b1d24b8
7 changed files with 461 additions and 1 deletions
+38
View File
@@ -465,3 +465,41 @@ other = "Beim Schließen in den Tray minimieren"
[hint_minimize_to_tray]
other = "Schließen des Fensters versteckt es im System-Tray statt das Programm zu beenden."
# --- Eintragsaktionen (umbenennen / löschen / verschieben) ---
[btn_more]
other = "⋯"
[btn_delete]
other = "Löschen"
[dialog_row_actions_title]
other = "Eintragsaktionen"
[action_rename]
other = "Umbenennen..."
[action_delete]
other = "Löschen..."
[action_move_up]
other = "Nach oben"
[action_move_down]
other = "Nach unten"
[dialog_rename_title]
other = "Eintrag umbenennen"
[label_entry_name]
other = "Neuer Name"
[msg_empty_name]
other = "Name darf nicht leer sein."
[dialog_confirm_delete_title]
other = "Löschen bestätigen"
[msg_confirm_delete]
other = "Eintrag \"%s\" wirklich löschen? Dies kann nicht rückgängig gemacht werden."