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
+25
View File
@@ -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;