mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-15 04:57:34 +00:00
Fix Windows crash after using "Replace all with 3D files" (#15102)
Fix Windows crash in Replace all with 3D file Keep the replacement result message as wxString and substitute the volume name directly. On Windows, wxString::ToStdString() cannot encode the Unicode status icon through the active ANSI code page and returns an empty string. Passing that empty string to boost::format with a volume-name argument throws boost::too_many_args and exits OrcaSlicer.
This commit is contained in:
@@ -8244,21 +8244,21 @@ msgstr "A cseréhez nem lett mappa kiválasztva"
|
||||
msgid "Replaced with 3D files from directory:\n"
|
||||
msgstr "Cserélve a mappából származó 3D fájlokra:\n"
|
||||
|
||||
#, boost-format
|
||||
msgid "✖ Skipped %1%: same file.\n"
|
||||
msgstr "✖ Kihagyva %1%: azonos fájl.\n"
|
||||
#, c-format
|
||||
msgid "✖ Skipped %s: same file.\n"
|
||||
msgstr "✖ %s kihagyva: azonos fájl.\n"
|
||||
|
||||
#, boost-format
|
||||
msgid "✖ Skipped %1%: file does not exist.\n"
|
||||
msgstr "✖ Kihagyva %1%: a fájl nem létezik.\n"
|
||||
#, c-format
|
||||
msgid "✖ Skipped %s: file does not exist.\n"
|
||||
msgstr "✖ %s kihagyva: a fájl nem létezik.\n"
|
||||
|
||||
#, boost-format
|
||||
msgid "✖ Skipped %1%: failed to replace.\n"
|
||||
msgstr "✖ Kihagyva %1%: a csere sikertelen.\n"
|
||||
#, c-format
|
||||
msgid "✖ Skipped %s: failed to replace.\n"
|
||||
msgstr "✖ %s kihagyva: a csere sikertelen.\n"
|
||||
|
||||
#, boost-format
|
||||
msgid "✔ Replaced %1%.\n"
|
||||
msgstr "✔ Lecserélve: %1%.\n"
|
||||
#, c-format
|
||||
msgid "✔ Replaced %s.\n"
|
||||
msgstr "✔%s lecserélve.\n"
|
||||
|
||||
msgid "Replaced volumes"
|
||||
msgstr "Lecserélt térfogatok"
|
||||
|
||||
Reference in New Issue
Block a user