summaryrefslogtreecommitdiff
path: root/resources/js/db.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-24 14:42:12 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-24 14:42:12 +0200
commitbde5dc98ad96546b59e91f5a6e552bf80cbf48e4 (patch)
tree37196f5b5065c61ac038ae43d6f2392e29e39371 /resources/js/db.js
parent7b1c251fcb085dc37de439ea1137373f1905d82e (diff)
translations and error handling
Diffstat (limited to 'resources/js/db.js')
-rw-r--r--resources/js/db.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/js/db.js b/resources/js/db.js
index f5cff6c..a04d32e 100644
--- a/resources/js/db.js
+++ b/resources/js/db.js
@@ -87,6 +87,7 @@ async function initializeDB () {
}
await fetchTranslation(Memory.state.Settings.language);
+ applyTranslation();
DB.currencies = await fetch('/db/_generated/currencies.json').then((response) => response.json());
}