From 81427b4e3d2f7e05f14395dd26c4f6ef35f53830 Mon Sep 17 00:00:00 2001 From: Eric Theise Date: Sun, 1 Aug 2021 17:18:03 -0700 Subject: [PATCH] Fix for #741; documentation typos. --- CHANGELOG.md | 18 +++++++++--------- resources/docs/docs/credits.md | 2 +- .../docs/docs/custom-module/custom-module.md | 2 +- resources/docs/docs/customization/css-tips.md | 4 ++-- resources/docs/docs/midi/midi-configuration.md | 8 ++++---- resources/docs/docs/user-interface/client.md | 4 ++-- resources/docs/docs/user-interface/launcher.md | 6 +++--- .../docs/docs/widgets/advanced-syntaxes.md | 8 ++++---- .../docs/docs/widgets/properties-reference.md | 2 +- resources/docs/docs/widgets/scripting.md | 4 ++-- 10 files changed, 29 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77326cbc..e7cf3f53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,7 +69,7 @@ ## 1.9.5 - bug fixes - - advanced syntaxes: various isses and regressions + - advanced syntaxes: various issues and regressions - editor: preserve advanced syntaxes in `left` and `top` when pasting a widget - editor @@ -167,7 +167,7 @@ - editor - context menu: add `export` action to export a widget as a fragment file - - show project tree if minimzed when clicking on "Show in tree" + - show project tree if minimized when clicking on "Show in tree" - widget - **new** `fragment` widgets (under `containers`): embedded session or fragment file with overridable properties. @@ -308,7 +308,7 @@ - bug fixes - input: prevent focus when selecting the widget for edition - input: submit content when leaving focus, not only when hitting `enter` or `tab` (`esc` still cancels) - - midi: prevent midi bridge from stopping when an error occurs; provide meaningfull errors when connection fails + - midi: prevent midi bridge from stopping when an error occurs; provide meaningful errors when connection fails - editor - inspector: hitting ctrl+s while editing a property will submit the change before saving @@ -335,7 +335,7 @@ - bug fixes - menu: allow manual line breaks ("`\n`") in labels / values - - custom module: parsing issue when sending widget data using `receive()` (`type` attribute errouneously parsed as an osc typetag) + - custom module: parsing issue when sending widget data using `receive()` (`type` attribute erroneously parsed as an osc typetag) - widgets - html property: allow "href" attribute on "a" elements @@ -354,7 +354,7 @@ - file browser: layout issue with long paths - custom module - - add `nativeRequire` function (allows loading native node modules or locally installed moduled) + - add `nativeRequire` function (allows loading native node modules or locally installed modules) ## 1.7.8 @@ -677,7 +677,7 @@ As of this version, packages except the `node` package are bundled with a midi b - foldable sidepanels - removed lobby - added toolbar menu - - dispay loading (spinner) in a notification instead of a modal + - display loading (spinner) in a notification instead of a modal - mod + w to close window - context-menu now use click event to trigger actions, not mousedown/touchstart - no more uppercase text by default @@ -696,7 +696,7 @@ As of this version, packages except the `node` package are bundled with a midi b - context menu: added "show in tree" action - context menu: removed "edit parent" action - allow copying tabs (to tab containers only) - - shared clipboard accross all clients + - shared clipboard across all clients - prevent interaction with widgets when `shift` or `ctrl` is held - ensure @{} bindings are always updated upon edition @@ -733,7 +733,7 @@ As of this version, packages except the `node` package are bundled with a midi b - pads, range: when `touchAddress` is set, one message per touched point is sent, in addition to the former touch state message - eq: removed `logScaleX` property, always draw logarithmic frequency response - eq: logarithmic x-axis scale fixed - - eq: filters ared now defined with the `filters` property, leaving the `value` to its default purpose + - eq: filters are now defined with the `filters` property, leaving the `value` to its default purpose - eq: added `rangeX` - html: allow `class`, `title` and `style` attributes - dropdown: close menu when receiving a value @@ -745,7 +745,7 @@ As of this version, packages except the `node` package are bundled with a midi b - `push`, `toggle`: merged into `button` - `strip`: features now covered by `panel` - `meter`: duplicate of `fader` with `design` to `compact` and `interaction` to `false` - - `switcher`, `state`, `crossfader`: removed => state managment functions added to the `script` widget + - `switcher`, `state`, `crossfader`: removed => state management functions added to the `script` widget - `keys`: merged with `script` - `gyroscope`: not compatible since chrome 74 unless o-s-c goes HTTPS diff --git a/resources/docs/docs/credits.md b/resources/docs/docs/credits.md index be914f5e..445e7d3c 100644 --- a/resources/docs/docs/credits.md +++ b/resources/docs/docs/credits.md @@ -39,4 +39,4 @@ Discourse provides the community forum. -BrowserStack provides remote browsers for debbuging. +BrowserStack provides remote browsers for debugging. diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index d1b0e5c0..090f4cb2 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -74,7 +74,7 @@ Send osc/midi message to connected clients. `host` and `port` can be specified t - `port` (optional): `integer` port number or `string` midi device name - `address`: osc address - `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object` (objects that don't match this format will simply be turned to a JSON string). -- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retreived from `app` events or `oscOutFilter`) +- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retrieved from `app` events or `oscOutFilter`) ---- diff --git a/resources/docs/docs/customization/css-tips.md b/resources/docs/docs/customization/css-tips.md index 859511e8..c40d5ba4 100644 --- a/resources/docs/docs/customization/css-tips.md +++ b/resources/docs/docs/customization/css-tips.md @@ -3,7 +3,7 @@ ## Browser inspector -Hit ++f12++ to open the developers tools panel. The html/css inspector helps retreiving the class names needed to style specific parts of the widgets: hit ++ctrl+shift+c++ or click on the inspect icon (![x](/img/inspect.png)) and click on a element in the interface to reveal its html code. +Hit ++f12++ to open the developers tools panel. The html/css inspector helps retrieving the class names needed to style specific parts of the widgets: hit ++ctrl+shift+c++ or click on the inspect icon (![x](/img/inspect.png)) and click on a element in the interface to reveal its html code. ## Inline syntax @@ -87,6 +87,6 @@ Media queries can also be used: ## CSS variables -[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overriden. +[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overridden. Widgets also rely on CSS variables for the style properties (colors, padding, etc). These are documented in the widgets' `css` property description. diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index f27b4cb5..adebb0bd 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -56,7 +56,7 @@ The server's `midi` option accepts the following parameters, separated by spaces. !!! warning "" - If an option contains space characters, it must be enquoted. + If an option contains space characters, it must be quoted. **`list`** @@ -64,7 +64,7 @@ Print the available MIDI ports to the console when the server starts. This actio **`device_name:input,output`** -Create a virtual MIDI device that will translate OSC messsages to MIDI messages +Create a virtual MIDI device that will translate OSC messages to MIDI messages - `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)). It doesn't have to match any device's real name. - `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose name contains the string will be used (comparison is case-insensitive). @@ -98,7 +98,7 @@ Enable receiving noteOff messages with a velocity and on a different address tha **`path=/path/to/python`** -*Only use this if you know what you are doing. This option should not be set when using the officla Linux / Windows / OSX packages.* +*Only use this if you know what you are doing. This option should not be set when using the official Linux / Windows / OSX packages.* Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`). @@ -116,7 +116,7 @@ Its `address` and `preArgs` properties must be set according to Open Stage Contr ## Debug -Enabling the server's `debug` options will print some extra informations (sent/received midi messages, midi setup informations, etc) +Enabling the server's `debug` options will print some extra information (sent/received midi messages, midi setup information, etc) ## Example configuration diff --git a/resources/docs/docs/user-interface/client.md b/resources/docs/docs/user-interface/client.md index fa0acb34..73af5901 100644 --- a/resources/docs/docs/user-interface/client.md +++ b/resources/docs/docs/user-interface/client.md @@ -19,7 +19,7 @@ - Import: import a state file from the client's filesystem - Export: export a state file to the client's filesystem - Editor - - Enable: togggle editor's state + - Enable: toggle editor's state - Grid: toggle grid - Project tree: toggle project tree's visibility - Inspector: toggle inspector's visibility @@ -40,7 +40,7 @@ It is the main component, it contains all the widgets and takes all the availabl ## 4. Notifications -Notifications appear in the lower right corner, they are usually used to convey server status informations. +Notifications appear in the lower right corner, they are usually used to convey server status information. ## 5. Modals diff --git a/resources/docs/docs/user-interface/launcher.md b/resources/docs/docs/user-interface/launcher.md index c177b61e..d11bd1b7 100644 --- a/resources/docs/docs/user-interface/launcher.md +++ b/resources/docs/docs/user-interface/launcher.md @@ -5,12 +5,12 @@ - Start: start the server (hidden when started) - Stop: stop the server (hidden when stopped) - New window: open a new client window (hidden when stopped) -- Load: load server configration from file +- Load: load server configuration from file - Save / Save as: save server configuration to file - List MIDI devices: list available MIDI devices in the console - Console: - Clear: clear console - - Autoscrell: enable/disable console autoscroll + - Autoscroll: enable/disable console autoscroll - Check for update at startup: enable/disable this feature - Always on top: pin the launcher window above other the windows @@ -22,7 +22,7 @@ Each server option is displayed here. When clicking on an option's label, a shor ## 3. Console -The console diplays various informations, runtime errors and server debug messages. +The console displays various information, runtime errors and server debug messages. ## Keyboard shortcuts diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 45f18d3d..5a027d79 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -1,6 +1,6 @@ # Advanced syntaxes -Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets' evualate the properties they're in. +Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets' evaluate the properties they're in. ## Inheritance: `@{id.property}` @@ -11,8 +11,8 @@ The inheritance syntax returns either a widget's value or one of its properties. - `property`: target widget's property name. If ommitted (along with the dot), the widget's value will be returned (`@{widgetId}` is the same as `@{widgetId.value}`). `value` always resolves to the target widget's current value, not its `value` property. -!!! note "Unique indentifier" - Each widget has a unique random identifier that can be retreived with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`). +!!! note "Unique identifier" + Each widget has a unique random identifier that can be retrieved with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`). #### Dynamic properties @@ -28,7 +28,7 @@ Some properties have much cheaper update routines and can be considered as `dyna #### Object properties -If the retreived property is an object (`{}`), a subset can be retreived directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}` +If the retrieved property is an object (`{}`), a subset can be retrieved directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}` #### Nesting diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 66ef5847..345a4a99 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -738,7 +738,7 @@ |
origin#
| `number` | "auto" | Defines the starting point's value of the knob's gauge | ??? api "
encoder#
" - A knob that sends a relative direction infomation instead of an absolute value. + A knob that sends a relative direction information instead of an absolute value. === "style" diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index f13be1a4..fec3bc39 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -51,7 +51,7 @@ The `script` property allows widgets to run [Javascript](https://developer.mozil ## Touch state -When some widgets are touched or released, a special event can be catched to trigger custom actions. +When some widgets are touched or released, a special event can be caught to trigger custom actions. If the variable `touch` is not `undefined`, this means it holds the widget's current touch state: @@ -69,7 +69,7 @@ if (touch !== undefined) { } ``` -To avoid unwanted script executions, touch state events will only be catched if the script contains the word `touch`. +To avoid unwanted script executions, touch state events will only be caught if the script contains the word `touch`. ## Available variables