mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
FileNames::SelectFile takes TranslatableString for message
This commit is contained in:
@@ -510,11 +510,10 @@ public:
|
||||
|
||||
void OnBrowse(wxCommandEvent & WXUNUSED(event))
|
||||
{
|
||||
wxString question;
|
||||
/* i18n-hint: It's asking for the location of a file, for
|
||||
example, "Where is lame_enc.dll?" - you could translate
|
||||
"Where would I find the file '%s'?" instead if you want. */
|
||||
question.Printf(_("Where is '%s'?"), mName);
|
||||
auto question = XO("Where is '%s'?").Format( mName );
|
||||
|
||||
wxString path = FileNames::SelectFile(FileNames::Operation::_None,
|
||||
question,
|
||||
|
||||
Reference in New Issue
Block a user