add translations

This commit is contained in:
Tom (plebeius.eth)
2024-11-04 17:42:14 +01:00
parent 5c09b66338
commit fedada3957
37 changed files with 144 additions and 39 deletions
+2 -2
View File
@@ -318,9 +318,9 @@ const PostFormTable = ({ closeForm, postCid }: { closeForm: () => void; postCid:
<td>{t('file')}</td>
<td>
<button onClick={handleUpload} disabled={isUploading}>
{isUploading ? 'uploading...' : 'choose file'}
{isUploading ? t('uploading') : t('choose_file')}
</button>
<span>{uploadedFileName ? uploadedFileName : 'No file chosen'}</span>
<span>{uploadedFileName ? uploadedFileName : t('no_file_chosen')}</span>
</td>
</tr>
)}