diff --git a/plug-ins/rhythmtrack.ny b/plug-ins/rhythmtrack.ny index 2a049b269..072bba011 100644 --- a/plug-ins/rhythmtrack.ny +++ b/plug-ins/rhythmtrack.ny @@ -26,7 +26,7 @@ $control timesig (_ "Beats per bar") int (_ "1 - 20 beats/measure") 4 1 20 $control swing (_ "Swing amount") float (_ "+/- 1") 0 -1 1 $control text (_ "Set 'Number of bars' to zero to enable the 'Rhythm track duration'.") $control bars (_ "Number of bars") int (_ "1 - 1000 bars") 16 0 1000 -$control click-track-dur (_ "Rhythm track duration") time "Used if 'Number of bars' = 0" 0 0 nil +$control click-track-dur (_ "Rhythm track duration") time (_ "Used if 'Number of bars' = 0") 0 0 nil $control offset (_ "Start time offset") time (_ "Silence before first beat") 0 0 nil $control click-type (_ "Beat sound") choice (("Metronome" (_ "Metronome Tick")) (_ "Ping (short)") diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index f638800f4..94069695d 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -2705,7 +2705,8 @@ void NyquistEffect::BuildEffectWindow(ShuttleGui & S) item->SetName(prompt); if (ctrl.label == wxEmptyString) - ctrl.label = wxFileSelectorPromptStr; + // We'd expect wxFileSelectorPromptStr to already be translated, but apparently not. + ctrl.label = wxGetTranslation( wxFileSelectorPromptStr ); S.Id(ID_FILE + i).AddButton(ctrl.label, wxALIGN_LEFT); } else