mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-23 14:07:20 -04:00
Add translation for MovieIndexSelectAllButton
This commit is contained in:
parent
a5b315ba83
commit
364a42424a
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ import React, { useCallback } from 'react';
|
|||
import { useSelect } from 'App/SelectContext';
|
||||
import PageToolbarButton from 'Components/Page/Toolbar/PageToolbarButton';
|
||||
import { icons } from 'Helpers/Props';
|
||||
import translate from 'Utilities/String/translate';
|
||||
|
||||
interface MovieIndexSelectAllButtonProps {
|
||||
label: string;
|
||||
|
@ -30,7 +31,7 @@ function MovieIndexSelectAllButton(props: MovieIndexSelectAllButtonProps) {
|
|||
|
||||
return isSelectMode ? (
|
||||
<PageToolbarButton
|
||||
label={allSelected ? 'Unselect All' : 'Select All'}
|
||||
label={allSelected ? translate('UnselectAll') : translate('SelectAll')}
|
||||
iconName={icon}
|
||||
onPress={onPress}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue