diff --git a/src/components/DocumentInternationalizationMenu.tsx b/src/components/DocumentInternationalizationMenu.tsx index c4d8c25..c09a278 100644 --- a/src/components/DocumentInternationalizationMenu.tsx +++ b/src/components/DocumentInternationalizationMenu.tsx @@ -87,13 +87,13 @@ export function DocumentInternationalizationMenu( }, [supportedLanguages]) const content = ( - + {error ? ( - + There was an error returning translations metadata ) : ( - + {supportedLanguages.length > 4 ? ( )} - + ) const issueWithTranslations = diff --git a/src/components/LanguageManage.tsx b/src/components/LanguageManage.tsx index 556eb33..6390c86 100644 --- a/src/components/LanguageManage.tsx +++ b/src/components/LanguageManage.tsx @@ -1,5 +1,5 @@ import {CogIcon} from '@sanity/icons' -import {Button} from '@sanity/ui' +import {Box, Button, Stack, Text, Tooltip} from '@sanity/ui' import {METADATA_SCHEMA_NAME} from '../constants' import {useOpenInNewPane} from '../hooks/useOpenInNewPane' @@ -13,12 +13,29 @@ export default function LanguageManage(props: LanguageManageProps) { const open = useOpenInNewPane(id, METADATA_SCHEMA_NAME) return ( -