diff --git a/src/scene/data.ts b/src/scene/data.ts index 11e1cea3..7fa6a8df 100644 --- a/src/scene/data.ts +++ b/src/scene/data.ts @@ -161,7 +161,7 @@ export async function importFromBackend(id: string | null) { const data = await fetch(`${BACKEND_GET}${id}.json`) .then(response => { if (!response.ok) { - window.alert(i18n.t("alerts.importBackendFailed")); + window.alert(t("alerts.importBackendFailed")); } return response; })