mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-01 22:53:50 +01:00
Translate the items in the popup menu of the scrubbing ruler
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user