From b8254ea29d960076fb909884b36f3e5831733bed Mon Sep 17 00:00:00 2001 From: "Amy J. Ko" Date: Sat, 6 Apr 2024 12:21:48 -0700 Subject: [PATCH] Fixed #420, avoid setting tutorial project name. --- CHANGELOG.md | 1 + src/components/app/TutorialView.svelte | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39fadd158..b6476bde8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/components/app/TutorialView.svelte b/src/components/app/TutorialView.svelte index 5101be179..3409078ca 100644 --- a/src/components/app/TutorialView.svelte +++ b/src/components/app/TutorialView.svelte @@ -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,