Fix Token

This commit is contained in:
2024-01-06 21:36:22 +01:00
parent 925db8b356
commit 36c7505c5d
4 changed files with 40 additions and 62 deletions

View File

@ -1,28 +1,28 @@
import { defineAstroI18nConfig } from "astro-i18n"
import { defineAstroI18nConfig } from "astro-i18n";
export default defineAstroI18nConfig({
primaryLocale: "en",
secondaryLocales: ["de"],
fallbackLocale: "en",
trailingSlash: "never",
run: "client+server",
showPrimaryLocale: false,
translationLoadingRules: [],
translationDirectory: {},
translations: {},
routes: {
de: {
about: "ueber-uns",
join: "jetzt-spielen",
imprint: "impressum",
"code-of-conduct": "verhaltensrichtlinien",
rules: "regeln",
ranked: "rangliste",
faq: "haeufige-fragen",
stats: "statistiken",
announcements: "ankuendigungen",
"privacy-policy": "datenschutzerklaerung",
"set-password": "passwort-setzen"
}
},
})
primaryLocale: "en",
secondaryLocales: ["de"],
fallbackLocale: "en",
trailingSlash: "never",
run: "client+server",
showPrimaryLocale: false,
translationLoadingRules: [],
translationDirectory: {},
translations: {},
routes: {
de: {
about: "ueber-uns",
join: "jetzt-spielen",
imprint: "impressum",
"code-of-conduct": "verhaltensrichtlinien",
rules: "regeln",
ranked: "rangliste",
faq: "haeufige-fragen",
stats: "statistiken",
announcements: "ankuendigungen",
"privacy-policy": "datenschutzerklaerung",
"set-password": "passwort-setzen"
}
},
});