From fc4b626915eccecc7f4457f32d780f7044f40942 Mon Sep 17 00:00:00 2001 From: "Calum H. (IMB11)" Date: Mon, 24 Aug 2026 13:12:26 +0100 Subject: [PATCH] fix: prepr --- apps/app-frontend/src/pages/Browse.vue | 7 +-- .../src/pages/discover/[type]/index.vue | 7 +-- packages/ui/src/components/base/Toggle.vue | 6 +-- .../components/ContentCardItem.vue | 14 ++---- .../components/ContentCardTable.vue | 15 ++---- .../managed-content-modal/index.vue | 18 +++---- .../src/layouts/shared/content-tab/layout.vue | 12 +---- .../server-settings/pages/installation.vue | 4 +- .../wrapped/hosting/manage/content.vue | 18 +++---- packages/ui/src/locales/cs-CZ/index.json | 10 ---- packages/ui/src/locales/de-CH/index.json | 9 ---- packages/ui/src/locales/de-DE/index.json | 9 ---- packages/ui/src/locales/en-US/index.json | 49 ++++++++++++++++--- packages/ui/src/locales/es-419/index.json | 9 ---- packages/ui/src/locales/es-ES/index.json | 9 ---- packages/ui/src/locales/fil-PH/index.json | 7 --- packages/ui/src/locales/fr-FR/index.json | 9 ---- packages/ui/src/locales/hu-HU/index.json | 6 --- packages/ui/src/locales/it-IT/index.json | 9 ---- packages/ui/src/locales/ja-JP/index.json | 9 ---- packages/ui/src/locales/ko-KR/index.json | 9 ---- packages/ui/src/locales/ms-MY/index.json | 10 ---- packages/ui/src/locales/nl-NL/index.json | 9 ---- packages/ui/src/locales/pl-PL/index.json | 9 ---- packages/ui/src/locales/pt-BR/index.json | 10 ---- packages/ui/src/locales/ro-RO/index.json | 9 ---- packages/ui/src/locales/ru-RU/index.json | 9 ---- packages/ui/src/locales/sr-CS/index.json | 10 ---- packages/ui/src/locales/sv-SE/index.json | 9 ---- packages/ui/src/locales/th-TH/index.json | 4 -- packages/ui/src/locales/tr-TR/index.json | 9 ---- packages/ui/src/locales/uk-UA/index.json | 9 ---- packages/ui/src/locales/vi-VN/index.json | 10 ---- packages/ui/src/locales/zh-CN/index.json | 9 ---- packages/ui/src/locales/zh-TW/index.json | 9 ---- 35 files changed, 73 insertions(+), 297 deletions(-) diff --git a/apps/app-frontend/src/pages/Browse.vue b/apps/app-frontend/src/pages/Browse.vue index a45fd58d7c..d410b4fd08 100644 --- a/apps/app-frontend/src/pages/Browse.vue +++ b/apps/app-frontend/src/pages/Browse.vue @@ -929,12 +929,7 @@ function getCardActions( { key: 'install', label: formatMessage(installLabel), - icon: - showAsInstalling - ? SpinnerIcon - : isQueued || showAsInstalled - ? CheckIcon - : PlusIcon, + icon: showAsInstalling ? SpinnerIcon : isQueued || showAsInstalled ? CheckIcon : PlusIcon, iconClass: showAsInstalling ? 'animate-spin' : undefined, disabled: showAsInstalled || isInstalling || isInstallingSelection || (isQueued && !isQueuedRoot), diff --git a/apps/frontend/src/pages/discover/[type]/index.vue b/apps/frontend/src/pages/discover/[type]/index.vue index 7cd021c3da..d7fe88af3b 100644 --- a/apps/frontend/src/pages/discover/[type]/index.vue +++ b/apps/frontend/src/pages/discover/[type]/index.vue @@ -382,12 +382,7 @@ function getCardActions( { key: 'install', label: installLabel, - icon: - showAsInstalling - ? SpinnerIcon - : isQueued || isInstalled - ? CheckIcon - : DownloadIcon, + icon: showAsInstalling ? SpinnerIcon : isQueued || isInstalled ? CheckIcon : DownloadIcon, iconClass: showAsInstalling ? 'animate-spin' : undefined, disabled: !!isInstalled || isInstalling || isInstallingSelection || (isQueued && !isQueuedRoot), diff --git a/packages/ui/src/components/base/Toggle.vue b/packages/ui/src/components/base/Toggle.vue index 98229a4f1a..ddc0153102 100644 --- a/packages/ui/src/components/base/Toggle.vue +++ b/packages/ui/src/components/base/Toggle.vue @@ -31,9 +31,9 @@ ? '' : indeterminate ? 'group-hover:scale-x-110 group-active:scale-x-75' - : small - ? 'group-hover:w-[14px] group-hover:h-[14px] group-hover:m-[-1px] group-active:w-[10px] group-active:h-[10px] group-active:m-[1px]' - : 'group-hover:w-[18px] group-hover:h-[18px] group-hover:m-[-1px] group-active:w-[14px] group-active:h-[14px] group-active:m-[1px]', + : small + ? 'group-hover:w-[14px] group-hover:h-[14px] group-hover:m-[-1px] group-active:w-[10px] group-active:h-[10px] group-active:m-[1px]' + : 'group-hover:w-[18px] group-hover:h-[18px] group-hover:m-[-1px] group-active:w-[14px] group-active:h-[14px] group-active:m-[1px]', ]" /> diff --git a/packages/ui/src/layouts/shared/content-tab/components/ContentCardItem.vue b/packages/ui/src/layouts/shared/content-tab/components/ContentCardItem.vue index 1d75a97ce7..2e3a1b1d68 100644 --- a/packages/ui/src/layouts/shared/content-tab/components/ContentCardItem.vue +++ b/packages/ui/src/layouts/shared/content-tab/components/ContentCardItem.vue @@ -142,8 +142,7 @@ const fileNameRef = ref(null) const isDisabled = computed(() => props.disabled || props.installing) const isToggleIndeterminate = computed( - () => - props.enabledFor !== undefined && props.enabledFor.server !== props.enabledFor.player, + () => props.enabledFor !== undefined && props.enabledFor.server !== props.enabledFor.player, ) const isToggleDisabled = computed( () => isDisabled.value || props.toggleDisabled || isToggleIndeterminate.value, @@ -328,10 +327,7 @@ const installTooltip = computed(() => { -