mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
ecode: allow deleting untracked files from Git status
- Add a Delete action for untracked files and the Untracked section, with confirmation before permanently removing the selected paths. - Decode Git-quoted status paths using new byte-oriented std::string String::escape() and String::unescape() overloads, preventing quoted or octal-escaped filenames from breaking deletion. - Add translations and regression tests for string escaping and quoted untracked paths.
This commit is contained in:
@@ -366,6 +366,9 @@ ecode versucht, externes Terminal zu öffnen.</string>
|
||||
<string name="git_confirm_branch_delete">Sind Sie sicher, dass Sie Zweig "%s" löschen möchten?</string>
|
||||
<string name="git_confirm_branch_merge">Sind Sie sicher, dass Sie aus Zweig "%s" vereinigen möchten?</string>
|
||||
<string name="git_confirm_discard_changes">Sind Sie sicher, dass Sie alle Änderungen verwerfen möchten in: "%s"?</string>
|
||||
<string name="git_confirm_delete_untracked_item">Möchten Sie das folgende nicht versionierte Element wirklich dauerhaft löschen:
|
||||
%s?</string>
|
||||
<string name="git_confirm_delete_untracked_items">Möchten Sie wirklich %d nicht versionierte Elemente dauerhaft löschen?</string>
|
||||
<string name="git_confirm_drop_stash">Sind Sie sicher, dass Sie den ausgewählten Stash fallen lassen möchten?</string>
|
||||
<string name="git_confirm_push_changes">Sind Sie sicher, dass Sie lokale Änderungen gen Remoteserver pushen wollen?</string>
|
||||
<string name="git_create_branch">Zweig erstellen</string>
|
||||
@@ -373,6 +376,7 @@ ecode versucht, externes Terminal zu öffnen.</string>
|
||||
Zweignamen eingeben:</string>
|
||||
<string name="git_create_local_branch">Lokalen Zweig erstellen?</string>
|
||||
<string name="git_delete_branch">Löschen</string>
|
||||
<string name="git_delete_untracked_failed">Die folgenden nicht versionierten Elemente konnten nicht gelöscht werden:</string>
|
||||
<string name="git_diff_head">HEAD-Diff</string>
|
||||
<string name="git_diff_changed">Änderungs-Diff</string>
|
||||
<string name="git_diff_staged">Stage-Diff</string>
|
||||
|
||||
@@ -350,6 +350,9 @@ ecode will try to open an external terminal.</string>
|
||||
<string name="git_confirm_branch_delete">Are you sure you want to delete the branch "%s"?</string>
|
||||
<string name="git_confirm_branch_merge">Are you sure you want to merge from branch "%s"?</string>
|
||||
<string name="git_confirm_discard_changes">Are you sure you want to discard the changes in file: "%s"?</string>
|
||||
<string name="git_confirm_delete_untracked_item">Are you sure you want to permanently delete the untracked item:
|
||||
%s?</string>
|
||||
<string name="git_confirm_delete_untracked_items">Are you sure you want to permanently delete %d untracked items?</string>
|
||||
<string name="git_confirm_drop_stash">Do you want to drop the selected stash?</string>
|
||||
<string name="git_confirm_push_changes">Are you sure you want to push the local changes to the remote server?</string>
|
||||
<string name="git_create_branch">Create Branch</string>
|
||||
@@ -357,6 +360,7 @@ ecode will try to open an external terminal.</string>
|
||||
Enter the name for the branch:</string>
|
||||
<string name="git_create_local_branch">Create local branch?</string>
|
||||
<string name="git_delete_branch">Delete</string>
|
||||
<string name="git_delete_untracked_failed">Could not delete the following untracked items:</string>
|
||||
<string name="git_diff_head">Diff HEAD</string>
|
||||
<string name="git_diff_changed">Diff Changed</string>
|
||||
<string name="git_diff_staged">Diff Staged</string>
|
||||
|
||||
@@ -349,6 +349,9 @@ ecode tentera d'ouvrir un terminal externe.</string>
|
||||
<string name="git_confirm_branch_delete">Êtes-vous sûr de vouloir supprimer la branche "%s" ?</string>
|
||||
<string name="git_confirm_branch_merge">Êtes-vous sûr de vouloir fusionner à partir de la branche "%s" ?</string>
|
||||
<string name="git_confirm_discard_changes">Êtes-vous sûr de vouloir annuler les modifications du fichier: "%s" ?</string>
|
||||
<string name="git_confirm_delete_untracked_item">Êtes-vous sûr de vouloir supprimer définitivement l’élément non suivi :
|
||||
%s ?</string>
|
||||
<string name="git_confirm_delete_untracked_items">Êtes-vous sûr de vouloir supprimer définitivement %d éléments non suivis ?</string>
|
||||
<string name="git_confirm_drop_stash">Voulez-vous supprimer le stash sélectionné ?</string>
|
||||
<string name="git_confirm_push_changes">Êtes-vous sûr de vouloir envoyer les modifications locales vers le serveur distant ?</string>
|
||||
<string name="git_create_branch">Créer une branche</string>
|
||||
@@ -356,6 +359,7 @@ ecode tentera d'ouvrir un terminal externe.</string>
|
||||
Entrez le nom de la branche :</string>
|
||||
<string name="git_create_local_branch">Créer une branche locale ?</string>
|
||||
<string name="git_delete_branch">Supprimer</string>
|
||||
<string name="git_delete_untracked_failed">Impossible de supprimer les éléments non suivis suivants :</string>
|
||||
<string name="git_diff_head">Diff HEAD</string>
|
||||
<string name="git_diff_changed">Diff des modifications</string>
|
||||
<string name="git_diff_staged">Diff Staged</string>
|
||||
|
||||
@@ -271,6 +271,9 @@
|
||||
<string name="git_confirm_branch_delete">Are you sure you want to delete the branch "%s"?</string>
|
||||
<string name="git_confirm_branch_merge">Are you sure you want to merge from branch "%s"?</string>
|
||||
<string name="git_confirm_discard_changes">Are you sure you want to discard the changes in file: "%s"?</string>
|
||||
<string name="git_confirm_delete_untracked_item">确定要永久删除以下未跟踪项吗?
|
||||
%s</string>
|
||||
<string name="git_confirm_delete_untracked_items">确定要永久删除 %d 个未跟踪项吗?</string>
|
||||
<string name="git_confirm_drop_stash">Do you want to drop the selected stash?</string>
|
||||
<string name="git_confirm_push_changes">Are you sure you want to push the local changes to the remote server?</string>
|
||||
<string name="git_create_branch">创建分支</string>
|
||||
@@ -278,6 +281,7 @@
|
||||
Enter the name for the branch:</string>
|
||||
<string name="git_create_local_branch">新建本地分支?</string>
|
||||
<string name="git_delete_branch">删除</string>
|
||||
<string name="git_delete_untracked_failed">无法删除以下未跟踪项:</string>
|
||||
<string name="git_diff_changed">更改差异</string>
|
||||
<string name="git_discard">Discard</string>
|
||||
<string name="git_drop_stash">Drop Stash</string>
|
||||
|
||||
Reference in New Issue
Block a user