1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-23 06:23:49 +02:00

TranslatableString for more scale and algorithm names

This commit is contained in:
Paul Licameli
2019-12-21 12:21:51 -05:00
parent 65b6d5aad5
commit 0ddeec9c3b
6 changed files with 24 additions and 34 deletions

View File

@@ -110,7 +110,9 @@ void WaveformPrefs::PopulateOrExchange(ShuttleGui & S)
mScaleChoice =
S.Id(ID_SCALE).TieChoice(_("S&cale:"),
mTempSettings.scaleType,
WaveformSettings::GetScaleNames());
transform_container<wxArrayStringEx>(
WaveformSettings::GetScaleNames(),
std::mem_fn( &TranslatableString::Translation ) ) );
mRangeChoice =
S.Id(ID_RANGE).TieChoice(_("Waveform dB &range:"),