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

Fix format of tooltip text for toolbar buttons in RTL languages...

... No translatable strings were added, two were removed
This commit is contained in:
Paul Licameli
2017-09-11 21:11:42 -04:00
parent 954a974422
commit 731a2ac40c
6 changed files with 37 additions and 25 deletions

View File

@@ -832,7 +832,7 @@ void ToolBar::MakeAlternateImages(AButton &button, int idx,
}
void ToolBar::SetButtonToolTip
(AButton &button, const std::vector<wxString> &commands, const wxString &separator)
(AButton &button, const std::vector<wxString> &commands)
{
wxString result;
const auto project = GetActiveProject();
@@ -840,7 +840,7 @@ void ToolBar::SetButtonToolTip
project ? project->GetCommandManager() : nullptr;
if (commandManager)
result =
commandManager->DescribeCommandsAndShortcuts(commands, separator);
commandManager->DescribeCommandsAndShortcuts(commands);
button.SetToolTip(result);
}