1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

CommandFlagOptions::MessageFormatter uses TranslatableString

This commit is contained in:
Paul Licameli
2019-12-16 07:53:30 -05:00
parent 5639f834c8
commit fbebef2911
3 changed files with 26 additions and 28 deletions

View File

@@ -38,7 +38,8 @@ constexpr CommandFlag
struct CommandFlagOptions{
// Supplied the translated name of the command, returns a translated
// error message
using MessageFormatter = std::function< wxString( const wxString& ) >;
using MessageFormatter =
std::function< TranslatableString( const TranslatableString& ) >;
CommandFlagOptions() = default;
CommandFlagOptions(