mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add translations
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
@@ -261,10 +261,10 @@ const ReplyModal = ({ closeModal, showReplyModal, parentCid, postCid, scrollY, s
|
||||
<span className={styles.uploadContainer}>
|
||||
<span className={styles.uploadButton}>
|
||||
<button onClick={handleUpload} disabled={isUploading}>
|
||||
{isUploading ? 'uploading...' : 'choose file'}
|
||||
{isUploading ? t('uploading') : t('choose_file')}
|
||||
</button>
|
||||
</span>
|
||||
<span className={styles.uploadFileName}>{uploadedFileName ? uploadedFileName : 'No file chosen'}</span>
|
||||
<span className={styles.uploadFileName}>{uploadedFileName ? uploadedFileName : t('no_file_chosen')}</span>
|
||||
</span>
|
||||
)}
|
||||
<span className={styles.spoilerButton}>
|
||||
|
||||
Reference in New Issue
Block a user