1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 07:59:27 +02:00

The message is not in fact a format

This commit is contained in:
Paul Licameli 2018-01-03 16:55:46 -05:00
parent 50d6e75185
commit 0df94faad8

View File

@ -1835,16 +1835,16 @@ bool PluginManager::DropFile(const wxString &fileName)
// Ask whether to enable the plug-ins
if (auto nIds = ids.size()) {
auto format = wxPLURAL(
auto message = wxPLURAL(
_("Enable this plug-in?"),
_("Enable these plug-ins?"),
nIds
);
format += wxT("\n");
message += wxT("\n");
for (const auto &name : names)
format += name + wxT("\n");
message += name + wxT("\n");
bool enable = (wxYES == ::AudacityMessageBox(
wxString::Format( format, nIds ),
message,
_("Enable new plug-ins"),
wxYES_NO
) );