Skip to content

Commit

Permalink
Merge pull request #175 from autentia/fix/supported-file-formats-message
Browse files Browse the repository at this point in the history
fix: change supported file formats message in file-field component
  • Loading branch information
Manumartin95 authored Oct 2, 2023
2 parents 6e2d31b + bb9d207 commit f95b06e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/shared/components/file-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const FileField: FC<Props> = (props) => {
) : files.length === 0 ? (
<Flex align="center">
{!isReadOnly && (
<Text color="gray.500" align={'center'}>
<Text color="gray.500" align={'center'} whiteSpace={'pre-line'}>
{t('files.uploadFiles')}
</Text>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
},
"files": {
"attachments": "Attachments",
"uploadFiles": "Drag 'n' drop files here, or click to select files (Supported formats: jpg, jpeg, png, gif, pdf)",
"uploadFiles": "Drag 'n' drop files here, or click to select files\n(supported formats: jpg, jpeg, png, gif, pdf)",
"previewFile": "Preview file",
"deleteFile": "Delete file"
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
},
"files": {
"attachments": "Adjuntos",
"uploadFiles": "Arrastre y suelte los archivos aquí, o haga clic para seleccionarlos (Formatos soportados: jpg, jpeg, png, gif, pdf)",
"uploadFiles": "Arrastre y suelte los archivos aquí, o haga clic para seleccionarlos\n(formatos soportados: jpg, jpeg, png, gif, pdf)",
"previewFile": "Previsualizar archivo",
"deleteFile": "Eliminar archivo"
}
Expand Down

0 comments on commit f95b06e

Please sign in to comment.