Add folder-level revert action in Git changes tree (#1390)

* feat: add folder-level revert for git changes

* Fix bot comments. Fix confirmation dialog for mobile view.

* fix

---------

Co-authored-by: Konstantin Zolin <zolin_ka@vk.com>
Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
This commit is contained in:
kostazol
2026-06-08 15:55:56 +03:00
committed by GitHub
co-authored by Konstantin Zolin Bohdan Triapitsyn
parent 7b1b3167a4
commit 9b52222ef1
11 changed files with 158 additions and 14 deletions
@@ -553,6 +553,12 @@ export const dict: Record<I18nKey, string> = {
"gitView.changes.revertAllDescriptionPlural": "As alterações locais de todos os arquivos da lista serão descartadas.",
"gitView.changes.revertAllDescriptionSingle": "As alterações locais do arquivo selecionado serão descartadas.",
"gitView.changes.revertAllDialogTitle": "Reverter todas as alterações?",
"gitView.changes.revertDirectoryAria": "Reverter alterações em {path}",
"gitView.changes.revertDirectory": "Reverter pasta",
"gitView.changes.revertDirectoryDescriptionPlural": "As alterações locais em {count} arquivos dentro de {path} serão descartadas.",
"gitView.changes.revertDirectoryDescriptionSingle": "As alterações locais em {count} arquivo dentro de {path} serão descartadas.",
"gitView.changes.revertDirectoryDialogTitle": "Reverter alterações da pasta?",
"gitView.changes.revertDirectoryTooltip": "Reverter alterações da pasta",
"gitView.changes.revertFileAria": "Revertir arquivo",
"gitView.changes.revertFileTooltip": "Revertir alterações",
"gitView.changes.reverting": "Revertiendo...",