1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-22 22:25:47 +01:00

Define and use non-mutating TranslatableString::Stripped

This commit is contained in:
Paul Licameli
2019-12-19 10:23:18 -05:00
parent cd0e1e680a
commit 5e26ef1eba
8 changed files with 14 additions and 11 deletions

View File

@@ -2109,7 +2109,7 @@ void ShuttleGuiBase::UpdateSizersCore(bool bPrepend, int Flags, bool prompt)
mpWind->SetToolTip( mItem.mToolTip.Translation() );
if ( !mItem.mName.empty() )
mpWind->SetName( mItem.mName.Strip().Translation() );
mpWind->SetName( mItem.mName.Stripped().Translation() );
if ( !mItem.mNameSuffix.empty() )
mpWind->SetName(