diff --git a/frontend/src/Parse/Parse.tsx b/frontend/src/Parse/Parse.tsx index f86f445c47..73485c9fb1 100644 --- a/frontend/src/Parse/Parse.tsx +++ b/frontend/src/Parse/Parse.tsx @@ -9,6 +9,7 @@ import PageContentBody from 'Components/Page/PageContentBody'; import { icons } from 'Helpers/Props'; import { clear, fetch } from 'Store/Actions/parseActions'; import getErrorMessage from 'Utilities/Object/getErrorMessage'; +import translate from 'Utilities/String/translate'; import ParseResult from './ParseResult'; import parseStateSelector from './parseStateSelector'; import styles from './Parse.css'; @@ -50,7 +51,7 @@ function Parse() { ); return ( - +
@@ -76,7 +77,7 @@ function Parse() { {!isFetching && !!error ? (
- Error parsing, please try again. + {translate('ParseModalErrorParsing')}
{getErrorMessage(error)}
@@ -84,7 +85,7 @@ function Parse() { {!isFetching && title && !error && !item.parsedMovieInfo ? (
- Unable to parse the provided title, please try again. + {translate('ParseModalUnableToParse')}
) : null} @@ -95,12 +96,9 @@ function Parse() { {title ? null : (
- Enter a release title in the input above -
-
- Radarr will attempt to parse the title and show you details about - it + {translate('ParseModalHelpText')}
+
{translate('ParseModalHelpTextDetails')}
)} diff --git a/frontend/src/Parse/ParseModalContent.tsx b/frontend/src/Parse/ParseModalContent.tsx index 5138f7e2bd..db0e3e36c6 100644 --- a/frontend/src/Parse/ParseModalContent.tsx +++ b/frontend/src/Parse/ParseModalContent.tsx @@ -86,7 +86,7 @@ function ParseModalContent(props: ParseModalContentProps) { {!isFetching && !!error ? (
- Error parsing, please try again. + {translate('ParseModalErrorParsing')}
{getErrorMessage(error)}
@@ -94,7 +94,7 @@ function ParseModalContent(props: ParseModalContentProps) { {!isFetching && title && !error && !item.parsedMovieInfo ? (
- Unable to parse the provided title, please try again. + {translate('ParseModalUnableToParse')}
) : null} @@ -105,12 +105,9 @@ function ParseModalContent(props: ParseModalContentProps) { {title ? null : (
- Enter a release title in the input above -
-
- Radarr will attempt to parse the title and show you details about - it + {translate('ParseModalHelpText')}
+
{translate('ParseModalHelpTextDetails')}
)} diff --git a/frontend/src/Parse/ParseResult.tsx b/frontend/src/Parse/ParseResult.tsx index a30dfefa13..1aca44811d 100644 --- a/frontend/src/Parse/ParseResult.tsx +++ b/frontend/src/Parse/ParseResult.tsx @@ -98,7 +98,7 @@ function ParseResult(props: ParseResultProps) {
@@ -112,7 +112,7 @@ function ParseResult(props: ParseResultProps) {
@@ -150,7 +150,13 @@ function ParseResult(props: ParseResultProps) { } + data={ + customFormats?.length ? ( + + ) : ( + '-' + ) + } />