1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-17 07:49:45 +02:00

Fixed: Missing Translates

This commit is contained in:
Bakerboy448 2023-04-29 14:58:27 -05:00 committed by Qstick
parent 066d9dd1d4
commit d3e6d7cd05
4 changed files with 7 additions and 3 deletions

View File

@ -26,7 +26,7 @@ function ModalError(props) {
messageClassName={styles.message} messageClassName={styles.message}
detailsClassName={styles.details} detailsClassName={styles.details}
{...otherProps} {...otherProps}
message='There was an error loading this item' message={translate('ThereWasAnErrorLoadingThisItem')}
/> />
</ModalBody> </ModalBody>

View File

@ -1,5 +1,6 @@
import React from 'react'; import React from 'react';
import ErrorBoundaryError from 'Components/Error/ErrorBoundaryError'; import ErrorBoundaryError from 'Components/Error/ErrorBoundaryError';
import translate from 'Utilities/String/translate';
import PageContentBody from './PageContentBody'; import PageContentBody from './PageContentBody';
import styles from './PageContentError.css'; import styles from './PageContentError.css';
@ -9,7 +10,7 @@ function PageContentError(props) {
<PageContentBody> <PageContentBody>
<ErrorBoundaryError <ErrorBoundaryError
{...props} {...props}
message='There was an error loading this page' message={translate('ThereWasAnErrorLoadingThisPage')}
/> />
</PageContentBody> </PageContentBody>
</div> </div>

View File

@ -80,7 +80,7 @@ class MovieDetailsPageConnector extends Component {
if (isFetching && !isPopulated) { if (isFetching && !isPopulated) {
return ( return (
<PageContent title='loading'> <PageContent title={translate('Loading')}>
<PageContentBody> <PageContentBody>
<LoadingIndicator /> <LoadingIndicator />
</PageContentBody> </PageContentBody>

View File

@ -489,6 +489,7 @@
"ListSyncLevelHelpTextWarning": "Movie files will be permanently deleted, this can result in wiping your library if your lists are empty", "ListSyncLevelHelpTextWarning": "Movie files will be permanently deleted, this can result in wiping your library if your lists are empty",
"ListTagsHelpText": "Tags list items will be added with", "ListTagsHelpText": "Tags list items will be added with",
"ListUpdateInterval": "List Update Interval", "ListUpdateInterval": "List Update Interval",
"Loading": "Loading",
"LoadingMovieCreditsFailed": "Loading movie credits failed", "LoadingMovieCreditsFailed": "Loading movie credits failed",
"LoadingMovieExtraFilesFailed": "Loading movie extra files failed", "LoadingMovieExtraFilesFailed": "Loading movie extra files failed",
"LoadingMovieFilesFailed": "Loading movie files failed", "LoadingMovieFilesFailed": "Loading movie files failed",
@ -1025,6 +1026,8 @@
"TestAllIndexers": "Test All Indexers", "TestAllIndexers": "Test All Indexers",
"TestAllLists": "Test All Lists", "TestAllLists": "Test All Lists",
"TheLogLevelDefault": "The log level defaults to 'Info' and can be changed in", "TheLogLevelDefault": "The log level defaults to 'Info' and can be changed in",
"ThereWasAnErrorLoadingThisItem": "There was an error loading this item",
"ThereWasAnErrorLoadingThisPage": "There was an error loading this page",
"ThisCannotBeCancelled": "This cannot be cancelled once started without disabling all of your indexers.", "ThisCannotBeCancelled": "This cannot be cancelled once started without disabling all of your indexers.",
"ThisConditionMatchesUsingRegularExpressions": "This condition matches using Regular Expressions. Note that the characters {0} have special meanings and need escaping with a {1}", "ThisConditionMatchesUsingRegularExpressions": "This condition matches using Regular Expressions. Note that the characters {0} have special meanings and need escaping with a {1}",
"Time": "Time", "Time": "Time",