Skip to content

Commit 7742866

Browse files
[MAINTENANCE] Fix some typos (#1850)
Signed-off-by: Stefan Weil <sw@weilnetz.de> Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
1 parent 0a967de commit 7742866

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

Classes/Middleware/Embedded3dViewer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
9696

9797
if (empty($viewer)) {
9898
if (!in_array(strtolower($modelFormat), ['glb','gltf'])) {
99-
return $this->warningResponse('The build-in model-viewer does not support the model format "' . $modelFormat . '"', $request);
99+
return $this->warningResponse('The built-in model-viewer does not support the model format "' . $modelFormat . '"', $request);
100100
}
101101
return $this->renderDefaultViewer($parameters['model']);
102102
}

Documentation/Features/MediaPlayer/Features.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Wide/narrow seek:
7272

7373
* *Wide*: In video mode, the thumbnail/chapter preview area can be used for seeking.
7474
* *Narrow*: In audio mode, only the timeline can be used for seeking.
75-
(This is so that the chapter/timecode box doesn't interfer with other controls shown in the main panel.)
75+
(This is so that the chapter/timecode box doesn't interfere with other controls shown in the main panel.)
7676

7777
.. note::
7878

@@ -120,7 +120,7 @@ When adding a thumbnail adaptation set, it must contain the same role ascription
120120
Other roles may be used:
121121

122122
* ``dlf:label=TEXT``: Specify TEXT as a label that is shown to the user. If no label is given, the track ID is shown instead.
123-
* ``dlf:label_XX=TEXT``: Localized label, where ``XX`` is replaced by the two-letter ISO code of the langauge.
123+
* ``dlf:label_XX=TEXT``: Localized label, where ``XX`` is replaced by the two-letter ISO code of the language.
124124

125125
- Using ``prefix#group`` to match streams to video tracks
126126
- WIP/TODO: Using ``<Label>`` and ``dlf:label`` role to set label of video track. (multiple languages?)

Documentation/Features/MediaPlayer/Waveform.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@ Sample call:
7878
.. code-block:: shell
7979
8080
# 8 bit, 1024 samples/pixel
81-
# (at 44800 Hz, this correponds to a maximum resolution of 43.75 pixels/second)
81+
# (at 44800 Hz, this corresponds to a maximum resolution of 43.75 pixels/second)
8282
audiowaveform -i input.mp3 -o output.dat -b 8 -z 1024

Documentation/Plugins/Index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ The provided MIDI output of `Verovio` is played using the `html-midi-player <htt
11091109
:ref:`t3tsref:data-type-string`
11101110
:Values:
11111111
* `default` or if the property is not set, the MIDI player will use a simple oscillator synth
1112-
* `build-in` or if the property is empty, the build-in sound font (`https://storage.googleapis.com/magentadata/js/soundfonts/sgm_plus`) of MIDI player is used
1112+
* `built-in` or if the property is empty, the built-in sound font (`https://storage.googleapis.com/magentadata/js/soundfonts/sgm_plus`) of MIDI player is used
11131113
* Custom URL to sound font e.g. `https://storage.googleapis.com/magentadata/js/soundfonts/sgm_plus`
11141114

11151115

Resources/Private/JavaScript/DlfMediaPlayer/lib/thumbnails/ShakaThumbnailTrack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default class ShakaThumbnailTrack {
3535
return {
3636
track: this,
3737
...thumb,
38-
// TODO: Make this more flexible than just accomodating ffmpeg's fps filter
38+
// TODO: Make this more flexible than just accommodating ffmpeg's fps filter
3939
imageTime: thumb.startTime + thumb.duration / 2 - 0.00001,
4040
bandwidth: this.track.bandwidth,
4141
};

Resources/Private/JavaScript/lib/Environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export default class Environment {
190190
* @param {string} key
191191
* @param {Record<string, string | number>} values
192192
* @param {(() => string) | undefined} fallback (Optional) Function to
193-
* generate fallback string when {@link key} is not fonud.
193+
* generate fallback string when {@link key} is not found.
194194
* @returns {string}
195195
*/
196196
t(key, values = {}, fallback = undefined) {

Resources/Private/Language/locallang.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
<source><![CDATA[Rotate Right]]></source>
199199
</trans-unit>
200200
<trans-unit id="prevMeasure">
201-
<source><![CDATA[Previus Measure]]></source>
201+
<source><![CDATA[Previous Measure]]></source>
202202
</trans-unit>
203203
<trans-unit id="nextMeasure">
204204
<source><![CDATA[Next Measure]]></source>

Resources/Private/Language/locallang_labels.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@
672672
<source>Viewer model format mapping : Add a semicolon-separated list of supported viewers (from the "dlf_3d_viewers" directory). A colon must follow each viewer name, followed by a comma-separated list of model formats. (Example: "dlf-model-viewer:glb;dlf-threejs:ply,obj;...")</source>
673673
</trans-unit>
674674
<trans-unit id="config.embedded3dviewer.defaultViewer">
675-
<source>Default viewer : Overwrite the build-in default viewer with a supported viewer (from the "dlf_3d_viewers" directory) to be used as a fallback. (The built-in default viewer is the "model-viewer", which only supports "glTF/GLB 3D models" as the model file format.)</source>
675+
<source>Default viewer : Overwrite the built-in default viewer with a supported viewer (from the "dlf_3d_viewers" directory) to be used as a fallback. (The built-in default viewer is the "model-viewer", which only supports "glTF/GLB 3D models" as the model file format.)</source>
676676
</trans-unit>
677677
</body>
678678
</file>

Resources/Public/Html/Embedded3dViewerStandalone.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Build-in standard 3D viewer - &lt;model-viewer&gt;</title>
6+
<title>Built-in standard 3D viewer - &lt;model-viewer&gt;</title>
77
</head>
88
<body>
99
<style>

Resources/Public/JavaScript/Verovio/blobstream.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,7 +2096,7 @@ function ReadableState(options, stream) {
20962096
this.calledRead = false;
20972097

20982098
// a flag to be able to tell if the onwrite cb is called immediately,
2099-
// or on a later tick. We set this to true at first, becuase any
2099+
// or on a later tick. We set this to true at first, because any
21002100
// actions that shouldn't happen until "later" should generally also
21012101
// not happen before the first write call.
21022102
this.sync = true;
@@ -3307,7 +3307,7 @@ function WritableState(options, stream) {
33073307
this.writing = false;
33083308

33093309
// a flag to be able to tell if the onwrite cb is called immediately,
3310-
// or on a later tick. We set this to true at first, becuase any
3310+
// or on a later tick. We set this to true at first, because any
33113311
// actions that shouldn't happen until "later" should generally also
33123312
// not happen before the first write call.
33133313
this.sync = true;
@@ -4209,7 +4209,7 @@ exports.debuglog = function(set) {
42094209

42104210

42114211
/**
4212-
* Echos the value of a value. Trys to print the value out
4212+
* Echos the value of a value. Tries to print the value out
42134213
* in the best way possible given the different types.
42144214
*
42154215
* @param {Object} obj The object to print out.

0 commit comments

Comments
 (0)