1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-04 13:27:39 +02:00

TranslatableString for toolbar button labels

This commit is contained in:
Paul Licameli
2019-12-22 14:37:01 -05:00
parent 75996a851c
commit c682718ee4
13 changed files with 54 additions and 46 deletions

View File

@@ -1758,7 +1758,7 @@ void AdornedRulerPanel::UpdateButtonStates()
AButton &button, const CommandID &commandName, const TranslatableString &label) {
ComponentInterfaceSymbol command{ commandName, label };
ToolBar::SetButtonToolTip( *mProject, button, &command, 1u );
button.SetLabel(button.GetToolTipText());
button.SetLabel( Verbatim( button.GetToolTipText() ) );
button.UpdateStatus();
};