1
0
mirror of synced 2025-12-23 11:54:18 -05:00

ALL translations strings shipped with every page (#44284)

Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
This commit is contained in:
Peter Bengtsson
2023-10-31 14:26:14 -04:00
committed by GitHub
parent 09714c271a
commit 297ddc1b2c
44 changed files with 500 additions and 382 deletions

View File

@@ -8,8 +8,8 @@ type Props = {
}
export function InputObject({ item }: Props) {
const { t } = useTranslation('products')
const heading = t('graphql.reference.input_fields').replace('{{ GraphQLItemTitle }}', item.name)
const { t } = useTranslation('graphql')
const heading = t('reference.input_fields').replace('{{ GraphQLItemTitle }}', item.name)
return (
<GraphqlItem item={item} heading={heading}>
<Table fields={item.inputFields} />