diff --git a/ts/.prettierignore b/ts/.prettierignore index 559e142e9..339fa65b6 100644 --- a/ts/.prettierignore +++ b/ts/.prettierignore @@ -1,5 +1,5 @@ licenses.json vendor -lib/i18n/translate.ts +lib/translate.ts lib/i18n/modules.ts backend_proto.d.ts diff --git a/ts/change-notetype/ChangeNotetypePage.svelte b/ts/change-notetype/ChangeNotetypePage.svelte index a96143fcb..2fd308d70 100644 --- a/ts/change-notetype/ChangeNotetypePage.svelte +++ b/ts/change-notetype/ChangeNotetypePage.svelte @@ -3,7 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> diff --git a/ts/graphs/EaseGraph.svelte b/ts/graphs/EaseGraph.svelte index 5a55c9ff7..e154e816f 100644 --- a/ts/graphs/EaseGraph.svelte +++ b/ts/graphs/EaseGraph.svelte @@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import type { PreferenceStore } from "../sveltelib/preferences"; import { createEventDispatcher } from "svelte"; - import { tr } from "../lib/i18n"; + import * as tr from "../lib/translate"; import HistogramGraph from "./HistogramGraph.svelte"; import Graph from "./Graph.svelte"; diff --git a/ts/graphs/FutureDue.svelte b/ts/graphs/FutureDue.svelte index b8af6ca30..85a50a716 100644 --- a/ts/graphs/FutureDue.svelte +++ b/ts/graphs/FutureDue.svelte @@ -14,7 +14,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import TableData from "./TableData.svelte"; import type { PreferenceStore } from "../sveltelib/preferences"; - import { tr } from "../lib/i18n"; + import * as tr from "../lib/translate"; import type { HistogramData } from "./histogram-graph"; import { GraphRange, RevlogRange } from "./graph-helpers"; import type { TableDatum, SearchEventMap } from "./graph-helpers"; diff --git a/ts/graphs/GraphRangeRadios.svelte b/ts/graphs/GraphRangeRadios.svelte index d93b76587..1913af2ed 100644 --- a/ts/graphs/GraphRangeRadios.svelte +++ b/ts/graphs/GraphRangeRadios.svelte @@ -3,7 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -->