1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

Define ComponentInterface::GetUntranslatedName()

This commit is contained in:
Paul Licameli 2019-12-07 21:38:46 -05:00
parent d32d464471
commit 02cdb4ab45
2 changed files with 8 additions and 0 deletions

View File

@ -137,6 +137,9 @@ public:
// non-virtual convenience function // non-virtual convenience function
const wxString GetTranslatedName(); const wxString GetTranslatedName();
// non-virtual convenience function
const TranslatableString &GetUntranslatedName();
// Parameters, if defined. false means no defined parameters. // Parameters, if defined. false means no defined parameters.
virtual bool DefineParams( ShuttleParams & WXUNUSED(S) ){ return false;}; virtual bool DefineParams( ShuttleParams & WXUNUSED(S) ){ return false;};
}; };

View File

@ -3218,3 +3218,8 @@ const wxString ComponentInterface::GetTranslatedName()
{ {
return GetSymbol().Translation(); return GetSymbol().Translation();
} }
const TranslatableString &ComponentInterface::GetUntranslatedName()
{
return GetSymbol().Msgid();
}