1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Translate frontend series pages

This commit is contained in:
Stevie Robinson
2023-09-01 02:47:17 +02:00
committed by GitHub
parent 33c52a7037
commit c123596c68
43 changed files with 543 additions and 279 deletions
@@ -24,6 +24,7 @@ import { executeCommand } from 'Store/Actions/commandActions';
import { SelectStateInputProps } from 'typings/props';
import formatBytes from 'Utilities/Number/formatBytes';
import titleCase from 'Utilities/String/titleCase';
import translate from 'Utilities/String/translate';
import SeriesIndexProgressBar from '../ProgressBar/SeriesIndexProgressBar';
import hasGrowableColumns from './hasGrowableColumns';
import SeasonsCell from './SeasonsCell';
@@ -454,7 +455,7 @@ function SeriesIndexRow(props: SeriesIndexRowProps) {
<VirtualTableRowCell key={name} className={styles[name]}>
<SpinnerIconButton
name={icons.REFRESH}
title="Refresh series"
title={translate('RefreshSeries')}
isSpinning={isRefreshingSeries}
onPress={onRefreshPress}
/>
@@ -462,7 +463,7 @@ function SeriesIndexRow(props: SeriesIndexRowProps) {
{showSearchAction ? (
<SpinnerIconButton
name={icons.SEARCH}
title="Search for monitored episodes"
title={translate('SearchForMonitoredEpisodes')}
isSpinning={isSearchingSeries}
onPress={onSearchPress}
/>
@@ -470,7 +471,7 @@ function SeriesIndexRow(props: SeriesIndexRowProps) {
<IconButton
name={icons.EDIT}
title="Edit Series"
title={translate('EditSeries')}
onPress={onEditSeriesPress}
/>
</VirtualTableRowCell>