From a03ab1354ad567d8665c9f0f819587e399b33143 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 | 18 +++---- .../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 | 10 ---- packages/ui/src/locales/de-DE/index.json | 10 ---- packages/ui/src/locales/en-US/index.json | 49 ++++++++++++++++--- packages/ui/src/locales/es-419/index.json | 10 ---- 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 | 10 ---- packages/ui/src/locales/zh-TW/index.json | 10 ---- 35 files changed, 79 insertions(+), 308 deletions(-) diff --git a/apps/app-frontend/src/pages/Browse.vue b/apps/app-frontend/src/pages/Browse.vue index 86818e6389..0a893d4c04 100644 --- a/apps/app-frontend/src/pages/Browse.vue +++ b/apps/app-frontend/src/pages/Browse.vue @@ -927,12 +927,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 8429002043..3aea359e94 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 1de36dc648..e27d252417 100644 --- a/packages/ui/src/components/base/Toggle.vue +++ b/packages/ui/src/components/base/Toggle.vue @@ -21,19 +21,19 @@ ? 'h-0.5 w-2.5 translate-x-[11px] bg-black/90' : 'h-0.5 w-3 translate-x-[14px] bg-black/90' : modelValue - ? small - ? 'h-3 w-3 translate-x-[20px] bg-black/90' - : 'h-4 w-4 translate-x-[24px] bg-black/90' - : small - ? 'h-3 w-3 bg-gray' - : 'h-4 w-4 bg-gray', + ? small + ? 'h-3 w-3 translate-x-[20px] bg-black/90' + : 'h-4 w-4 translate-x-[24px] bg-black/90' + : small + ? 'h-3 w-3 bg-gray' + : 'h-4 w-4 bg-gray', disabled ? '' : 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 e3015f9ffc..0fb6141953 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(() => { -