Remove duplicated i18n strings

This commit is contained in:
schroda
2024-07-01 19:51:27 +02:00
parent ea102eceb6
commit 149bc8ad0d
12 changed files with 16 additions and 19 deletions

View File

@@ -75,7 +75,7 @@ export const MigrateDialog = ({ mangaIdToMigrateTo, onClose }: { mangaIdToMigrat
<FormGroup>
<CheckboxInput
disabled={isMigrationInProcess}
label={t('chapter.title')}
label={t('chapter.title_one')}
checked={migrateChapters}
onChange={(_, checked) => setMigrationFlag('migrateChapters', checked)}
/>

View File

@@ -113,7 +113,7 @@ export const ChapterCard: React.FC<IProps> = (props: IProps) => {
{chapter.isBookmarked && <BookmarkIcon color="primary" />}
<TypographyMaxLines variant="h5" component="h2">
{showChapterNumber
? `${t('chapter.title')} ${chapter.chapterNumber}`
? `${t('chapter.title_one')} ${chapter.chapterNumber}`
: chapter.name}
</TypographyMaxLines>
</Stack>

View File

@@ -123,7 +123,7 @@ export const ChapterList: React.FC<IProps> = ({ manga, isRefreshing }) => {
if (selectedChapters.length) {
return (
<SelectionFAB selectedItemsCount={selectedChapters.length} title="chapter.title">
<SelectionFAB selectedItemsCount={selectedChapters.length} title="chapter.title_one">
{(handleClose) => (
<ChapterActionMenuItems selectedChapters={selectedChapters} onClose={handleClose} />
)}
@@ -163,7 +163,7 @@ export const ChapterList: React.FC<IProps> = ({ manga, isRefreshing }) => {
<Stack direction="column" sx={{ position: 'relative' }}>
<ChapterListHeader direction="row" alignItems="center" justifyContent="space-between">
<Typography variant="h5">
{`${visibleChapters.length} ${t('chapter.title', {
{`${visibleChapters.length} ${t('chapter.title_one', {
count: visibleChapters.length,
})}`}
</Typography>

View File

@@ -211,7 +211,7 @@ export const MangaDetails: React.FC<IProps> = ({ manga }) => {
<Metadata title={t('manga.label.author')} value={getValueOrUnknown(manga.author)} />
<Metadata title={t('manga.label.artist')} value={getValueOrUnknown(manga.artist)} />
<Metadata title={t('manga.label.status')} value={getValueOrUnknown(manga.status)} />
<Metadata title={t('source.title')} value={getSourceName(manga.source)} />
<Metadata title={t('source.title_one')} value={getSourceName(manga.source)} />
</MetadataContainer>
</ThumbnailMetadataWrapper>
<MangaButtonsContainer>

View File

@@ -67,7 +67,7 @@ export const DownloadAheadSetting = ({
showSlider
dialogDescription={t('download.settings.download_ahead.label.description')}
dialogDisclaimer={t('download.settings.download_ahead.label.disclaimer')}
valueUnit={t('chapter.title')}
valueUnit={t('chapter.title_one')}
handleUpdate={updateSetting}
disabled={!shouldDownloadAhead}
/>