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

Define TranslatableString...

... Perhaps it should be in Internat.h (which is at the lowest level of the
dependency graph), but later ComponentInterface.h will need to include it, and
I don't want includes/ to depend on src/.

Though there is still a linkage dependency on src if
TranslatableString::Translation() is used.
This commit is contained in:
Paul Licameli
2018-01-09 12:00:04 -05:00
parent 8640a83b25
commit 911f5eabcc
2 changed files with 58 additions and 0 deletions

View File

@@ -290,3 +290,8 @@ std::vector< Identifier > Identifier::split( wxChar separator ) const
auto strings = ::wxSplit( value, separator );
return { strings.begin(), strings.end() };
}
const wxString &TranslatableString::Translation() const
{
return wxGetTranslation(*this);
}