mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +01:00
The message is not in fact a format
This commit is contained in:
@@ -1835,16 +1835,16 @@ bool PluginManager::DropFile(const wxString &fileName)
|
|||||||
|
|
||||||
// Ask whether to enable the plug-ins
|
// Ask whether to enable the plug-ins
|
||||||
if (auto nIds = ids.size()) {
|
if (auto nIds = ids.size()) {
|
||||||
auto format = wxPLURAL(
|
auto message = wxPLURAL(
|
||||||
_("Enable this plug-in?"),
|
_("Enable this plug-in?"),
|
||||||
_("Enable these plug-ins?"),
|
_("Enable these plug-ins?"),
|
||||||
nIds
|
nIds
|
||||||
);
|
);
|
||||||
format += wxT("\n");
|
message += wxT("\n");
|
||||||
for (const auto &name : names)
|
for (const auto &name : names)
|
||||||
format += name + wxT("\n");
|
message += name + wxT("\n");
|
||||||
bool enable = (wxYES == ::AudacityMessageBox(
|
bool enable = (wxYES == ::AudacityMessageBox(
|
||||||
wxString::Format( format, nIds ),
|
message,
|
||||||
_("Enable new plug-ins"),
|
_("Enable new plug-ins"),
|
||||||
wxYES_NO
|
wxYES_NO
|
||||||
) );
|
) );
|
||||||
|
|||||||
Reference in New Issue
Block a user