Fix i18n error message
This commit is contained in:
parent
673a18864d
commit
bea99711e4
1 changed files with 1 additions and 2 deletions
|
@ -8,8 +8,6 @@ import LL from "../../i18n/i18n-svelte";
|
||||||
import { get } from "svelte/store";
|
import { get } from "svelte/store";
|
||||||
import { localeDetector } from "../../i18n/locales";
|
import { localeDetector } from "../../i18n/locales";
|
||||||
|
|
||||||
const $LL = get(LL);
|
|
||||||
|
|
||||||
export const EntrySceneName = "EntryScene";
|
export const EntrySceneName = "EntryScene";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -43,6 +41,7 @@ export class EntryScene extends Scene {
|
||||||
this.scene.start(nextSceneName);
|
this.scene.start(nextSceneName);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
const $LL = get(LL);
|
||||||
if (err.response && err.response.status == 404) {
|
if (err.response && err.response.status == 404) {
|
||||||
ErrorScene.showError(
|
ErrorScene.showError(
|
||||||
new WAError(
|
new WAError(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue