@ -69,8 +69,8 @@ const columns = [
] ;
const filterExistingFilesOptions = {
ALL : 'all' ,
NEW : 'new'
ALL : translate ( 'All' ) ,
NEW : translate ( 'New' )
} ;
const importModeOptions = [
@ -198,25 +198,25 @@ class InteractiveImportModalContent extends Component {
} = this . state ;
const selectedIds = this . getSelectedIds ( ) ;
const errorMessage = getErrorMessage ( error , 'Unable to load manual import items' ) ;
const errorMessage = getErrorMessage ( error , translate ( 'UnableToLoadManualImportItems' ) ) ;
const bulkSelectOptions = [
{ key : SELECT , value : 'Select...' , disabled : true } ,
{ key : LANGUAGE , value : 'Select Language' } ,
{ key : QUALITY, value : 'Select Quality' }
] ;
{
key : SELECT , value : translate ( 'SelectDotDot' ) , disabled : true } ,
{ key : LANGUAGE, value : translate ( 'SelectLanguage' ) } ,
{ key : QUALITY , value : translate ( 'SelectQuality' ) } ] ;
if ( allowMovieChange ) {
bulkSelectOptions . splice ( 1 , 0 , {
key : MOVIE ,
value : 'Select Movie'
value : translate ( 'Select Movie')
} ) ;
}
return (
< ModalContent onModalClose = { onModalClose } >
< ModalHeader >
Manual Import - { title || folder }
{ translate( ' ManualImport') } - { title || folder }
< / M o d a l H e a d e r >
< ModalBody scrollDirection = { scrollDirections . BOTH } >
@ -232,7 +232,7 @@ class InteractiveImportModalContent extends Component {
< div className = { styles . filterText } >
{
filterExistingFiles ? 'Unmapped Files Only' : 'All Files'
filterExistingFiles ? translate ( 'Unmapped FilesOnly') : translate ( 'All Files')
}
< / d i v >
< / M e n u B u t t o n >
@ -243,7 +243,7 @@ class InteractiveImportModalContent extends Component {
isSelected = { ! filterExistingFiles }
onPress = { this . onFilterExistingFilesChange }
>
All Files
{ translate( ' AllFiles') }
< / S e l e c t e d M e n u I t e m >
< SelectedMenuItem
@ -251,7 +251,7 @@ class InteractiveImportModalContent extends Component {
isSelected = { filterExistingFiles }
onPress = { this . onFilterExistingFilesChange }
>
Unmapped Files Only
{ translate( ' UnmappedFilesOnly') }
< / S e l e c t e d M e n u I t e m >
< / M e n u C o n t e n t >
< / M e n u >
@ -302,7 +302,7 @@ class InteractiveImportModalContent extends Component {
{
isPopulated && ! items . length && ! isFetching &&
'No video files were found in the selected folder'
translate ( 'NoVideoFilesFoundSelectedFolder' )
}
< / M o d a l B o d y >
@ -345,7 +345,7 @@ class InteractiveImportModalContent extends Component {
isDisabled = { ! selectedIds . length || ! ! invalidRowsSelected . length }
onPress = { this . onImportSelectedPress }
>
Import
{ translate( ' Import') }
< / B u t t o n >
< / d i v >
< / M o d a l F o o t e r >