mirror of
https://github.com/plebbit/seedit.git
synced 2026-04-20 15:18:29 -04:00
chore: prettify
This commit is contained in:
@@ -19,7 +19,9 @@ const AccountBar: FC = () => {
|
||||
<Link
|
||||
to='/settings'
|
||||
className={styles.preferences}
|
||||
onClick={(e) => {e.preventDefault();}}
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
}}
|
||||
>
|
||||
{t('account_bar_submit')}
|
||||
</Link>
|
||||
|
||||
@@ -7,7 +7,43 @@ import AccountBar from './account-bar';
|
||||
import Theme from '../theme';
|
||||
|
||||
const choices = ['/hot', '/new', '/active', '/controversialAll', '/topAll'];
|
||||
const availableLanguages = ['ar', 'bn', 'cs', 'da', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fil', 'fr', 'he', 'hi', 'hu', 'id', 'it', 'ja', 'ko', 'mr', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sq', 'sv', 'te', 'th', 'tr', 'uk', 'ur', 'vi', 'zh'];
|
||||
const availableLanguages = [
|
||||
'ar',
|
||||
'bn',
|
||||
'cs',
|
||||
'da',
|
||||
'de',
|
||||
'el',
|
||||
'en',
|
||||
'es',
|
||||
'fa',
|
||||
'fi',
|
||||
'fil',
|
||||
'fr',
|
||||
'he',
|
||||
'hi',
|
||||
'hu',
|
||||
'id',
|
||||
'it',
|
||||
'ja',
|
||||
'ko',
|
||||
'mr',
|
||||
'nl',
|
||||
'no',
|
||||
'pl',
|
||||
'pt',
|
||||
'ro',
|
||||
'ru',
|
||||
'sq',
|
||||
'sv',
|
||||
'te',
|
||||
'th',
|
||||
'tr',
|
||||
'uk',
|
||||
'ur',
|
||||
'vi',
|
||||
'zh',
|
||||
];
|
||||
|
||||
const Language: FC = () => {
|
||||
const { i18n } = useTranslation();
|
||||
|
||||
Reference in New Issue
Block a user