Replace all with stl (#11145)

* Add "Replace all from STL" command
this operates on the currently selected plate or on the selection

* Add more translations for "Replace all from STL"

* build fix

* "Replace all with STL" also works with multiple selected plates

* fix build

* replace all from stl: better error handling and a nicer status message box

---------

Co-authored-by: Nils Hasler <hasler@thecaptury.com>
This commit is contained in:
nilshasler
2025-10-29 09:30:23 +01:00
committed by GitHub
parent e3f049829b
commit dedfd9d4ed
6 changed files with 219 additions and 4 deletions

View File

@@ -1949,9 +1949,15 @@ msgstr ""
msgid "Replace with STL"
msgstr ""
msgid "Replace all with STL"
msgstr ""
msgid "Replace the selected part with new STL"
msgstr ""
msgid "Replace all selected parts with STL from folder"
msgstr ""
msgid "Change filament"
msgstr ""
@@ -2271,6 +2277,18 @@ msgid ""
"cut information first."
msgstr ""
msgid "✖ Skipped %1%: %2%, same file\n"
msgstr ""
msgid "✖ Skipped %1%: %2% does not exist.\n"
msgstr ""
msgid "✖ Skipped %1%: failed to replace.\n"
msgstr ""
msgid "✔ Replaced %1% with %2%\n"
msgstr ""
msgid "Delete all connectors"
msgstr ""
@@ -6697,6 +6715,12 @@ msgstr ""
msgid "File for the replace wasn't selected"
msgstr ""
msgid "Select folder to replace from"
msgstr ""
msgid "Directory for the replace wasn't selected"
msgstr ""
msgid "Please select a file"
msgstr ""

View File

@@ -2065,6 +2065,12 @@ msgstr "Durch STL Datei austauschen"
msgid "Replace the selected part with new STL"
msgstr "Ausgewähltes Teil durch eine neue STL ersetzen."
msgid "Replace all with STL"
msgstr "Alle durch STL Dateien austauschen"
msgid "Replace all selected parts with STL from folder"
msgstr "Ausgewählte Teile durch neue STL aus Ordner ersetzen."
msgid "Change filament"
msgstr "Filament wechseln"
@@ -2432,6 +2438,18 @@ msgstr ""
"Um mit massiven Teilen oder negativen Volumen zu arbeiten, \n"
"müssen Sie zuerst die Schnittinformationen ungültig machen."
msgid "✖ Skipped %1%: %2%, same file\n"
msgstr "✖ %1% übersprungen: %2%, gleiche Datei\n"
msgid "✖ Skipped %1%: %2% does not exist.\n"
msgstr "✖ %1% übersprungen: %2% existiert nicht.\n"
msgid "✔ Replaced %1% with %2%\n"
msgstr "✔ %1% durch %2% ersetzt\n"
msgid "✖ Skipped %1%: failed to replace.\n"
msgstr "✖ %1% übersprungen: Ersetzen fehlgeschlagen.\n"
msgid "Delete all connectors"
msgstr "Lösche alle Verbinder"
@@ -7400,6 +7418,12 @@ msgstr "Wählen Sie eine neue Datei aus"
msgid "File for the replace wasn't selected"
msgstr "Datei für das Ersetzen wurde nicht ausgewählt"
msgid "Select folder to replace from"
msgstr "Wählen Sie ein Verzeichnis aus um daraus zu ersetzen"
msgid "Directory for the replace wasn't selected"
msgstr "Verzeichnis um daraus zu ersetzen wurde nicht ausgewählt"
msgid "Please select a file"
msgstr "Bitte wählen Sie eine Datei"