From 3889d0f5ecf4b95c4e07d519a91bd68e9c249b29 Mon Sep 17 00:00:00 2001 From: Prospector <6166773+Prospector@users.noreply.github.com> Date: Sun, 24 May 2026 10:39:39 -0700 Subject: [PATCH] fix: simplify preview banner translation key (#6192) --- .../components/ui/banner/PreviewBanner.vue | 19 +++++-------------- apps/frontend/src/locales/en-US/index.json | 2 +- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/apps/frontend/src/components/ui/banner/PreviewBanner.vue b/apps/frontend/src/components/ui/banner/PreviewBanner.vue index 7fc253caf..d6d2463a9 100644 --- a/apps/frontend/src/components/ui/banner/PreviewBanner.vue +++ b/apps/frontend/src/components/ui/banner/PreviewBanner.vue @@ -5,7 +5,6 @@ import { commonMessages, defineMessages, IntlFormatted, - normalizeChildren, PagewideBanner, useVIntl, } from '@modrinth/ui' @@ -22,7 +21,7 @@ const messages = defineMessages({ }, description: { id: 'layout.banner.preview.description', - defaultMessage: `If you meant to access the official Modrinth website, visit {url}. This preview deploy is used by Modrinth staff for testing purposes. It was built using {owner}/{branch} @ {commit}.`, + defaultMessage: `If you meant to access the official Modrinth website, visit {url}. This preview deploy is used by Modrinth staff for testing purposes. It was built using {ref}.`, }, }) @@ -41,30 +40,22 @@ const url = computed(() => `https://modrinth.com${route.fullPath}`)