Skip to content

Commit

Permalink
Fix #319584: Many percussions elements/sounds are not getting transla…
Browse files Browse the repository at this point in the history
…ted in status bar and Edit Drumset dialog

* Fix missing translations for Hi Congas
* Fix missing translation for Hi Bongo
* Fix missing translation for Hi Woodblock
* Fix missing translation for Vibraslap
* Fix wrong translation/name for Sleigh Bell
* Fix missing translations for Snare drums
* Fix missing translations for Bell Tree by changing it to the apparently more correct "Mark Tree", requires updated translations though.
* Fix missing translations for Toms
* Fix missing/wrong translation/name and sound for Slap
* Fix/add wrong translation/missing name and sound for Castanets/Hand Clap
* Fix missing translations for Bass Drums
* Fix missing translations for Ride Cymbal

Backport of musescore#7892, resp. duplicate of musescore#7891
  • Loading branch information
Jojo-Schmitz committed Jul 28, 2021
1 parent 6d5f6f9 commit 6308bb5
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 43 deletions.
2 changes: 1 addition & 1 deletion importexport/guitarpro/importgtp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ void GuitarPro::initGuitarProDrumset()
gpDrumset->drum(81) = DrumInstrument(QT_TRANSLATE_NOOP("drumset", "Open Triangle"), NoteHead::Group::HEAD_NORMAL, 3, Direction::UP);
gpDrumset->drum(82) = DrumInstrument(QT_TRANSLATE_NOOP("drumset", "Shaker"), NoteHead::Group::HEAD_NORMAL, 3, Direction::UP);
gpDrumset->drum(83) = DrumInstrument(QT_TRANSLATE_NOOP("drumset", "Sleigh Bell"), NoteHead::Group::HEAD_NORMAL, 3, Direction::UP);
gpDrumset->drum(84) = DrumInstrument(QT_TRANSLATE_NOOP("drumset", "Bell Tree"), NoteHead::Group::HEAD_NORMAL, 3, Direction::UP);
gpDrumset->drum(84) = DrumInstrument(QT_TRANSLATE_NOOP("drumset", "Mark Tree"), NoteHead::Group::HEAD_NORMAL, 3, Direction::UP);
gpDrumset->drum(85) = DrumInstrument(QT_TRANSLATE_NOOP("drumset", "Castanets"), NoteHead::Group::HEAD_NORMAL, 3, Direction::UP);
gpDrumset->drum(86) = DrumInstrument(QT_TRANSLATE_NOOP("drumset", "Mute Surdo"), NoteHead::Group::HEAD_NORMAL, 3, Direction::UP);
gpDrumset->drum(87) = DrumInstrument(QT_TRANSLATE_NOOP("drumset", "Open Surdo"), NoteHead::Group::HEAD_NORMAL, 3, Direction::UP);
Expand Down
4 changes: 2 additions & 2 deletions mtest/guitarpro/all-percussion.gp5-ref.mscx
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down Expand Up @@ -1694,7 +1694,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down
4 changes: 2 additions & 2 deletions mtest/libmscore/midimapping/test14-ref.mscx
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down Expand Up @@ -1698,7 +1698,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down
4 changes: 2 additions & 2 deletions mtest/libmscore/midimapping/test15-ref.mscx
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down Expand Up @@ -1721,7 +1721,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down
4 changes: 2 additions & 2 deletions mtest/libmscore/midimapping/test16-ref.mscx
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down Expand Up @@ -1680,7 +1680,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down
4 changes: 2 additions & 2 deletions mtest/libmscore/midimapping/test17-ref.mscx
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down Expand Up @@ -2317,7 +2317,7 @@
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Bell Tree</name>
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
Expand Down
71 changes: 39 additions & 32 deletions share/instruments/instruments.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5852,7 +5852,7 @@
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>Snare Drum 2</name>
<name>Electric Snare</name>
<stem>2</stem>
<shortcut>B</shortcut>
</Drum>
Expand Down Expand Up @@ -5908,42 +5908,42 @@
<head>normal</head>
<line>6</line>
<voice>0</voice>
<name>Low Tom 2</name>
<name>Low Floor Tom</name>
<stem>1</stem>
</Drum>
<Drum pitch="43"> <!--Low Tom 1-->
<head>normal</head>
<line>5</line>
<voice>0</voice>
<name>Low Tom 1</name>
<name>High Floor Tom</name>
<stem>1</stem>
</Drum>
<Drum pitch="45"> <!--Mid Tom 2-->
<head>normal</head>
<line>4</line>
<voice>0</voice>
<name>Mid Tom 2</name>
<name>Low Tom</name>
<stem>1</stem>
</Drum>
<Drum pitch="47"> <!--Mid Tom 1-->
<head>normal</head>
<line>2</line>
<voice>0</voice>
<name>Mid Tom 1</name>
<name>Low-Mid Tom</name>
<stem>1</stem>
</Drum>
<Drum pitch="48"> <!--High Tom 2-->
<head>normal</head>
<line>1</line>
<voice>0</voice>
<name>High Tom 2</name>
<name>Hi-Mid Tom</name>
<stem>1</stem>
</Drum>
<Drum pitch="50"> <!--High Tom 1-->
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>High Tom 1</name>
<name>High Tom</name>
<stem>1</stem>
</Drum>
<Channel>
Expand Down Expand Up @@ -5994,7 +5994,7 @@
<head>normal</head>
<line>-1</line>
<voice>0</voice>
<name>High Bongo</name>
<name>Hi Bongo</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand Down Expand Up @@ -6032,15 +6032,15 @@
<head>cross</head>
<line>-1</line>
<voice>0</voice>
<name>Mute High Conga</name>
<name>Mute Hi Conga</name>
<stem>1</stem>
<shortcut>B</shortcut>
</Drum>
<Drum pitch="63"> <!--Open High Conga-->
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>High Conga</name>
<name>Open Hi Conga</name>
<stem>1</stem>
<shortcut>C</shortcut>
</Drum>
Expand Down Expand Up @@ -6112,7 +6112,7 @@
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>MiTom 2</name>
<name>Low Tom</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand All @@ -6136,7 +6136,7 @@
<head>normal</head>
<line>-1</line>
<voice>0</voice>
<name>Mute High Conga</name>
<name>Mute Hi Conga</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand Down Expand Up @@ -6315,7 +6315,7 @@
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>Cabasa</name>
<name>Sleigh Bell</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand All @@ -6340,7 +6340,7 @@
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>Vibra Slap</name>
<name>Vibraslap</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand Down Expand Up @@ -6554,7 +6554,7 @@
<head>normal</head>
<line>-1</line>
<voice>0</voice>
<name>High Wood Block</name>
<name>Hi Wood Block</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand Down Expand Up @@ -6591,7 +6591,7 @@
<head>normal</head>
<line>-1</line>
<voice>0</voice>
<name>High Wood Block</name>
<name>Hi Wood Block</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand Down Expand Up @@ -6984,7 +6984,7 @@
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>Vibra Slap</name>
<name>Vibraslap</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand Down Expand Up @@ -7034,7 +7034,7 @@
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>High Wood Block</name>
<name>Hi Wood Block</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand Down Expand Up @@ -7335,37 +7335,37 @@
<head>cross</head>
<line>0</line>
<voice>0</voice>
<name>Ride</name>
<name>Ride Cymbal 1</name>
<stem>1</stem>
</Drum>
<Drum pitch="36">
<head>normal</head>
<line>7</line>
<voice>1</voice>
<name>Concert Bass Drum</name>
<name>Bass Drum 1</name>
<stem>2</stem>
<shortcut>B</shortcut>
</Drum>
<Drum pitch="37">
<head>cross</head>
<line>3</line>
<voice>0</voice>
<name>Snare Side Stick</name>
<name>Side Stick</name>
<stem>1</stem>
</Drum>
<Drum pitch="38">
<head>normal</head>
<line>3</line>
<voice>0</voice>
<name>Concert Snare Drum</name>
<name>Acoustic Snare</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
<Drum pitch="39">
<head>normal</head>
<line>1</line>
<voice>0</voice>
<name>Castanets</name>
<name>Hand Clap</name>
<stem>1</stem>
</Drum>
<Drum pitch="54">
Expand Down Expand Up @@ -7400,22 +7400,22 @@
<head>cross</head>
<line>-2</line>
<voice>0</voice>
<name>Concert Cymbal</name>
<name>Ride Cymbal 2</name>
<stem>1</stem>
<shortcut>C</shortcut>
</Drum>
<Drum pitch="62">
<head>cross</head>
<line>2</line>
<voice>0</voice>
<name>Mute High Conga </name>
<name>Mute Hi Conga</name>
<stem>1</stem>
</Drum>
<Drum pitch="63">
<head>cross</head>
<line>4</line>
<voice>0</voice>
<name>Open High Conga</name>
<name>Open Hi Conga</name>
<stem>1</stem>
</Drum>
<Drum pitch="64">
Expand Down Expand Up @@ -7461,6 +7461,13 @@
<name>Mark Tree</name>
<stem>1</stem>
</Drum>
<Drum pitch="85">
<head>normal</head>
<line>1</line>
<voice>0</voice>
<name>Castanets</name>
<stem>1</stem>
</Drum>
<Channel>
<controller ctrl="0" value="1"/>
<program value="48"/> <!--Orchestra Kit-->
Expand Down Expand Up @@ -7543,7 +7550,7 @@
<head>cross</head>
<line>1</line>
<voice>2</voice>
<name>Ride Cymbal</name>
<name>Ride Cymbal 1</name>
</Drum>
<Drum pitch="74">
<head>xcircle</head>
Expand Down Expand Up @@ -8069,11 +8076,11 @@
<barlineSpan>1</barlineSpan>
<drumset>1</drumset>
<singleNoteDynamics>0</singleNoteDynamics>
<Drum pitch="41">
<Drum pitch="28">
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>Low Tom 2</name>
<name>Slap</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand All @@ -8100,7 +8107,7 @@
<head>normal</head>
<line>0</line>
<voice>0</voice>
<name>Bass Drum 2</name>
<name>Acoustic Bass Drum</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand Down Expand Up @@ -9781,7 +9788,7 @@ Aeolus organ synthesizer, currently disabled -->
<longName>Percussion Synthesizer</longName>
<shortName>Perc. Syn.</shortName>
<description>Percussion Synthesizer</description>
<musicXMLid>drum.tom-tom.synth</musicXMLid>
<musicXMLid>drum.snare-drum.electric</musicXMLid>
<clef>PERC</clef>
<stafftype staffTypePreset="perc1Line">percussion</stafftype>
<barlineSpan>1</barlineSpan>
Expand All @@ -9790,7 +9797,7 @@ Aeolus organ synthesizer, currently disabled -->
<head>normal</head>
<line>4</line>
<voice>0</voice>
<name>Snare Drum 2</name>
<name>Electric Snare</name>
<stem>1</stem>
<shortcut>A</shortcut>
</Drum>
Expand Down

0 comments on commit 6308bb5

Please sign in to comment.