1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-16 15:57:52 +01:00

ShuttleGui::AddChoice and TieChoice take TranslatableStrings

This commit is contained in:
Paul Licameli
2019-12-17 22:52:42 -05:00
parent 66097c34dc
commit 75996a851c
42 changed files with 174 additions and 179 deletions

View File

@@ -260,12 +260,12 @@ wxString Internat::StripAccelerators(const wxString &s)
return result;
}
wxArrayStringEx LocalizedStrings(
TranslatableStrings Msgids(
const EnumValueSymbol strings[], size_t nStrings)
{
return transform_range<wxArrayStringEx>(
return transform_range<TranslatableStrings>(
strings, strings + nStrings,
std::mem_fn( &EnumValueSymbol::Translation )
std::mem_fn( &EnumValueSymbol::Msgid )
);
}