Settings language add description (#294)

* Add translation notice to language setting

* Make local source guide link readable in dark mode
This commit is contained in:
schroda
2023-05-12 11:52:00 +02:00
committed by GitHub
parent c8b0c64a8d
commit 4aff22079a
3 changed files with 19 additions and 6 deletions

View File

@@ -19,6 +19,7 @@ import SourceGridLayout from 'components/source/GridLayouts';
import { useLibraryOptionsContext } from 'components/context/LibraryOptionsContext';
import { IManga, IMangaCard, ISource, ISourceFilters } from 'typings';
import { useTranslation } from 'react-i18next';
import Link from '@mui/material/Link';
interface IPos {
position: number;
@@ -227,9 +228,9 @@ export default function SourceMangas({ popular }: { popular: boolean }) {
messageExtra = (
<>
<span>{t('source.local_source.label.checkout')} </span>
<a href="https://github.com/Suwayomi/Tachidesk-Server/wiki/Local-Source">
<Link href="https://github.com/Suwayomi/Tachidesk-Server/wiki/Local-Source">
{t('source.local_source.label.guide')}
</a>
</Link>
</>
);
}