1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

Translate the items in the popup menu of the scrubbing ruler

This commit is contained in:
Paul Licameli 2017-09-06 21:55:23 -04:00
parent 5f298accbd
commit e2129feac9

View File

@ -1028,7 +1028,7 @@ void Scrubber::PopulatePopupMenu(wxMenu &menu)
for (const auto &item : menuItems) {
if (cm->GetEnabled(item.name)) {
auto test = item.StatusTest;
menu.Append(id, item.label, wxString{},
menu.Append(id, wxGetTranslation(item.label), wxString{},
test ? wxITEM_CHECK : wxITEM_NORMAL);
if(test && (this->*test)())
menu.FindItem(id)->Check();