chore: add translations

This commit is contained in:
Tom (plebeius.eth)
2024-05-31 16:51:22 +02:00
parent 6223cb0b24
commit 088a887686
42 changed files with 659 additions and 55 deletions
@@ -107,7 +107,7 @@ const InterfaceSettings = () => {
return (
<div className={styles.interfaceSettings}>
<div className={styles.version}>
Version:{' '}
{t('version')}:{' '}
<a href={`https://github.com/plebbit/plebchan/releases/tag/v${packageJson.version}`} target='_blank' rel='noopener noreferrer'>
{packageJson.version}
</a>
@@ -44,7 +44,7 @@ const SettingsModal = () => {
<div className={`${styles.setting} ${styles.category}`}>
<label onClick={() => setShowInterfaceSettings(!showInterfaceSettings)}>
<span className={showInterfaceSettings ? styles.hideButton : styles.showButton} />
Interface
{t('interface')}
</label>
</div>
{showInterfaceSettings && <InterfaceSettings />}