From 5cc2468cea170fb51cb5f7bd0c9fb8ab784929bc Mon Sep 17 00:00:00 2001 From: Joachim Schmitz Date: Fri, 21 Feb 2025 21:11:16 +0100 Subject: [PATCH] Translate the pad names in the drum input panel Came up in https://musescore.org/en/node/375408 --- .../view/percussionpanel/percussionpanelpadlistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notation/view/percussionpanel/percussionpanelpadlistmodel.cpp b/src/notation/view/percussionpanel/percussionpanelpadlistmodel.cpp index 54689f5b575a3..98e08f09f7588 100644 --- a/src/notation/view/percussionpanel/percussionpanelpadlistmodel.cpp +++ b/src/notation/view/percussionpanel/percussionpanelpadlistmodel.cpp @@ -324,7 +324,7 @@ PercussionPanelPadModel* PercussionPanelPadListModel::createPadModelForPitch(int PercussionPanelPadModel* model = new PercussionPanelPadModel(this); - model->setPadName(m_drumset->name(pitch)); + model->setPadName(m_drumset->translatedName(pitch)); model->setKeyboardShortcut(m_drumset->shortcut(pitch)); model->setPitch(pitch);