1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

Uses of TranslatableString in src/import

This commit is contained in:
Paul Licameli
2019-12-13 10:49:57 -05:00
parent f137bc197a
commit d32d464471
16 changed files with 175 additions and 85 deletions

View File

@@ -346,7 +346,7 @@ void ApplyMacroDialog::OnApplyToFiles(wxCommandEvent & WXUNUSED(event))
for (const auto &format : l) {
const Format *f = &format;
wxString newfilter = f->formatName + wxT("|");
wxString newfilter = f->formatName.Translation() + wxT("|");
for (size_t i = 0; i < f->formatExtensions.size(); i++) {
if (!newfilter.Contains(wxT("*.") + f->formatExtensions[i] + wxT(";")))
newfilter += wxT("*.") + f->formatExtensions[i] + wxT(";");