Changes to Spectrogram color scheme user-visible strings because of string freeze
This commit is contained in:
parent
e9f0590c28
commit
060885c4f6
|
@ -111,17 +111,6 @@ XO("Unknown error"),
|
||||||
XO("Failed to send crash report"),
|
XO("Failed to send crash report"),
|
||||||
|
|
||||||
|
|
||||||
// i18n-hint Scheme refers to a color scheme for spectrogram colors
|
|
||||||
XC("Sche&me", "spectrum prefs"),
|
|
||||||
// i18n-hint Choice of spectrogram colors
|
|
||||||
XC("Color (default)", "spectrum prefs"),
|
|
||||||
// i18n-hint Choice of spectrogram colors
|
|
||||||
XC("Color (classic)", "spectrum prefs"),
|
|
||||||
// i18n-hint Choice of spectrogram colors
|
|
||||||
XC("Grayscale", "spectrum prefs"),
|
|
||||||
// i18n-hint Choice of spectrogram colors
|
|
||||||
XC("Inverse grayscale", "spectrum prefs"),
|
|
||||||
|
|
||||||
// Update version dialog
|
// Update version dialog
|
||||||
XC("Update Audacity", "update dialog"),
|
XC("Update Audacity", "update dialog"),
|
||||||
XC("&Skip", "update dialog"),
|
XC("&Skip", "update dialog"),
|
||||||
|
|
|
@ -364,7 +364,7 @@ void SetTrackVisualsCommand::PopulateOrExchange(ShuttleGui & S)
|
||||||
{
|
{
|
||||||
S.SetStretchyCol( 2 );
|
S.SetStretchyCol( 2 );
|
||||||
auto schemes = SpectrogramSettings::GetColorSchemeNames();
|
auto schemes = SpectrogramSettings::GetColorSchemeNames();
|
||||||
S.Optional( bHasSpecColorScheme).TieChoice( XXO("Spectro. Color scheme:"), mSpecColorScheme,
|
S.Optional( bHasSpecColorScheme).TieChoice( XC("Sche&me", "spectrum prefs"), mSpecColorScheme,
|
||||||
Msgids( schemes.data(), schemes.size() ) );
|
Msgids( schemes.data(), schemes.size() ) );
|
||||||
}
|
}
|
||||||
S.EndMultiColumn();
|
S.EndMultiColumn();
|
||||||
|
|
|
@ -161,13 +161,13 @@ const EnumValueSymbols &SpectrogramSettings::GetColorSchemeNames()
|
||||||
static const EnumValueSymbols result{
|
static const EnumValueSymbols result{
|
||||||
// Keep in correspondence with enum SpectrogramSettings::ColorScheme:
|
// Keep in correspondence with enum SpectrogramSettings::ColorScheme:
|
||||||
/* i18n-hint: New color scheme for spectrograms */
|
/* i18n-hint: New color scheme for spectrograms */
|
||||||
{ wxT("SpecColorNew"), XO("Color (New)") },
|
{ wxT("SpecColorNew"), XC("Color (default)", "spectrum prefs") },
|
||||||
/* i18n-hint: color scheme from theme for spectrograms */
|
/* i18n-hint: Classic color scheme(from theme) for spectrograms */
|
||||||
{ wxT("SpecColorTheme"), XO("Color (from Theme)") },
|
{ wxT("SpecColorTheme"), XC("Color (classic)", "spectrum prefs") },
|
||||||
/* i18n-hint: grayscale color scheme for spectrograms */
|
/* i18n-hint: Grayscale color scheme for spectrograms */
|
||||||
{ wxT("SpecGrayscale"), XO("Grayscale") },
|
{ wxT("SpecGrayscale"), XC("Grayscale", "spectrum prefs") },
|
||||||
/* i18n-hint: inverse grayscale color scheme for spectrograms */
|
/* i18n-hint: Inverse grayscale color scheme for spectrograms */
|
||||||
{ wxT("SpecInvGrayscale"), XO("Inv. Grayscale") },
|
{ wxT("SpecInvGrayscale"), XC("Inverse grayscale", "spectrum prefs") },
|
||||||
};
|
};
|
||||||
|
|
||||||
wxASSERT(csNumColorScheme == result.size());
|
wxASSERT(csNumColorScheme == result.size());
|
||||||
|
|
|
@ -224,7 +224,8 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||||
mTempSettings.frequencyGain,
|
mTempSettings.frequencyGain,
|
||||||
8);
|
8);
|
||||||
|
|
||||||
S.Id(ID_COLOR_SCHEME).TieChoice(XXO("Color Sche&me:"),
|
// i18n-hint Scheme refers to a color scheme for spectrogram colors
|
||||||
|
S.Id(ID_COLOR_SCHEME).TieChoice(XC("Sche&me", "spectrum prefs"),
|
||||||
(int&)mTempSettings.colorScheme,
|
(int&)mTempSettings.colorScheme,
|
||||||
Msgids( SpectrogramSettings::GetColorSchemeNames() ) );
|
Msgids( SpectrogramSettings::GetColorSchemeNames() ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user