Translate the web dialogs and pages through the .po catalogs (#16363)

This commit is contained in:
SoftFever
2026-10-11 21:52:41 +08:00
committed by GitHub
parent bd125d32da
commit cab7a7d75f
86 changed files with 12351 additions and 3825 deletions
+14
View File
@@ -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;