mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 00:49:33 +02:00
Modify several tooltips to be more concise, consistent, grammatical, and not platform-dependent.
This commit is contained in:
parent
24af4febea
commit
711f4a8d21
@ -126,8 +126,8 @@ void MeterToolBar::UpdatePrefs()
|
||||
void MeterToolBar::RegenerateTooltips()
|
||||
{
|
||||
#if wxUSE_TOOLTIPS
|
||||
mPlayMeter->SetToolTip( _("Output level meter") );
|
||||
mRecordMeter->SetToolTip( _("Input level meter - click to monitor input") );
|
||||
mPlayMeter->SetToolTip( _("Output Level") );
|
||||
mRecordMeter->SetToolTip( _("Input Level (Click to monitor.)") );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -283,19 +283,19 @@ void MixerToolBar::SetToolTips()
|
||||
{
|
||||
#if wxUSE_TOOLTIPS
|
||||
if (mInputSlider->IsEnabled()) {
|
||||
mInputSlider->SetToolTip(_("Input Volume Slider"));
|
||||
mInputSlider->SetToolTip(_("Input Volume"));
|
||||
}
|
||||
else {
|
||||
mInputSlider->SetToolTip(
|
||||
_("Cannot control input volume; use system mixer."));
|
||||
_("Input Volume (Unavailable; use system mixer.)"));
|
||||
}
|
||||
|
||||
if (mOutputSlider->IsEnabled()) {
|
||||
mOutputSlider->SetToolTip(_("Output Volume Slider"));
|
||||
mOutputSlider->SetToolTip(_("Output Volume"));
|
||||
}
|
||||
else {
|
||||
mOutputSlider->SetToolTip(
|
||||
_("Cannot control output volume; use system mixer."));
|
||||
_("Output Volume (Unavailable; use system mixer.)"));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -238,7 +238,7 @@ void SelectionBar::Populate()
|
||||
mSnapTo->SetName(_("Snap To"));
|
||||
mSnapTo->SetValue(gPrefs->Read(wxT("/SnapTo"), 0L)!=0);
|
||||
#if wxUSE_TOOLTIPS
|
||||
mSnapTo->SetToolTip(wxString::Format(_("Snap clicks/selections to %s"), formatName.c_str()));
|
||||
mSnapTo->SetToolTip(wxString::Format(_("Snap Clicks/Selections to %s"), formatName.c_str()));
|
||||
#endif
|
||||
|
||||
mSnapTo->Connect(wxEVT_SET_FOCUS,
|
||||
@ -367,7 +367,7 @@ void SelectionBar::OnUpdate(wxCommandEvent &evt)
|
||||
wxString formatName(ttc->GetBuiltinName(index));
|
||||
gPrefs->Write(wxT("/SelectionFormat"), formatName);
|
||||
#if wxUSE_TOOLTIPS
|
||||
mSnapTo->SetToolTip(wxString::Format(_("Snap clicks/selections to %s"), formatName.c_str()));
|
||||
mSnapTo->SetToolTip(wxString::Format(_("Snap Clicks/Selections to %s"), formatName.c_str()));
|
||||
#endif
|
||||
delete ttc;
|
||||
|
||||
|
@ -495,7 +495,7 @@ void TimeTextCtrl::Decrement()
|
||||
void TimeTextCtrl::EnableMenu(bool enable)
|
||||
{
|
||||
#if wxUSE_TOOLTIPS
|
||||
wxString tip(_("Use right mouse button or context key to change format"));
|
||||
wxString tip(_("(Use context menu to change format.)"));
|
||||
if (enable)
|
||||
SetToolTip(tip);
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user