diff --git a/jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java b/jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java index ce59ad66550..3f98d9bfcf5 100644 --- a/jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java +++ b/jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java @@ -445,6 +445,15 @@ public void addNewScript() { } public void removeInput(Path file) { + int dialogResult = JOptionPane.showConfirmDialog( + this, + NLS.str("message.confirm_remove_script"), + NLS.str("msg.warning_title"), + JOptionPane.YES_NO_OPTION); + if (dialogResult == JOptionPane.NO_OPTION) { + return; + } + List inputs = project.getFilePaths(); inputs.remove(file); refreshTree(inputs); diff --git a/jadx-gui/src/main/resources/i18n/Messages_de_DE.properties b/jadx-gui/src/main/resources/i18n/Messages_de_DE.properties index 6ddefc4c1e5..acbe1d8c547 100644 --- a/jadx-gui/src/main/resources/i18n/Messages_de_DE.properties +++ b/jadx-gui/src/main/resources/i18n/Messages_de_DE.properties @@ -111,6 +111,7 @@ message.indexIncomplete=Index einiger Klassen übersprungen.
%s
%d message.indexingClassesSkipped=Jadx hat nur noch wenig Speicherplatz. Daher wurden %d Klassen nicht indiziert.
Wenn Sie möchten, dass alle Klassen indiziert werden, Jadx mit erhöhter maximaler Heap-Größe neustarten. #message.enter_new_name=Enter new name #message.could_not_rename=Can't rename the file +#message.confirm_remove_script=Do you really want to remove script? heapUsage.text=JADX-Speicherauslastung: %.2f GB von %.2f GB diff --git a/jadx-gui/src/main/resources/i18n/Messages_en_US.properties b/jadx-gui/src/main/resources/i18n/Messages_en_US.properties index 639613e2d0e..73de988572d 100644 --- a/jadx-gui/src/main/resources/i18n/Messages_en_US.properties +++ b/jadx-gui/src/main/resources/i18n/Messages_en_US.properties @@ -111,6 +111,7 @@ message.indexIncomplete=Index of some classes skipped.
%s
%d class message.indexingClassesSkipped=Jadx is running low on memory. Therefore %d classes were not indexed.
If you want all classes to be indexed restart Jadx with increased maximum heap size. message.enter_new_name=Enter new name message.could_not_rename=Can't rename the file +message.confirm_remove_script=Do you really want to remove script? heapUsage.text=JADX memory usage: %.2f GB of %.2f GB diff --git a/jadx-gui/src/main/resources/i18n/Messages_es_ES.properties b/jadx-gui/src/main/resources/i18n/Messages_es_ES.properties index 09ac0cb2c87..6ea1cd53543 100644 --- a/jadx-gui/src/main/resources/i18n/Messages_es_ES.properties +++ b/jadx-gui/src/main/resources/i18n/Messages_es_ES.properties @@ -111,6 +111,7 @@ nav.forward=Adelante #message.indexingClassesSkipped=Jadx is running low on memory. Therefore %d classes were not indexed.
If you want all classes to be indexed restart Jadx with increased maximum heap size. #message.enter_new_name=Enter new name #message.could_not_rename=Can't rename the file +#message.confirm_remove_script=Do you really want to remove script? #heapUsage.text=JADX memory usage: %.2f GB of %.2f GB diff --git a/jadx-gui/src/main/resources/i18n/Messages_id_ID.properties b/jadx-gui/src/main/resources/i18n/Messages_id_ID.properties index 3829fea60b1..c6b6a9e51e2 100644 --- a/jadx-gui/src/main/resources/i18n/Messages_id_ID.properties +++ b/jadx-gui/src/main/resources/i18n/Messages_id_ID.properties @@ -111,6 +111,7 @@ message.indexIncomplete=Indeks beberapa kelas dilewati.
%s
%d kela message.indexingClassesSkipped=JADX kekurangan memori. Oleh karena itu %d kelas tidak diindeks.
Jika Anda ingin semua kelas diindeks, restart JADX dengan ukuran heap maksimum yang lebih besar. #message.enter_new_name=Enter new name #message.could_not_rename=Can't rename the file +#message.confirm_remove_script=Do you really want to remove script? heapUsage.text=Penggunaan memori JADX: %.2f GB dari %.2f GB diff --git a/jadx-gui/src/main/resources/i18n/Messages_ko_KR.properties b/jadx-gui/src/main/resources/i18n/Messages_ko_KR.properties index c622373b81d..ce43617aff6 100644 --- a/jadx-gui/src/main/resources/i18n/Messages_ko_KR.properties +++ b/jadx-gui/src/main/resources/i18n/Messages_ko_KR.properties @@ -111,6 +111,7 @@ message.indexIncomplete=일부 클래스의 색인을 건너뛰었습니 message.indexingClassesSkipped=Jadx의 메모리가 부족합니다. 따라서 %d 개의 클래스가 인덱싱되지 않았습니다.
모든 클래스를 인덱싱하려면 최대 힙 크기를 늘린 상태로 Jadx를 다시 시작하십시오. #message.enter_new_name=Enter new name #message.could_not_rename=Can't rename the file +#message.confirm_remove_script=Do you really want to remove script? heapUsage.text=JADX 메모리 사용량 : %.2f GB / %.2f GB diff --git a/jadx-gui/src/main/resources/i18n/Messages_pt_BR.properties b/jadx-gui/src/main/resources/i18n/Messages_pt_BR.properties index 894fb91e30d..50191819fe1 100644 --- a/jadx-gui/src/main/resources/i18n/Messages_pt_BR.properties +++ b/jadx-gui/src/main/resources/i18n/Messages_pt_BR.properties @@ -111,6 +111,7 @@ message.indexIncomplete=Indexação de algumas classes foram ignoradas.
Jadx está rodando com pouca memória. Por conta disso, %d classes não foram indexadas.
Se você deseja que todas classes sejam indexadas, reinicie com um limite de memória heap maior. #message.enter_new_name=Enter new name #message.could_not_rename=Can't rename the file +#message.confirm_remove_script=Do you really want to remove script? heapUsage.text=Uso de memória do JADX: %.2f GB of %.2f GB diff --git a/jadx-gui/src/main/resources/i18n/Messages_ru_RU.properties b/jadx-gui/src/main/resources/i18n/Messages_ru_RU.properties index ab57fe79879..b358714b0b2 100644 --- a/jadx-gui/src/main/resources/i18n/Messages_ru_RU.properties +++ b/jadx-gui/src/main/resources/i18n/Messages_ru_RU.properties @@ -111,6 +111,7 @@ message.indexIncomplete=Индексирование некоторых к message.indexingClassesSkipped=JaDX запущен с малым количеством ОЗУ. %d классов не индексировано.
Если вы хотите их индексировать, перезапустите JaDX с большим Heap Size. #message.enter_new_name=Enter new name #message.could_not_rename=Can't rename the file +#message.confirm_remove_script=Do you really want to remove script? heapUsage.text=JADX использует: %.2f ГБ из %.2f ГБ diff --git a/jadx-gui/src/main/resources/i18n/Messages_zh_CN.properties b/jadx-gui/src/main/resources/i18n/Messages_zh_CN.properties index 5d68c47f799..f54b293b67a 100644 --- a/jadx-gui/src/main/resources/i18n/Messages_zh_CN.properties +++ b/jadx-gui/src/main/resources/i18n/Messages_zh_CN.properties @@ -111,6 +111,7 @@ message.indexIncomplete=已跳过某些类索引。
%s
%d 类未 message.indexingClassesSkipped=Jadx 的内存不足。因此,%d 个类没有编入索引。
如果要将所有类编入索引,请增加的最大堆空间后重新启动 Jadx。 #message.enter_new_name=Enter new name #message.could_not_rename=Can't rename the file +#message.confirm_remove_script=Do you really want to remove script? heapUsage.text=JADX 内存使用率:%.2f GB / %.2f GB diff --git a/jadx-gui/src/main/resources/i18n/Messages_zh_TW.properties b/jadx-gui/src/main/resources/i18n/Messages_zh_TW.properties index b119f873238..21b4a18bf37 100644 --- a/jadx-gui/src/main/resources/i18n/Messages_zh_TW.properties +++ b/jadx-gui/src/main/resources/i18n/Messages_zh_TW.properties @@ -111,6 +111,7 @@ message.indexIncomplete=某些類別的索引被略過。
%s
%d message.indexingClassesSkipped=Jadx 的記憶體不足。故 %d 個類別未被索引。
如果您想要索引所有類別,請增加最大堆疊大小並重新啟動。 #message.enter_new_name=Enter new name #message.could_not_rename=Can't rename the file +#message.confirm_remove_script=Do you really want to remove script? heapUsage.text=JADX 記憶體使用率:%.2f GB / %.2f GB