Skip to content

Commit

Permalink
📜 Use {play} template instead of literal play in music adventure (#…
Browse files Browse the repository at this point in the history
…5436)

Currently when opening the music adventure level 1 in Nederlands you'll get the following instruction:

> In dit level leer je het `speel` commando te gebruiken om een muzieknoot te spelen!

Though in the example right next to it, it says:

```
play C4
...
```

This example is English and not Nederlands. It should say:

```
speel C4
...
```

Other levels of the music adventure _do_ correctly use the `speel` command. There `{play}` template is indeed used. I applied the same template to level 1.

Let me know if I should also create an issue for this PR.

**How to test**

Follow these steps to verify this PR works as intended:

* Go to http://localhost:5000/hedy/1#music
* Change the language to "Nederlands"
* Verify that the example uses `speel` instead of `play` commands.

**Checklist**

- [x] Contains one of the PR categories in the name
- [x] Describes changes in the format above
- [ ] Links to an existing issue or discussion
- [x] Has a "How to test" section
  • Loading branch information
bobvanderlinden authored Apr 19, 2024
1 parent 13350d5 commit 582b0af
Show file tree
Hide file tree
Showing 46 changed files with 368 additions and 368 deletions.
16 changes: 8 additions & 8 deletions content/adventures/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2573,14 +2573,14 @@ adventures:
في المستوى التالي ستتعلم كيفية تشغيل بعض الأغاني الموجودة.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2726,14 +2726,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/bn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2652,14 +2652,14 @@ adventures:
In the next level you'll learn how to play some existing songs।
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2733,14 +2733,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2724,14 +2724,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/cy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2716,14 +2716,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/da.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2713,14 +2713,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2768,14 +2768,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/el.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2603,14 +2603,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/eo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2682,14 +2682,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2731,14 +2731,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/et.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2696,14 +2696,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/fa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2691,14 +2691,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/fi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2714,14 +2714,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/fy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2772,14 +2772,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/he.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2680,14 +2680,14 @@ adventures:
In the next level you'll learn how to play some existing songs.
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
16 changes: 8 additions & 8 deletions content/adventures/hi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2725,14 +2725,14 @@ adventures:
In the next level you'll learn how to play some existing songs।
example_code: |-
```
play C4
play D4
play E4
play F4
play G4
play A4
play B4
play C5
{play} C4
{play} D4
{play} E4
{play} F4
{play} G4
{play} A4
{play} B4
{play} C5
```
2:
story_text: |
Expand Down
Loading

0 comments on commit 582b0af

Please sign in to comment.