mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-11 19:17:33 +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:
@@ -8288,24 +8288,24 @@ msgid "Replaced with 3D files from directory:\n"
|
||||
msgstr "다음 디렉터리의 3D 파일로 교체했습니다:\n"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "✖ Skipped %1%: same file.\n"
|
||||
msgstr "✖ 건너뜀 %1%: 동일한 파일입니다.\n"
|
||||
#, c-format
|
||||
msgid "✖ Skipped %s: same file.\n"
|
||||
msgstr "✖ 건너뜀 %s: 동일한 파일입니다.\n"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "✖ Skipped %1%: file does not exist.\n"
|
||||
msgstr "✖ 건너뜀 %1%: 파일이 존재하지 않습니다.\n"
|
||||
#, c-format
|
||||
msgid "✖ Skipped %s: file does not exist.\n"
|
||||
msgstr "✖ 건너뜀 %s: 파일이 존재하지 않습니다.\n"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "✖ Skipped %1%: failed to replace.\n"
|
||||
msgstr "✖ 건너뜀 %1%: 교체하지 못했습니다.\n"
|
||||
#, c-format
|
||||
msgid "✖ Skipped %s: failed to replace.\n"
|
||||
msgstr "✖ 건너뜀 %s: 교체하지 못했습니다.\n"
|
||||
|
||||
# AI Translated
|
||||
#, boost-format
|
||||
msgid "✔ Replaced %1%.\n"
|
||||
msgstr "✔ %1%을(를) 교체했습니다.\n"
|
||||
#, c-format
|
||||
msgid "✔ Replaced %s.\n"
|
||||
msgstr "✔ %s을(를) 교체했습니다.\n"
|
||||
|
||||
# AI Translated
|
||||
msgid "Replaced volumes"
|
||||
|
||||
Reference in New Issue
Block a user