From 0bce19721dca51836731e408af8020347513717b Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 9 Jan 2024 14:28:22 +0100 Subject: [PATCH] fix: several typos --- WebSocketClient/assets/uvlTutorialContent.ts | 6 +++--- WebSocketClient/src/intro.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/WebSocketClient/assets/uvlTutorialContent.ts b/WebSocketClient/assets/uvlTutorialContent.ts index adef6de..73e21ad 100644 --- a/WebSocketClient/assets/uvlTutorialContent.ts +++ b/WebSocketClient/assets/uvlTutorialContent.ts @@ -3,7 +3,7 @@ export const tutorialContent = [{ text: "

Welcome to the UVL Tutorial!
All code listings will automatically be placed in the editor on the left. Click 'Next' to start the tutorial.

" }, { title: "Basic Feature Model", - text: "

Start with the features key word to start enumerating your features. Indentations matter in UVL and represent the tree structure.
We will start with a basic feature model that represents a computer. Every computer needs a CPU and can optionaly have some devices connected via SATA.

", + text: "

Start with the features key word to start enumerating your features. Indentations matter in UVL and represent the tree structure.
We will start with a basic feature model that represents a computer. Every computer needs a CPU and can optionally have some devices connected via SATA.

", codeListing: `features Computer mandatory @@ -145,7 +145,7 @@ constraints sum(powerConsumption) > 300 => StrongPSU` }, { title: "Types", - text: "

In UVL you can use types to create special features. In this case, we change the power supply unit. It has a Manufacturer feature of the type String and a Watt feature of the type Integer.
This means, when configuring the feature model, the features are not just selected or deselected, but get a value of their corresponding type. We can utilize this for even more complex constraints and check if the manufacturer of the CPU and the PSU match.

", + text: "

In UVL, you can use types to create special features. In this case, we change the power supply unit. It has a Manufacturer feature of the type String and a Watt feature of the type Integer.
This means, when configuring the feature model, the features are not just selected or deselected, but get a value of their corresponding type. We can utilize this for even more complex constraints and check if the manufacturer of the CPU and the PSU match.

", codeListing: `features Computer {abstract} mandatory @@ -176,5 +176,5 @@ constraints CPU.Manufacturer == Manufacturer` }, { title: "The End", - text: "

Now you have a basic understanding of the Universal Variablity Language. Go on and use the playground to test the language.
If you plan on using the language more frequently we recommend installing the
'UVLS - Universal Variability Language Server'
VS-Code extension, because it provides more features.
Press the 'Done' button to close the tutorial.

" + text: "

Now you have a basic understanding of the Universal Variability Language. Go on and use the playground to test the language.
If you plan on using the language more frequently we recommend installing the
'UVLS - Universal Variability Language Server'
VS-Code extension, because it provides more features.
Press the 'Done' button to close the tutorial.

" }] \ No newline at end of file diff --git a/WebSocketClient/src/intro.ts b/WebSocketClient/src/intro.ts index d9c6d4d..8687959 100644 --- a/WebSocketClient/src/intro.ts +++ b/WebSocketClient/src/intro.ts @@ -9,16 +9,16 @@ export const initIntroJS = () => { intro.setOptions({ steps: [{ - element: '#container', intro: 'This is the texteditor where you write and edit your UVL feature model. It will assists you with syntaxhighlighting, autocompletion and more features.', + element: '#container', intro: 'This is the text editor where you write and edit your UVL feature model. It will assist you with syntax highlighting, autocompletion and more features.', }, { element: '.codelens-decoration', intro: 'You can click on the buttons to use a variety of features.' }, { element: "[id='1']", - intro: 'For example click here to visualize your feature model. The feature model on the right is then automatically updated when you edit the model. Click on it again to hide it.' + intro: 'For example, click here to visualize your feature model. The feature model on the right is then automatically updated when you edit the model. Click on it again to hide it.' }, { element: "#separator", intro: 'You can change the size of the editor and the visualization with your mouse.' }, { - element: "#uvl-tutorialButton", intro: 'If you are not familiar with UVL or need a little refresh click here to get a quick tutorial of the language.' + element: "#uvl-tutorialButton", intro: 'If you are not familiar with UVL or need a little refresh, click here to get a quick tutorial of the language.' }], });