1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-19 21:46:43 -04:00

Add label translations in columns

This commit is contained in:
Bogdan
2023-08-01 09:18:29 +03:00
committed by Mark McDowall
parent 67dc898797
commit e8855c312d
10 changed files with 62 additions and 49 deletions
@@ -25,11 +25,11 @@ import styles from './InteractiveImportSelectFolderModalContent.css';
const recentFoldersColumns = [
{
name: 'folder',
label: 'Folder',
label: () => translate('Folder'),
},
{
name: 'lastUsed',
label: 'Last Used',
label: () => translate('LastUsed'),
},
{
name: 'actions',
@@ -100,7 +100,7 @@ function InteractiveImportSelectFolderModalContent(
return (
<ModalContent onModalClose={onModalClose}>
<ModalHeader>
{modalTitle} - {translate('Select Folder')}
{modalTitle} - {translate('SelectFolder')}
</ModalHeader>
<ModalBody>
@@ -143,7 +143,7 @@ function InteractiveImportSelectFolderModalContent(
onPress={onQuickImportPress}
>
<Icon className={styles.buttonIcon} name={icons.QUICK} />
{translate('Move Automatically')}
{translate('MoveAutomatically')}
</Button>
</div>
@@ -156,7 +156,7 @@ function InteractiveImportSelectFolderModalContent(
onPress={onInteractiveImportPress}
>
<Icon className={styles.buttonIcon} name={icons.INTERACTIVE} />
{translate('Interactive Import')}
{translate('InteractiveImport')}
</Button>
</div>
</div>