Skip to content

Commit

Permalink
Change "Respell pitches" to "Recalculate pitches" and add the "Change…
Browse files Browse the repository at this point in the history
… enharmonic spelling" commands to the Tools menu

Backport of musescore#26130
  • Loading branch information
Jojo-Schmitz committed Jan 19, 2025
1 parent e75cf74 commit aa1ad32
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions mscore/musescore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1787,6 +1787,9 @@ MuseScore::MuseScore()
menuTools->addAction(getAction("slash-rhythm"));
menuTools->addSeparator();

menuTools->addAction(getAction("enh-both"));
menuTools->addAction(getAction("enh-current"));
menuTools->addAction(getAction("pitch-spell"));
menuTools->addAction(getAction("pitch-spell"));
menuTools->addAction(getAction("reset-groupings"));
menuTools->addAction(getAction("resequence-rehearsal-marks"));
Expand Down
8 changes: 4 additions & 4 deletions mscore/shortcut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ Shortcut Shortcut::_sc[] = {
MsWidget::MAIN_WINDOW,
STATE_NORMAL | STATE_NOTE_ENTRY,
"pitch-spell",
QT_TRANSLATE_NOOP("action","Respell Pitches"),
QT_TRANSLATE_NOOP("action","Respell pitches"),
QT_TRANSLATE_NOOP("action","Recalculate Pitches"),
QT_TRANSLATE_NOOP("action","Recalculate pitches"),
0,
Icons::Invalid_ICON,
Qt::WindowShortcut
Expand Down Expand Up @@ -2964,15 +2964,15 @@ Shortcut Shortcut::_sc[] = {
MsWidget::MAIN_WINDOW,
STATE_NORMAL | STATE_NOTE_ENTRY_STAFF_PITCHED | STATE_NOTE_ENTRY_STAFF_DRUM,
"enh-both",
QT_TRANSLATE_NOOP("action","Change Enharmonic Spelling (Both Modes)"),
QT_TRANSLATE_NOOP("action","Change Enharmonic Spelling (&Both Modes)"),
QT_TRANSLATE_NOOP("action","Change enharmonic spelling (both modes)"),
QT_TRANSLATE_NOOP("action","Change enharmonic note (alters the spelling in concert pitch and transposed mode)")
},
{
MsWidget::MAIN_WINDOW,
STATE_NORMAL | STATE_NOTE_ENTRY_STAFF_PITCHED | STATE_NOTE_ENTRY_STAFF_DRUM,
"enh-current",
QT_TRANSLATE_NOOP("action","Change Enharmonic Spelling (Current Mode)"),
QT_TRANSLATE_NOOP("action","Change Enharmonic Spelling (&Current Mode)"),
QT_TRANSLATE_NOOP("action","Change enharmonic spelling (current mode)"),
QT_TRANSLATE_NOOP("action","Change enharmonic note (alters the spelling in the current mode only)")
},
Expand Down

0 comments on commit aa1ad32

Please sign in to comment.