mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 06:27:08 -04:00
Translate Frontend Organize + Rename modal
(cherry picked from commit 866fbc7f093c34e4414734f90e756e2f6870d84a) Closes #9054
This commit is contained in:
parent
11c7446cbe
commit
4bbc166040
2 changed files with 13 additions and 20 deletions
|
@ -4,6 +4,7 @@ import Alert from 'Components/Alert';
|
|||
import CheckInput from 'Components/Form/CheckInput';
|
||||
import Button from 'Components/Link/Button';
|
||||
import LoadingIndicator from 'Components/Loading/LoadingIndicator';
|
||||
import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
|
||||
import ModalBody from 'Components/Modal/ModalBody';
|
||||
import ModalContent from 'Components/Modal/ModalContent';
|
||||
import ModalFooter from 'Components/Modal/ModalFooter';
|
||||
|
@ -92,7 +93,7 @@ class OrganizePreviewModalContent extends Component {
|
|||
return (
|
||||
<ModalContent onModalClose={onModalClose}>
|
||||
<ModalHeader>
|
||||
{translate('OrganizeAndRename')}
|
||||
{translate('OrganizeModalHeader')}
|
||||
</ModalHeader>
|
||||
|
||||
<ModalBody>
|
||||
|
@ -103,9 +104,7 @@ class OrganizePreviewModalContent extends Component {
|
|||
|
||||
{
|
||||
!isFetching && error &&
|
||||
<div>
|
||||
{translate('ErrorLoadingPreviews')}
|
||||
</div>
|
||||
<div>{translate('OrganizeLoadError')}</div>
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -113,8 +112,8 @@ class OrganizePreviewModalContent extends Component {
|
|||
<div>
|
||||
{
|
||||
renameMovies ?
|
||||
<div>{translate('OrganizeModalSuccess')}</div> :
|
||||
<div>{translate('OrganizeModalDisabled')}</div>
|
||||
<div>{translate('OrganizeNothingToRename')}</div> :
|
||||
<div>{translate('OrganizeRenamingDisabled')}</div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
@ -124,17 +123,11 @@ class OrganizePreviewModalContent extends Component {
|
|||
<div>
|
||||
<Alert>
|
||||
<div>
|
||||
{translate('OrganizeModalAllPathsRelative')}
|
||||
<span className={styles.path}>
|
||||
{path}
|
||||
</span>
|
||||
<InlineMarkdown data={translate('OrganizeRelativePaths', { path })} blockClassName={styles.path} />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{translate('OrganizeModalNamingPattern')}
|
||||
<span className={styles.standardMovieFormat}>
|
||||
{standardMovieFormat}
|
||||
</span>
|
||||
<InlineMarkdown data={translate('OrganizeNamingPattern', { standardMovieFormat })} blockClassName={styles.standardMovieFormat} />
|
||||
</div>
|
||||
</Alert>
|
||||
|
||||
|
|
|
@ -375,7 +375,6 @@
|
|||
"Ended": "Ended",
|
||||
"Error": "Error",
|
||||
"ErrorLoadingContents": "Error loading contents",
|
||||
"ErrorLoadingPreviews": "Error loading previews",
|
||||
"ErrorRestoringBackup": "Error restoring backup",
|
||||
"EventType": "Event Type",
|
||||
"Events": "Events",
|
||||
|
@ -787,12 +786,13 @@
|
|||
"Options": "Options",
|
||||
"Or": "or",
|
||||
"Organize": "Organize",
|
||||
"OrganizeAndRename": "Organize & Rename",
|
||||
"OrganizeConfirm": "Are you sure you want to organize all files in the {count} selected movie(s)?",
|
||||
"OrganizeModalAllPathsRelative": "All paths are relative to:",
|
||||
"OrganizeModalDisabled": "Renaming is disabled, nothing to rename",
|
||||
"OrganizeModalNamingPattern": "Naming Pattern:",
|
||||
"OrganizeModalSuccess": "Success! My work is done, no files to rename.",
|
||||
"OrganizeLoadError": "Error loading previews",
|
||||
"OrganizeModalHeader": "Organize & Rename",
|
||||
"OrganizeNamingPattern": "Naming pattern: `{standardMovieFormat}`",
|
||||
"OrganizeNothingToRename": "Success! My work is done, no files to rename.",
|
||||
"OrganizeRelativePaths": "All paths are relative to: `{path}`",
|
||||
"OrganizeRenamingDisabled": "Renaming is disabled, nothing to rename",
|
||||
"OrganizeSelectedMovies": "Organize Selected Movies",
|
||||
"Original": "Original",
|
||||
"OriginalLanguage": "Original Language",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue