Skip to content

Commit

Permalink
Fix typos found by @rettinghaus and @ahankinson
Browse files Browse the repository at this point in the history
  • Loading branch information
th-we committed Apr 3, 2024
1 parent 45b1f3a commit 65bf835
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/ExportHandlers.mss
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ function AssertIdType (pluginInfo, handlers, idProperty, functionName) {
& pluginInfo._extensionInfo.plugin.Name
& '\': Expected either of \''
& validIdProperties.Join('\' or \'')
& ' as first paramter of registration function, but found \''
& ' as first parameter of registration function, but found \''
& idProperty
& '\'.\n\nPlugin execution is aborted. To continue, deactivate or fix \''
& '\'.\n\nPlugin execution is stopped. To continue, deactivate or fix \''
& pluginInfo._extensionInfo.plugin.Name
& '\'.'
);
Expand Down
4 changes: 2 additions & 2 deletions src/Extensions.mss
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ function DeselectAllExtensions () {

function InitExtensions (extensions, pluginList) {
// To let the user choose extensions via dialog, pass `null` as `extensions`
// argument. If extensions should be activated without showing the dialog,
// argument. If extensions should be activated without showing the dialog,
// pass a SparseArray with the 'PLG names' of the extensions, i.e. the
// names that `RegisterAvailableExtensions()` will use as keys. This is
// useful e.g. for running tests without requiring user interaction.
// useful, e.g., for running tests without requiring user interaction.
//
// `pluginList` is the list of all installed Sibelius plugins.
//
Expand Down
9 changes: 4 additions & 5 deletions src/LineHandler.mss
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@ function InitLineHandlers () {
// 'line.staff.harmonic.touch', @Element('Line', @Attrs('form', 'solid')),
// 'line.staff.harmonics', @Element('Line', @Attrs('form', 'solid')),
// The Hauptstimme line type only has a start symbol and an end symbol
// without an actual line. Therefore set @lwidth to 0.
// TODO: Add create two separate symbols instead?
'line.staff.hauptstimme', @Element('Line', @Attrs('startsym', 'H', 'endsym', 'angledown', 'endid', 'Previous')),
// without an actual line. Therefore set @width to 0.
'line.staff.hauptstimme', @Element('Line', @Attrs('startsym', 'H', 'endsym', 'angledown', 'width', '0', 'endid', 'Previous')),
// 'line.staff.letring', @Element('Line', @Attrs('form', 'solid')),
// 'line.staff.mute.palm', @Element('Line', @Attrs('form', 'solid')),
// TODO: The Nebenstimme line type only has a start symbol and an end symbol without an actual line.
'line.staff.nebenstimme', @Element('Line', @Attrs('startsym', 'N', 'endsym', 'angledown', 'lwidth', '0', 'endid', 'Previous')),
// The Nebenstimme line type only has a start symbol and an end symbol without an actual line.
'line.staff.nebenstimme', @Element('Line', @Attrs('startsym', 'N', 'endsym', 'angledown', 'width', '0', 'endid', 'Previous')),
// 'line.staff.pick.scrape', @Element('Line', @Attrs('form', 'solid')),
// 'line.staff.rake', @Element('Line', @Attrs('form', 'solid')),
// 'line.staff.slide', @Element('Line', @Attrs('form', 'solid')),
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities.mss
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ function SetTemplateAction (templateNode, plugin, functionName) {
// `templateNode` can be a Dictionary that works as a placeholder, or it
// can be an actual element template (a SparseArray) that the action method
// can retrieve from the action Dictionary to work with it (e.g. pass it
// bacl tp MeiFactory() and then add more attributes dynamically, or only
// back to MeiFactory() and then add more attributes dynamically, or only
// pass it to MeiFactory() if certain conditions are met etc.).

// Depending on what the function specified by `functionName` needs, either
Expand Down

0 comments on commit 65bf835

Please sign in to comment.