Skip to content

Commit

Permalink
Rename note Hooks to Flags, to match SMuFL terms (master)
Browse files Browse the repository at this point in the history
and to differentiate from line hooks
  • Loading branch information
Jojo-Schmitz committed Oct 11, 2020
1 parent 6540df7 commit 2d0d23c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libmscore/hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void Hook::setHookType(int i)
case -8: setSym(SymId::flag1024thDown);
break;
default:
qDebug("no hook for subtype %d", i);
qDebug("no hook/flag for subtype %d", i);
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion libmscore/scoreElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static const ElementName elementNames[] = {
{ ElementType::CHORDLINE, "ChordLine", QT_TRANSLATE_NOOP("elementName", "Chord Line") },
{ ElementType::DYNAMIC, "Dynamic", QT_TRANSLATE_NOOP("elementName", "Dynamic") },
{ ElementType::BEAM, "Beam", QT_TRANSLATE_NOOP("elementName", "Beam") },
{ ElementType::HOOK, "Hook", QT_TRANSLATE_NOOP("elementName", "Hook") },
{ ElementType::HOOK, "Hook", QT_TRANSLATE_NOOP("elementName", "Flag") }, // internally called "Hook", but "Flag" in SMuFL, so here externally too
{ ElementType::LYRICS, "Lyrics", QT_TRANSLATE_NOOP("elementName", "Lyrics") },
{ ElementType::FIGURED_BASS, "FiguredBass", QT_TRANSLATE_NOOP("elementName", "Figured Bass") },
{ ElementType::MARKER, "Marker", QT_TRANSLATE_NOOP("elementName", "Marker") },
Expand Down
2 changes: 1 addition & 1 deletion mscore/debugger/chord.ui
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<string notr="true"/>
</property>
<property name="text">
<string notr="true">Hook</string>
<string notr="true">Flag</string>
</property>
</widget>
</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ HookSettingsModel::HookSettingsModel(QObject* parent, IElementRepositoryService*
: AbstractInspectorModel(parent, repository)
{
setModelType(TYPE_HOOK);
setTitle(tr("Hook"));
setTitle(tr("Flag")); // internally called "Hook", but "Flag" in SMuFL, so here externally too

createProperties();
}
Expand Down

0 comments on commit 2d0d23c

Please sign in to comment.