feat(frontend): Make dashboard page localizable (#5727)

* Make dashboard page localizable

* dashboard sidebar

* prepr:frontend

* don't change the keys

* undo fix

* fix any err

* don't i18n csv

* prepr:frontend

* fix: do not use button key

* prepr:frontend

* capitalize string date

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
xinyihl
2026-04-26 13:09:08 +00:00
committed by GitHub
co-authored by Prospector
parent faf593b2af
commit 453369ca07
13 changed files with 811 additions and 160 deletions
@@ -12,10 +12,17 @@
</template>
<script setup>
import { injectModrinthClient, useDebugLogger } from '@modrinth/ui'
import {
commonProjectSettingsMessages,
injectModrinthClient,
useDebugLogger,
useVIntl,
} from '@modrinth/ui'
import ChartDisplay from '~/components/ui/charts/ChartDisplay.vue'
const { formatMessage } = useVIntl()
const debug = useDebugLogger('analytics.vue')
definePageMeta({
@@ -23,7 +30,7 @@ definePageMeta({
})
useHead({
title: 'Analytics - Modrinth',
title: () => `${formatMessage(commonProjectSettingsMessages.analytics)} - Modrinth`,
})
const auth = await useAuth()