mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-05 11:17:58 -05:00
Translate the web dialogs and pages through the .po catalogs (#16363)
This commit is contained in:
1 parent
bd125d32da
commit
cab7a7d75f
86 files changed
+12351
-3825
No files matched your search
@@ -64,6 +64,20 @@ void ExportPresetBundleDialog::Init()
|
||||
wxSize(820, 660), wxSize(640, 640));
|
||||
}
|
||||
|
||||
nlohmann::json ExportPresetBundleDialog::localized_strings() const
|
||||
{
|
||||
return {
|
||||
{"printer", _u8L("Printer")},
|
||||
{"filament", _u8L("Filament")},
|
||||
{"process", _u8L("Process")},
|
||||
{"all", _u8L("All")},
|
||||
{"no_items", _u8L("No items")},
|
||||
{"export_cloud", _u8L("Export to OrcaCloud")},
|
||||
{"export_folder", _u8L("Export to folder")},
|
||||
{"close", _u8L("Close")},
|
||||
};
|
||||
}
|
||||
|
||||
void ExportPresetBundleDialog::on_script_message(const nlohmann::json& j)
|
||||
{
|
||||
if (handle_common_script_command(j))
|
||||
|
||||
Reference in new issue
Block a user