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:
parent
5f298accbd
commit
e2129feac9
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user