From d2a991751a203fe4aee648a8995cfd09856bb6c8 Mon Sep 17 00:00:00 2001 From: xiaoyeliu <166936931+womendoushihaoyin@users.noreply.github.com> Date: Sat, 20 Dec 2025 10:35:56 +0800 Subject: [PATCH] Fix: MultiLanguage (#76) --- localization/i18n/Snapmaker_Orca.pot | 37 ++++++++++++++++++ localization/i18n/lt/Snapmaker_Orca_It.po | 2 +- localization/i18n/vi/Snapmaker_Orca_vi.po | 2 +- .../i18n/zh_CN/Snapmaker_Orca_zh_CN.po | 38 ++++++++++++++++++- src/slic3r/Utils/PresetUpdater.cpp | 2 +- 5 files changed, 77 insertions(+), 4 deletions(-) diff --git a/localization/i18n/Snapmaker_Orca.pot b/localization/i18n/Snapmaker_Orca.pot index 4b18040035..8a4e5c4959 100644 --- a/localization/i18n/Snapmaker_Orca.pot +++ b/localization/i18n/Snapmaker_Orca.pot @@ -2103,6 +2103,43 @@ msgstr "" msgid "Merge with" msgstr "" +msgid "Import Profile" +msgstr "" + +msgid "Import Web Resource" +msgstr "" + +msgid "The following profiles could not be imported due to outdated versions." +msgstr "" + +msgid "This web resouce could not be imported due to outdated versions." +msgstr "" + +msgid "Import Failed" +msgstr "" + +msgid "Please choose a system profile package file:" +msgstr "" + +msgid "Please choose a web resource package file:" +msgstr "" + +msgid "Updating the web resources requires application restart." +msgstr "" + +msgid "Updating the system resources requires application restart." +msgstr "" + +msgid "Print Preprocessing" +msgstr "" + +msgid "Pretreat the uploaded content" +msgstr "" + +msgid "Wait for the temperature when changing tools" +msgstr "" + + msgid "Select All" msgstr "" diff --git a/localization/i18n/lt/Snapmaker_Orca_It.po b/localization/i18n/lt/Snapmaker_Orca_It.po index 79c9590c03..be9c48225a 100644 --- a/localization/i18n/lt/Snapmaker_Orca_It.po +++ b/localization/i18n/lt/Snapmaker_Orca_It.po @@ -7614,7 +7614,7 @@ msgid "Asia-Pacific" msgstr "Azija-Ramusis vandenynas" msgid "Chinese Mainland" -msgstr "Kinija" +msgstr "Kinijos žemynas" msgid "Europe" msgstr "Europa" diff --git a/localization/i18n/vi/Snapmaker_Orca_vi.po b/localization/i18n/vi/Snapmaker_Orca_vi.po index ffbaee9d28..12682b75f9 100644 --- a/localization/i18n/vi/Snapmaker_Orca_vi.po +++ b/localization/i18n/vi/Snapmaker_Orca_vi.po @@ -7494,7 +7494,7 @@ msgid "Asia-Pacific" msgstr "Châu Á-Thái Bình Dương" msgid "Chinese Mainland" -msgstr "Trung Quốc" +msgstr "Đại Lục Trung Quốc" msgid "Europe" msgstr "Châu Âu" diff --git a/localization/i18n/zh_CN/Snapmaker_Orca_zh_CN.po b/localization/i18n/zh_CN/Snapmaker_Orca_zh_CN.po index 2c0e5d7969..553cc79ea9 100644 --- a/localization/i18n/zh_CN/Snapmaker_Orca_zh_CN.po +++ b/localization/i18n/zh_CN/Snapmaker_Orca_zh_CN.po @@ -2128,7 +2128,43 @@ msgid "Delete this filament" msgstr "" msgid "Merge with" -msgstr "" +msgstr "合并到" + +msgid "Import Profile" +msgstr "导入预设包" + +msgid "Import Web Resource" +msgstr "导入web资源包" + +msgid "The following profiles could not be imported due to outdated versions." +msgstr "以下预设由于版本较低,未被导入" + +msgid "This web resouce could not be imported due to outdated versions." +msgstr "该web资源包由于版本较低,未被导入" + +msgid "Import Failed" +msgstr "导入失败" + +msgid "Please choose a system profile package file:" +msgstr "请选择系统预设包:" + +msgid "Please choose a web resource package file:" +msgstr "请选择web资源包:" + +msgid "Updating the web resources requires application restart." +msgstr "当前需要重启以使web资源包生效" + +msgid "Updating the system resources requires application restart." +msgstr "当前需要重启以使预设生效" + +msgid "Print Preprocessing" +msgstr "打印预处理" + +msgid "Pretreat the uploaded content" +msgstr "上传预处理" + +msgid "Wait for the temperature when changing tools" +msgstr "换头时等待温度达标" msgid "Select All" msgstr "全选" diff --git a/src/slic3r/Utils/PresetUpdater.cpp b/src/slic3r/Utils/PresetUpdater.cpp index b1321a2689..0ec8c0bdc0 100644 --- a/src/slic3r/Utils/PresetUpdater.cpp +++ b/src/slic3r/Utils/PresetUpdater.cpp @@ -1745,7 +1745,7 @@ void PresetUpdater::import_flutter_web() wxString message; if (!outdated_presets.empty()) { - message = _L("The following profiles could not be imported due to outdated versions.") + "\n"; + message = _L("This web resouce could not be imported due to outdated versions.") + "\n"; for (const auto& preset : outdated_presets) { message += "• " + preset + "\n"; }