From e2129feac9b01f9d3116ac228e2c5d599d262c01 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 6 Sep 2017 21:55:23 -0400 Subject: [PATCH] Translate the items in the popup menu of the scrubbing ruler --- src/tracks/ui/Scrubbing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracks/ui/Scrubbing.cpp b/src/tracks/ui/Scrubbing.cpp index c40acf8b4..fd8fea2de 100644 --- a/src/tracks/ui/Scrubbing.cpp +++ b/src/tracks/ui/Scrubbing.cpp @@ -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();