mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-12 18:31:18 +00:00
Translate the web dialogs and pages through the .po catalogs (#16363)
This commit is contained in:
@@ -208,6 +208,31 @@ void PresetBundleDialog::create()
|
||||
wxSize(820, 660), wxSize(640, 640));
|
||||
}
|
||||
|
||||
nlohmann::json PresetBundleDialog::localized_strings() const
|
||||
{
|
||||
return {
|
||||
{"refresh", _u8L("Refresh")},
|
||||
{"name", _u8L("Name")},
|
||||
{"type", _u8L("Type")},
|
||||
{"version", _u8L("Version")},
|
||||
{"update", _u8L("Update")},
|
||||
{"export_presets", _u8L("Export Presets")},
|
||||
{"close", _u8L("Close")},
|
||||
{"open_folder", _u8L("Open folder in explorer")},
|
||||
{"delete_bundle", _u8L("Delete bundle")},
|
||||
{"unsubscribe_bundle", _u8L("Unsubscribe bundle")},
|
||||
{"update_available", _u8L("Update available")},
|
||||
{"unauthorized_bundle", _u8L("Unauthorized bundle")},
|
||||
{"open_in_browser", _u8L("Open this bundle in your browser")},
|
||||
{"type_subscribed", _u8L("Subscribed")},
|
||||
{"type_local", _u8L("Local")},
|
||||
{"type_default", _u8L("Default")},
|
||||
{"printer", _u8L("Printer")},
|
||||
{"filament", _u8L("Filament")},
|
||||
{"process", _u8L("Process")},
|
||||
};
|
||||
}
|
||||
|
||||
bool PresetBundleDialog::DeleteBundleById(const wxString& id)
|
||||
{
|
||||
auto* b = wxGetApp().preset_bundle;
|
||||
|
||||
Reference in New Issue
Block a user