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
+6
View File
@@ -553,6 +553,12 @@ export const dict: Record<I18nKey, string> = {
"gitView.changes.revertAllDescriptionPlural": "Скасувати зміни у вибраних файлах?",
"gitView.changes.revertAllDescriptionSingle": "Скасувати зміни у вибраному файлі?",
"gitView.changes.revertAllDialogTitle": "Скасувати всі зміни?",
"gitView.changes.revertDirectoryAria": "Скасувати зміни в каталозі {path}",
"gitView.changes.revertDirectory": "Скасувати папку",
"gitView.changes.revertDirectoryDescriptionPlural": "Локальні зміни в {count} файлах у {path} буде відкинуто.",
"gitView.changes.revertDirectoryDescriptionSingle": "Локальні зміни в {count} файлі у {path} буде відкинуто.",
"gitView.changes.revertDirectoryDialogTitle": "Скасувати зміни в папці?",
"gitView.changes.revertDirectoryTooltip": "Скасувати зміни в папці",
"gitView.changes.revertFileAria": "Скасувати зміни у файлі",
"gitView.changes.revertFileTooltip": "Скасувати зміни",
"gitView.changes.reverting": "Скасування...",