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

Bug 1855 - Accelerators not removed from names in translation

This commit is contained in:
James Crook
2018-04-22 19:23:31 +01:00
parent de1e8d96de
commit ae36eea26c
2 changed files with 9 additions and 3 deletions

View File

@@ -208,7 +208,13 @@ public:
{}
const wxString &Internal() const { return mInternal; }
const wxString &Translated() const { return mTranslated; }
const wxString Translated() const
{
wxString Temp = mTranslated;
Temp.Replace( "&","" );
return Temp;
}
const wxString &TranslatedForMenu() const { return mTranslated; }
private:
wxString mInternal;