diff --git a/src/components/Dropdown.astro b/src/components/Dropdown.astro index a928989..637b67e 100644 --- a/src/components/Dropdown.astro +++ b/src/components/Dropdown.astro @@ -4,6 +4,10 @@ const { Icon } = Astro.props +// i18n +import i18next, { t } from "i18next"; +import { Trans, HeadHrefLangs } from "astro-i18next/components"; + // Icons import { Menu, @@ -33,35 +37,34 @@ if (Astro.url.pathname.startsWith('/watch')) {
-

Options

-
Language
- Account - Settings - Instances +

{t('dropdown.Options')}

+
{t('dropdown.Language')}
+ {t('dropdown.Account')} + {t('dropdown.Settings')} + {t('dropdown.Instances')} -

Hub

- Apps - Games +

{t('dropdown.Hub')}

+ {t('dropdown.Apps')} + {t('dropdown.Games')} -

Open in...

- Lite Mode - YouTube - Invidious - Pipe - Invidious +

{t('dropdown.Openin')}

+ {t('dropdown.LiteMode')} + {t('dropdown.YouTube')} + {t('dropdown.Invidious')} + {t('dropdown.Pipe')} -

Other

- About - Privacy - Source Code +

{t('dropdown.Other')}

+ {t('dropdown.About')} + {t('dropdown.Privacy')} + {t('dropdown.SourceCode')}