Zmiana aplikacji na wersje lang

This commit is contained in:
2026-09-25 16:59:37 +02:00
parent 9d25de0d89
commit 3056eb6c3d
24 changed files with 1308 additions and 1105 deletions
+9 -3
View File
@@ -11,9 +11,15 @@ export const endpoints = {
gusLookup: cfg.endpoints?.gusLookup || "../api/gus_lookup.php",
kds: cfg.endpoints?.kds || "../api/kds.php",
bills: cfg.endpoints?.bills || "../api/bills.php",
menu: cfg.endpoints?.menu || "../api/menu.php",
};
export const loaderMinMs = Number(cfg.loaderMinMs) || 10_000;
export const availableLanguages = Array.isArray(cfg.languages)
? cfg.languages
: [
{ code: "pl", label: "Polski", flag: "🇵🇱" },
{ code: "en", label: "English", flag: "🇬🇧" },
{ code: "de", label: "Deutsch", flag: "🇩🇪" },
];
export const MENU_ASSET_VERSION =
window.MENU_ASSET_VERSION || window.APP_ASSET_VERSION || "1";
export const loaderMinMs = Number(cfg.loaderMinMs) || 10_000;