+
+ )}
{t("warning.title", {}, {route: "/rules"})}
+ {t("warning.text", {}, {route: "/rules"})}
+ diff --git a/astro-i18n.config.ts b/astro-i18n.config.ts index 86fa633..b151f71 100644 --- a/astro-i18n.config.ts +++ b/astro-i18n.config.ts @@ -7,12 +7,7 @@ export default defineAstroI18nConfig({ trailingSlash: "never", run: "client+server", showPrimaryLocale: false, - translationLoadingRules: [ - { - "routes": ["^/rules.*"], - "groups": ["^rules$"] - } - ], + translationLoadingRules: [], translationDirectory: {}, translations: {}, routes: { diff --git a/src/components/FightTable.svelte b/src/components/FightTable.svelte index f3c65b3..b5d9bc9 100644 --- a/src/components/FightTable.svelte +++ b/src/components/FightTable.svelte @@ -1,28 +1,20 @@
Time | -Blue Team | -Red Team | +{t("announcements.table.time")} | +{t("announcements.table.blue")} | +{t("announcements.table.red")} | {/each}
{t("announcements.table.team")} | +{t("announcements.table.points")} | + {/each} +
{team.team.name} | +{team.points} | + {/each} +