mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
chore: add translations
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Version from '../version';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
type SiteLegalMetaOrder = 'version-first' | 'license-first';
|
||||
|
||||
@@ -7,7 +8,11 @@ type SiteLegalMetaProps = {
|
||||
order?: SiteLegalMetaOrder;
|
||||
};
|
||||
|
||||
const LicenseText = () => <span>5chan is free and open-source software under GPL-3.0-or-later.</span>;
|
||||
const LicenseText = () => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return <span>{t('site_legal_meta_license_text')}</span>;
|
||||
};
|
||||
|
||||
const VersionFeedbackContact = () => (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user