Skip to content

Commit

Permalink
Fix #307442 Accessibility: Speech for tuplets with more than 9 notes
Browse files Browse the repository at this point in the history
Implement screen reader output for custom tuplets.

Backport of musescore#8877, part 1, resp. duplicate of musescore#7870, part 4
  • Loading branch information
shoogle authored and Jojo-Schmitz committed Sep 10, 2021
1 parent d63ce93 commit f9225c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libmscore/chordrest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,8 @@ QString ChordRest::durationUserName() const
tupletType = QObject::tr("Nonuplet");
break;
default:
tupletType = QObject::tr("Custom tuplet");
//: %1 is tuplet ratio numerator (i.e. the number of notes in the tuplet)
tupletType = QObject::tr("%1 note tuplet").arg(tuplet()->ratio().numerator());
}
}
QString dotString = "";
Expand Down

0 comments on commit f9225c8

Please sign in to comment.