mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-12 02:11:39 +00:00
Translate the web dialogs and pages through the .po catalogs (#16363)
This commit is contained in:
@@ -54,6 +54,20 @@ PluginsConfigDialog::PluginsConfigDialog(wxWindow* parent, Preset::Type type, co
|
||||
|
||||
PluginsConfigDialog::~PluginsConfigDialog() { m_alive->store(false, std::memory_order_release); }
|
||||
|
||||
nlohmann::json PluginsConfigDialog::localized_strings() const
|
||||
{
|
||||
return {
|
||||
{"no_capabilities", _u8L("This preset does not use any plugin capabilities")},
|
||||
{"capabilities_label", _u8L("Capabilities used by this preset")},
|
||||
{"config_json_label", _u8L("Capability configuration (JSON)")},
|
||||
{"config_frame_title", _u8L("Plugin configuration")},
|
||||
{"restore_title", _u8L("Discard this preset's override and use the global configuration again")},
|
||||
{"restore_defaults", _u8L("Restore defaults")},
|
||||
{"save", _u8L("Save")},
|
||||
{"invalid_json", _u8L("Invalid JSON")},
|
||||
};
|
||||
}
|
||||
|
||||
const Preset* PluginsConfigDialog::current_preset() const
|
||||
{
|
||||
const PresetBundle* bundle = wxGetApp().preset_bundle;
|
||||
|
||||
Reference in New Issue
Block a user