1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +01:00

Shorter preferences

This commit is contained in:
windinthew
2017-06-04 06:49:39 +01:00
committed by James Crook
parent acce480a76
commit 2323e8d222
11 changed files with 45 additions and 45 deletions

View File

@@ -120,7 +120,7 @@ void MidiIOPrefs::PopulateOrExchange( ShuttleGui & S ) {
{
S.Id(HostID);
/* i18n-hint: (noun) */
mHost = S.TieChoice(_("Host:"),
mHost = S.TieChoice(_("&Host:"),
wxT("/MidiIO/Host"),
wxT(""),
mHostNames,
@@ -138,12 +138,12 @@ void MidiIOPrefs::PopulateOrExchange( ShuttleGui & S ) {
S.StartMultiColumn(2);
{
S.Id(PlayID);
mPlay = S.AddChoice(_("Device:"),
mPlay = S.AddChoice(_("&Device:"),
wxEmptyString,
&empty);
int latency = gPrefs->Read(wxT("/MidiIO/OutputLatency"),
DEFAULT_SYNTH_LATENCY);
mLatency = S.TieNumericTextBox(_("MIDI Synthesizer Latency (ms):"),
mLatency = S.TieNumericTextBox(_("MIDI Synth L&atency (ms):"),
wxT("/MidiIO/SynthLatency"),
latency, 3);
}
@@ -156,13 +156,13 @@ void MidiIOPrefs::PopulateOrExchange( ShuttleGui & S ) {
S.StartMultiColumn(2);
{
S.Id(RecordID);
mRecord = S.AddChoice(_("Device:"),
mRecord = S.AddChoice(_("De&vice:"),
wxEmptyString,
&empty);
S.Id(ChannelsID);
/*
mChannels = S.AddChoice(_("Channels:"),
mChannels = S.AddChoice(_("&Channels:"),
wxEmptyString,
&empty);
*/