🌐 Add it translations
This commit is contained in:
@@ -27,6 +27,7 @@ const localeHumanReadable = {
|
||||
'pt-BR': 'Português (BR)',
|
||||
ro: 'Română',
|
||||
es: 'Español',
|
||||
it: 'Italiano',
|
||||
} as const
|
||||
|
||||
export const UserPreferencesForm = () => {
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
import React from 'react'
|
||||
import { Text } from '@chakra-ui/react'
|
||||
import { WithVariableContent } from '@/features/graph/components/nodes/block/WithVariableContent'
|
||||
import { useTranslate } from '@tolgee/react'
|
||||
|
||||
type Props = {
|
||||
variableId?: string
|
||||
}
|
||||
export const DateNodeContent = ({ variableId }: Props) => {
|
||||
const { t } = useTranslate()
|
||||
|
||||
return variableId ? (
|
||||
<WithVariableContent variableId={variableId} />
|
||||
) : (
|
||||
<Text color={'gray.500'}>{t('blocks.inputs.date.placeholder.label')}</Text>
|
||||
<Text color={'gray.500'}>Pick a date</Text>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user