diff --git a/messages/en.json b/messages/en.json index cdba67d..80a9c00 100644 --- a/messages/en.json +++ b/messages/en.json @@ -33,5 +33,9 @@ "newPasswordRetype": "Re-type new password", "savePassword": "Save Password", "passwordResetSuccesful": "Password reset succesfully", - "displayName": "Display name" + "displayName": "Display name", + "lastAddedSidebar": "Last Added", + "getLucky": "Get Lucky", + "randomPull": "Random Pull", + "highlightAlbum": "Highlight Soundtrack" } \ No newline at end of file diff --git a/src/components/Sidebar.astro b/src/components/Sidebar.astro index 79f34a8..b287ce0 100644 --- a/src/components/Sidebar.astro +++ b/src/components/Sidebar.astro @@ -1,5 +1,6 @@ --- import { Image } from 'astro:assets' +import * as m from '../paraglide/messages.js' import discord from 'img/socials/discord.png' import kofi from 'img/socials/ko-fi-donate-button.png' @@ -14,9 +15,9 @@ const listClass = ---
- Last Added - Get Lucky - Random Pull + {m.lastAddedSidebar()} + {m.getLucky()} + {m.randomPull()}
diff --git a/src/components/sidebar/highlight/content.astro b/src/components/sidebar/highlight/content.astro index bae5d4b..82779b9 100644 --- a/src/components/sidebar/highlight/content.astro +++ b/src/components/sidebar/highlight/content.astro @@ -1,5 +1,6 @@ --- import prismaClient from 'utils/prisma-client' +import * as m from 'paraglide/messages.js' import AlbumBox from 'components/AlbumBox.astro' import SidebarSection from '../SidebarSection.astro' @@ -20,7 +21,7 @@ const album = highlightConfig?.value { album ? ( -
Highlight Soundtrack
+
{m.highlightAlbum()}
) : null diff --git a/src/components/sidebar/highlight/loading.astro b/src/components/sidebar/highlight/loading.astro index a614529..ba24a00 100644 --- a/src/components/sidebar/highlight/loading.astro +++ b/src/components/sidebar/highlight/loading.astro @@ -1,9 +1,11 @@ --- +import * as m from 'paraglide/messages.js' + import AlbumBox from 'components/AlbumBox.astro' import SidebarSection from '../SidebarSection.astro' --- -
Highlight Soundtrack
+
{m.highlightAlbum()}