1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

TranslatableString for captions of sliders

This commit is contained in:
Paul Licameli
2019-12-23 16:59:53 -05:00
parent 13417b6d5b
commit 6b235bdec5
10 changed files with 64 additions and 40 deletions

View File

@@ -133,7 +133,7 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
{
S.SetStretchyCol(1);
S.TieSlider(_("Le&vel (dB):"),
S.TieSlider(XO("Le&vel (dB):"),
{wxT("/AudioIO/SilenceLevel"),
-50},
0,
@@ -203,13 +203,13 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
S.SetStretchyCol(1);
/* i18n-hint: Desired maximum (peak) volume for sound */
S.TieSlider(_("Target Peak:"),
S.TieSlider(XO("Target Peak:"),
{wxT("/AudioIO/TargetPeak"),
AILA_DEF_TARGET_PEAK},
100,
0);
S.TieSlider(_("Within:"),
S.TieSlider(XO("Within:"),
{wxT("/AudioIO/DeltaPeakVolume"),
AILA_DEF_DELTA_PEAK},
100,