1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 20:22:13 +01:00

MultiDialog uses ShuttleGui, and TranslatableString for title

This commit is contained in:
Paul Licameli
2017-10-27 11:44:43 -04:00
parent 75b3ad7c61
commit 093ffbd2f1
4 changed files with 63 additions and 65 deletions

View File

@@ -271,9 +271,8 @@ void ModuleManager::Initialize(CommandHandler &cmdHandler)
// and let the user decide for each one.
{
wxString ShortName = wxFileName( files[i] ).GetName();
wxString msg;
msg.Printf(_("Module \"%s\" found."), ShortName);
msg += _("\n\nOnly use modules from trusted sources");
auto msg = XO("Module \"%s\" found.").Format( ShortName );
msg += XO("\n\nOnly use modules from trusted sources");
const TranslatableStrings buttons{
XO("Yes"), XO("No"),
}; // could add a button here for 'yes and remember that', and put it into the cfg file. Needs more thought.