Skip to content

Commit

Permalink
Fixed #420, avoid setting tutorial project name.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Apr 6, 2024
1 parent 4af3572 commit b8254ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Dates are in `YYYY-MM-DD` format and versions are in [semantic versioning](http:
- Fixed types of Webpage stream, should have been number, not none.
- Don't show project footer in tutorial when in non-editable mode.
- [#410](https://github.com/wordplaydev/wordplay/issues/410): Fixed alignment of project preview glyphs.
- [#420](https://github.com/wordplaydev/wordplay/issues/420): Avoid setting tutorial project name.

### Maintenance

Expand Down
6 changes: 2 additions & 4 deletions src/components/app/TutorialView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,8 @@
: act
? act.title
: $locales.getLocale().wordplay,
new Source(
$locales.get((l) => l.term.start),
source,
),
// Don't give the souce a name, otherwise it won't be localized on language change.
new Source('', source),
[],
$locales.getLocales(),
$user?.uid ?? null,
Expand Down

0 comments on commit b8254ea

Please sign in to comment.