mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
The message is not in fact a format
This commit is contained in:
parent
50d6e75185
commit
0df94faad8
@ -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
|
||||||
) );
|
) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user