mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
Add translations to frontend/InteractiveImport
This commit is contained in:
@@ -348,7 +348,9 @@ function InteractiveImportRow(props: InteractiveImportRowProps) {
|
||||
{isSeriesColumnVisible ? (
|
||||
<TableRowCellButton
|
||||
isDisabled={!allowSeriesChange}
|
||||
title={allowSeriesChange ? 'Click to change series' : undefined}
|
||||
title={
|
||||
allowSeriesChange ? translate('ClickToChangeSeries') : undefined
|
||||
}
|
||||
onPress={onSelectSeriesPress}
|
||||
>
|
||||
{showSeriesPlaceholder ? (
|
||||
@@ -361,7 +363,7 @@ function InteractiveImportRow(props: InteractiveImportRowProps) {
|
||||
|
||||
<TableRowCellButton
|
||||
isDisabled={!series}
|
||||
title={series ? 'Click to change season' : undefined}
|
||||
title={series ? translate('ClickToChangeSeason') : undefined}
|
||||
onPress={onSelectSeasonPress}
|
||||
>
|
||||
{showSeasonNumberPlaceholder ? (
|
||||
@@ -379,7 +381,7 @@ function InteractiveImportRow(props: InteractiveImportRowProps) {
|
||||
isDisabled={!series || requiresSeasonNumber}
|
||||
title={
|
||||
series && !requiresSeasonNumber
|
||||
? 'Click to change episode'
|
||||
? translate('ClickToChangeEpisode')
|
||||
: undefined
|
||||
}
|
||||
onPress={onSelectEpisodePress}
|
||||
@@ -392,7 +394,7 @@ function InteractiveImportRow(props: InteractiveImportRowProps) {
|
||||
</TableRowCellButton>
|
||||
|
||||
<TableRowCellButton
|
||||
title="Click to change release group"
|
||||
title={translate('ClickToChangeReleaseGroup')}
|
||||
onPress={onSelectReleaseGroupPress}
|
||||
>
|
||||
{showReleaseGroupPlaceholder ? (
|
||||
@@ -404,7 +406,7 @@ function InteractiveImportRow(props: InteractiveImportRowProps) {
|
||||
|
||||
<TableRowCellButton
|
||||
className={styles.quality}
|
||||
title="Click to change quality"
|
||||
title={translate('ClickToChangeQuality')}
|
||||
onPress={onSelectQualityPress}
|
||||
>
|
||||
{showQualityPlaceholder && <InteractiveImportRowCellPlaceholder />}
|
||||
@@ -416,7 +418,7 @@ function InteractiveImportRow(props: InteractiveImportRowProps) {
|
||||
|
||||
<TableRowCellButton
|
||||
className={styles.languages}
|
||||
title="Click to change language"
|
||||
title={translate('ClickToChangeLanguage')}
|
||||
onPress={onSelectLanguagePress}
|
||||
>
|
||||
{showLanguagePlaceholder && <InteractiveImportRowCellPlaceholder />}
|
||||
@@ -450,7 +452,7 @@ function InteractiveImportRow(props: InteractiveImportRowProps) {
|
||||
{rejections.length ? (
|
||||
<Popover
|
||||
anchor={<Icon name={icons.DANGER} kind={kinds.DANGER} />}
|
||||
title="Release Rejected"
|
||||
title={translate('ReleaseRejected')}
|
||||
body={
|
||||
<ul>
|
||||
{rejections.map((rejection, index) => {
|
||||
|
||||
Reference in New Issue
Block a user