mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
client: Fix relative path for loading languages
This commit is contained in:
commit
a3a5339048
@ -12,7 +12,7 @@ export async function initLocale() {
|
|||||||
lng: locale,
|
lng: locale,
|
||||||
fallbackLng: "en",
|
fallbackLng: "en",
|
||||||
backend: {
|
backend: {
|
||||||
loadPath: `/${window.glob.assetPath}/translations/{{lng}}/{{ns}}.json`
|
loadPath: `${window.glob.assetPath}/translations/{{lng}}/{{ns}}.json`
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user