mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 15:49:36 +02:00
Fix two problems with Nyquist translation.
1. The 'Select a File' button (which comes from wxFileSelectorPrompt) was not being translated. 2. rhythmtrack.ny was missing an (_ ) on one string.
This commit is contained in:
parent
af276ac4f9
commit
8ed0edd599
@ -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 swing (_ "Swing amount") float (_ "+/- 1") 0 -1 1
|
||||||
$control text (_ "Set 'Number of bars' to zero to enable the 'Rhythm track duration'.")
|
$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 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 offset (_ "Start time offset") time (_ "Silence before first beat") 0 0 nil
|
||||||
$control click-type (_ "Beat sound") choice (("Metronome" (_ "Metronome Tick"))
|
$control click-type (_ "Beat sound") choice (("Metronome" (_ "Metronome Tick"))
|
||||||
(_ "Ping (short)")
|
(_ "Ping (short)")
|
||||||
|
@ -2705,7 +2705,8 @@ void NyquistEffect::BuildEffectWindow(ShuttleGui & S)
|
|||||||
item->SetName(prompt);
|
item->SetName(prompt);
|
||||||
|
|
||||||
if (ctrl.label == wxEmptyString)
|
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);
|
S.Id(ID_FILE + i).AddButton(ctrl.label, wxALIGN_LEFT);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user