From 1d29ee6d87d3794a9319bca5bf36afdfe176072c Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 1 Sep 2023 22:32:45 +0200 Subject: translations with fallback --- resources/js/db.js | 1 + 1 file changed, 1 insertion(+) (limited to 'resources/js/db.js') diff --git a/resources/js/db.js b/resources/js/db.js index 6e53b7e..d564851 100644 --- a/resources/js/db.js +++ b/resources/js/db.js @@ -123,6 +123,7 @@ async function initializeDB () { DB.elements[element] = await fetchDBData(`/modules/tuxemon/mods/tuxemon/db/element/${element}.json`).then((response) => response.json()); } + await fetchTranslation('en_US'); // fallback await fetchTranslation(Memory.state.Settings.language); applyTranslation(); -- cgit v1.2.3