Add skill training advisor with recipe data and one-click goals.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-22 15:28:51 +02:00
parent e233e3c762
commit 567bbd3de0
21 changed files with 3447 additions and 18 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
const I18n = (() => {
const STORAGE_KEY = "locale";
const LOCALE_VERSION = "7";
const SUPPORTED = ["en", "de"];
let locale = "en";
let preference = "auto";
@@ -13,7 +14,7 @@ const I18n = (() => {
}
async function loadMessages(code) {
const res = await fetch(`/static/locales/${code}.json`);
const res = await fetch(`/static/locales/${code}.json?v=${LOCALE_VERSION}`, { cache: "no-store" });
if (!res.ok) throw new Error(`Locale not found: ${code}`);
return res.json();
}