mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 00:50:52 +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) {
|
for (const auto &item : menuItems) {
|
||||||
if (cm->GetEnabled(item.name)) {
|
if (cm->GetEnabled(item.name)) {
|
||||||
auto test = item.StatusTest;
|
auto test = item.StatusTest;
|
||||||
menu.Append(id, item.label, wxString{},
|
menu.Append(id, wxGetTranslation(item.label), wxString{},
|
||||||
test ? wxITEM_CHECK : wxITEM_NORMAL);
|
test ? wxITEM_CHECK : wxITEM_NORMAL);
|
||||||
if(test && (this->*test)())
|
if(test && (this->*test)())
|
||||||
menu.FindItem(id)->Check();
|
menu.FindItem(id)->Check();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user