add translations

This commit is contained in:
Tom (plebeius.eth)
2024-07-15 21:46:41 +02:00
parent 4ffd75010d
commit 3af3208c97
36 changed files with 143 additions and 38 deletions
@@ -30,14 +30,14 @@ const FiltersModal = ({ closeModal }: { closeModal: () => void }) => {
)}
{isInAllView && (
<div className={styles.nsfwLabels}>
<div className={styles.categoryTitle}>NSFW Boards</div>
<div className={styles.categoryTitle}>{t('nsfw_boards')}</div>
<label>
<input type='checkbox' checked={!showGoreBoards} onChange={(e) => setShowGoreBoards(!e.target.checked)} />
Hide Gore Boards
{t('hide_gore_boards')}
</label>
<label>
<input type='checkbox' checked={!showAdultBoards} onChange={(e) => setShowAdultBoards(!e.target.checked)} />
Hide Adult Boards
{t('hide_adult_boards')}
</label>
</div>
)}