mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-18 17:47:41 +02:00
A certain string does not need translation
This commit is contained in:
commit
ae0682182c
@ -2767,6 +2767,7 @@ void AdornedRulerPanel::OnContextMenu(wxContextMenuEvent & WXUNUSED(event))
|
|||||||
|
|
||||||
void AdornedRulerPanel::UpdateButtonStates()
|
void AdornedRulerPanel::UpdateButtonStates()
|
||||||
{
|
{
|
||||||
|
{
|
||||||
bool state = PlaybackPrefs::GetPinnedHeadPreference();
|
bool state = PlaybackPrefs::GetPinnedHeadPreference();
|
||||||
auto pinButton = static_cast<AButton*>(FindWindow(OnTogglePinnedStateID));
|
auto pinButton = static_cast<AButton*>(FindWindow(OnTogglePinnedStateID));
|
||||||
pinButton->PopUp();
|
pinButton->PopUp();
|
||||||
@ -2776,9 +2777,10 @@ void AdornedRulerPanel::UpdateButtonStates()
|
|||||||
// (which is, to toggle the state)
|
// (which is, to toggle the state)
|
||||||
? _("Pinned play/record Head")
|
? _("Pinned play/record Head")
|
||||||
: _("Unpinned play/record Head");
|
: _("Unpinned play/record Head");
|
||||||
const auto &fullLabel = ComposeButtonLabel(*mProject, _("PinnedHead"), label);
|
const auto &fullLabel = ComposeButtonLabel(*mProject, wxT("PinnedHead"), label);
|
||||||
pinButton->SetLabel(fullLabel);
|
pinButton->SetLabel(fullLabel);
|
||||||
pinButton->SetToolTip(fullLabel);
|
pinButton->SetToolTip(fullLabel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AdornedRulerPanel::OnTogglePinnedState(wxCommandEvent & event)
|
void AdornedRulerPanel::OnTogglePinnedState(wxCommandEvent & event)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user