+ {formatLocale(id)} +
- {/* TODO: Translate this wording */} - This content is available is {availableLanguages.length} languages. + { + t("global.languageOverride.availableLanguages", { + count: availableLanguages.length, + }) + }
@@ -47,7 +54,7 @@ const { currentLang, getPartialUrl, availableLanguages } = Astro.props; display: grid; gap: 0.5em; - & > .current { + & .current { color: var(--color-base-750); text-decoration: underline 0.08em var(--color-base-650); } diff --git a/src/i18n/wordings-keys.ts b/src/i18n/wordings-keys.ts index 7f4df7f..440b95c 100644 --- a/src/i18n/wordings-keys.ts +++ b/src/i18n/wordings-keys.ts @@ -86,4 +86,5 @@ export type WordingKey = | "global.meta.description" | "global.loading" | "pages.tableOfContent.sceneBreak" - | "pages.tableOfContent.break"; + | "pages.tableOfContent.break" + | "global.languageOverride.availableLanguages";