More translations

pull/5153/head
nitsua 4 years ago committed by Qstick
parent 561f84adff
commit e880eb0e00

@ -117,7 +117,7 @@ class AddNewMovieModalContent extends Component {
<FormGroup>
<FormLabel>
Monitor
{translate('Monitor')}
</FormLabel>
<FormInputGroup
@ -168,7 +168,7 @@ class AddNewMovieModalContent extends Component {
<ModalFooter className={styles.modalFooter}>
<label className={styles.searchForMissingMovieLabelContainer}>
<span className={styles.searchForMissingMovieLabel}>
Start search for missing movie
{translate('StartSearchForMissingMovie')}
</span>
<CheckInput
@ -186,7 +186,7 @@ class AddNewMovieModalContent extends Component {
isSpinning={isAdding}
onPress={this.onAddMoviePress}
>
Add Movie
{translate('AddMovie')}
</SpinnerButton>
</ModalFooter>
</ModalContent>

@ -10,6 +10,7 @@ import LoadingIndicator from 'Components/Loading/LoadingIndicator';
import PageContentFooter from 'Components/Page/PageContentFooter';
import Popover from 'Components/Tooltip/Popover';
import { icons, inputTypes, kinds, tooltipPositions } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
import styles from './ImportMovieFooter.css';
const MIXED = 'mixed';
@ -112,7 +113,7 @@ class ImportMovieFooter extends Component {
<PageContentFooter>
<div className={styles.inputContainer}>
<div className={styles.label}>
Monitor
{translate('Monitor')}
</div>
<FormInputGroup
@ -127,7 +128,7 @@ class ImportMovieFooter extends Component {
<div className={styles.inputContainer}>
<div className={styles.label}>
Minimum Availability
{translate('MinimumAvailability')}
</div>
<FormInputGroup
@ -142,7 +143,7 @@ class ImportMovieFooter extends Component {
<div className={styles.inputContainer}>
<div className={styles.label}>
Quality Profile
{translate('QualityProfile')}
</div>
<FormInputGroup
@ -168,7 +169,7 @@ class ImportMovieFooter extends Component {
isDisabled={!selectedCount || isLookingUpMovie}
onPress={onImportPress}
>
Import {selectedCount} {selectedCount > 1 ? 'Movies' : 'Movie'}
{translate('Import')} {selectedCount} {selectedCount > 1 ? translate('Movies') : translate('Movie')}
</SpinnerButton>
{
@ -178,7 +179,7 @@ class ImportMovieFooter extends Component {
kind={kinds.WARNING}
onPress={onCancelLookupPress}
>
Cancel Processing
{translate('CancelProcessing')}
</Button> :
null
}
@ -190,7 +191,7 @@ class ImportMovieFooter extends Component {
kind={kinds.SUCCESS}
onPress={onLookupPress}
>
Start Processing
{translate('StartProcessing')}
</Button> :
null
}
@ -206,7 +207,7 @@ class ImportMovieFooter extends Component {
{
isLookingUpMovie ?
'Processing Folders' :
translate('ProcessingFolders') :
null
}
@ -220,7 +221,7 @@ class ImportMovieFooter extends Component {
kind={kinds.WARNING}
/>
}
title="Import Errors"
title={translate('ImportErrors')}
body={
<ul>
{

@ -3,6 +3,7 @@ import React from 'react';
import VirtualTableHeader from 'Components/Table/VirtualTableHeader';
import VirtualTableHeaderCell from 'Components/Table/VirtualTableHeaderCell';
import VirtualTableSelectAllHeaderCell from 'Components/Table/VirtualTableSelectAllHeaderCell';
import translate from 'Utilities/String/translate';
import styles from './ImportMovieHeader.css';
function ImportMovieHeader(props) {
@ -24,35 +25,35 @@ function ImportMovieHeader(props) {
className={styles.folder}
name="folder"
>
Folder
{translate('Folder')}
</VirtualTableHeaderCell>
<VirtualTableHeaderCell
className={styles.monitor}
name="monitor"
>
Monitor
{translate('Monitor')}
</VirtualTableHeaderCell>
<VirtualTableHeaderCell
className={styles.minimumAvailability}
name="minimumAvailability"
>
Min Availability
{translate('MinAvailability')}
</VirtualTableHeaderCell>
<VirtualTableHeaderCell
className={styles.qualityProfile}
name="qualityProfileId"
>
Quality Profile
{translate('QualityProfile')}
</VirtualTableHeaderCell>
<VirtualTableHeaderCell
className={styles.movie}
name="movie"
>
Movie
{translate('Movie')}
</VirtualTableHeaderCell>
</VirtualTableHeader>
);

@ -9,6 +9,7 @@ import LoadingIndicator from 'Components/Loading/LoadingIndicator';
import Portal from 'Components/Portal';
import { icons, kinds } from 'Helpers/Props';
import getUniqueElememtId from 'Utilities/getUniqueElementId';
import translate from 'Utilities/String/translate';
import ImportMovieSearchResultConnector from './ImportMovieSearchResultConnector';
import ImportMovieTitle from './ImportMovieTitle';
import styles from './ImportMovieSelectMovie.css';
@ -174,7 +175,7 @@ class ImportMovieSelectMovie extends Component {
kind={kinds.WARNING}
/>
No match found!
{translate('NoMatchFound')}
</div> :
null
}
@ -189,7 +190,7 @@ class ImportMovieSelectMovie extends Component {
kind={kinds.WARNING}
/>
Search failed, please try again later.
{translate('SearchFailedPleaseTryAgainLater')}
</div> :
null
}

@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
import React from 'react';
import Label from 'Components/Label';
import { kinds } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
import styles from './ImportMovieTitle.css';
function ImportMovieTitle(props) {
@ -33,7 +34,7 @@ function ImportMovieTitle(props) {
<Label
kind={kinds.WARNING}
>
Existing
{translate('Existing')}
</Label>
}
</div>

@ -101,12 +101,8 @@ class ImportMovieSelectFolder extends Component {
<div className={styles.tips}>
{translate('ImportTipsMessage')}
<ul>
<li className={styles.tip}>
Make sure that your files include the quality in their filenames. eg. <span className={styles.code}>movie.2008.bluray.mkv</span>
</li>
<li className={styles.tip}>
Point Radarr to the folder containing all of your movies, not a specific one. eg. <span className={styles.code}>"{isWindows ? 'C:\\movies' : '/movies'}"</span> and not <span className={styles.code}>"{isWindows ? 'C:\\movies\\the matrix' : '/movies/the matrix'}"</span>
</li>
<li className={styles.tip} dangerouslySetInnerHTML={{ __html: translate('ImportIncludeQuality', ['<code>movie.2008.bluray.mkv</code>']) }} />
<li className={styles.tip} dangerouslySetInnerHTML={{ __html: translate('ImportRootPath', [`<code>${isWindows ? 'C:\\movies' : '/movies'}</code>`, `<code>${isWindows ? 'C:\\movies\\the matrix' : '/movies/the matrix'}</code>`]) }} />
</ul>
</div>
@ -158,7 +154,7 @@ class ImportMovieSelectFolder extends Component {
className={styles.importButtonIcon}
name={icons.DRIVE}
/>
Start Import
{translate('StartImport')}
</Button>
</div>
}

@ -51,7 +51,7 @@ function MovieIndexPosterInfo(props) {
return (
<div className={styles.info}>
{`Added ${addedDate}`}
{`translate('Added') ${addedDate}`}
</div>
);
}
@ -69,7 +69,7 @@ function MovieIndexPosterInfo(props) {
return (
<div className={styles.info}>
{`In Cinemas ${inCinemasDate}`}
{`translate('InCinemas') ${inCinemasDate}`}
</div>
);
}
@ -87,7 +87,7 @@ function MovieIndexPosterInfo(props) {
return (
<div className={styles.info}>
{`Digital ${digitalReleaseDate}`}
{`translate('Digital') ${digitalReleaseDate}`}
</div>
);
}
@ -105,7 +105,7 @@ function MovieIndexPosterInfo(props) {
return (
<div className={styles.info}>
{`Released ${physicalReleaseDate}`}
{`translate('Released') ${physicalReleaseDate}`}
</div>
);
}

@ -36,7 +36,7 @@ function EditRestrictionModalContent(props) {
return (
<ModalContent onModalClose={onModalClose}>
<ModalHeader>
{id ? 'Edit Restriction' : 'Add Restriction'}
{id ? translate('EditRestriction') : translate('AddRestriction')}
</ModalHeader>
<ModalBody>
@ -51,7 +51,7 @@ function EditRestrictionModalContent(props) {
name="required"
helpText={translate('RequiredHelpText')}
kind={kinds.SUCCESS}
placeholder={translate('RequiredPlaceHolder')}
placeholder={translate('RequiredRestrictionPlaceHolder')}
{...required}
onChange={onInputChange}
/>

@ -6,10 +6,11 @@
"Added": "Added",
"AddExclusion": "Add Exclusion",
"AddImportExclusionHelpText": "Prevent movie from being added to Radarr by lists",
"AddingTag": "Adding tag",
"AddIndexer": "Add Indexer",
"AddingTag": "Adding tag",
"AddList": "Add List",
"AddListExclusion": "Add List Exclusion",
"AddMovie": "Add Movie",
"AddMovies": "Add Movies",
"AddMoviesMonitored": "Add Movies Monitored",
"AddNew": "Add New",
@ -17,6 +18,7 @@
"AddNewMovie": "Add New Movie",
"AddNewTmdbIdMessage": "You can also search using TMDb Id of a movie. eg. tmdb:71663",
"AddRemotePathMapping": "Add Remote Path Mapping",
"AddRestriction": "Add Restriction",
"Age": "Age",
"Agenda": "Agenda",
"AgeWhenGrabbed": "Age (when grabbed)",
@ -30,7 +32,6 @@
"AnalyseVideoFiles": "Analyse video files",
"Analytics": "Analytics",
"AnalyticsEnabledHelpText": "Send anonymous usage and error information to Radarr's servers. This includes information on your browser, which Radarr WebUI pages you use, error reporting as well as OS and runtime version. We will use this information to prioritize features and bug fixes.",
"AndNot": "and not",
"ApiKey": "API Key",
"AppDataDirectory": "AppData directory",
"AppDataLocationHealthCheckMessage": "Updating will not be possible to prevent deleting AppData on Update",
@ -74,6 +75,7 @@
"Calendar": "Calendar",
"Cancel": "Cancel",
"CancelPendingTask": "Are you sure you want to cancel this pending task?",
"CancelProcessing": "Cancel Processing",
"CantFindMovie": "Why can't I find my movie?",
"Cast": "Cast",
"CertificateValidation": "Certificate Validation",
@ -169,6 +171,7 @@
"DetailedProgressBar": "Detailed Progress Bar",
"DetailedProgressBarHelpText": "Show text on progess bar",
"Details": "Details",
"Digital": "Digital",
"DigitalRelease": "Digital Release",
"Disabled": "Disabled",
"Discover": "Discover",
@ -199,11 +202,12 @@
"DownloadWarning": "Download warning: {0}",
"DownloadWarningCheckDownloadClientForMoreDetails": "Download warning: check download client for more details",
"Edit": "Edit",
"Edition": "Edition",
"EditIndexer": "Edit Indexer",
"Edition": "Edition",
"EditMovie": "Edit Movie",
"EditPerson": "Edit Person",
"EditRemotePathMapping": "Edit Remote Path Mapping",
"EditRestriction": "Edit Restriction",
"Enable": "Enable",
"EnableAutoHelpText": "If enabled, Movies will be automatically added to Radarr from this list",
"EnableAutomaticAdd": "Enable Automatic Add",
@ -231,6 +235,7 @@
"Exception": "Exception",
"Excluded": "Excluded",
"ExcludeMovie": "Exclude Movie",
"Existing": "Existing",
"ExistingMovies": "Existing Movie(s)",
"ExistingTag": "Existing tag",
"ExportCustomFormat": "Export Custom Format",
@ -300,20 +305,21 @@
"ImportCustomFormat": "Import Custom Format",
"Imported": "Imported",
"ImportedTo": "Imported To",
"ImportErrors": "Import Errors",
"ImportExistingMovies": "Import Existing Movies",
"ImportExtraFiles": "Import Extra Files",
"ImportExtraFilesHelpText": "Import matching extra files (subtitles, nfo, etc) after importing an movie file",
"ImportFailed": "Import failed: {0}",
"ImportFailedInterp": "Import failed: {0}",
"ImportFirstTip": "Make sure that your files include the quality in their filenames. eg.",
"ImportHeader": "Import movies you already have",
"ImportIncludeQuality": "Make sure that your files include the quality in their filenames. eg. {0}",
"Importing": "Importing",
"ImportListStatusCheckAllClientMessage": "All lists are unavailable due to failures",
"ImportListStatusCheckSingleClientMessage": "Lists unavailable due to failures: {0}",
"ImportListSyncIntervalHelpText": "How often Radarr syncs with your lists.",
"ImportMechanismHealthCheckMessage": "Enable Completed Download Handling",
"ImportMovies": "Import Movies",
"ImportSecondTip": "Point Radarr to the folder containing all of your movies, not a specific one. eg.",
"ImportRootPath": "Point Radarr to the folder containing all of your movies, not a specific one. eg. {0} and not {1}",
"ImportTipsMessage": "Some tips to ensure the import goes smoothly:",
"InCinemas": "In Cinemas",
"IncludeCustomFormatWhenRenaming": "Include Custom Format when Renaming",
@ -422,12 +428,16 @@
"Movie": "Movie",
"MovieAlreadyExcluded": "Movie already Excluded",
"MovieAvailableButMissing": "Movie Available, but Missing",
"MovieDetailsNextMovie": "Movie Details: Next Movie",
"MovieDetailsPreviousMovie": "Movie Details: Previous Movie",
"MovieEditor": "Movie Editor",
"MovieExcludedFromAutomaticAdd": "Movie Excluded From Automatic Add",
"MovieFiles": "Movie Files",
"MovieFolderFormat": "Movie Folder Format",
"MovieID": "Movie ID",
"MovieIndex": "Movie Index",
"MovieIndexScrollBottom": "Movie Index: Scroll Bottom",
"MovieIndexScrollTop": "Movie Index: Scroll Top",
"MovieInfoLanguage": "Movie Info Language",
"MovieInfoLanguageHelpText": "Language that Radarr will use for Movie Information in UI",
"MovieInfoLanguageHelpTextWarning": "Browser Reload Required",
@ -439,10 +449,6 @@
"MovieNaming": "Movie Naming",
"Movies": "Movies",
"MoviesSelectedInterp": "{0} Movie(s) Selected",
"MovieDetailsNextMovie": "Movie Details: Next Movie",
"MovieDetailsPreviousMovie": "Movie Details: Previous Movie",
"MovieIndexScrollBottom": "Movie Index: Scroll Bottom",
"MovieIndexScrollTop": "Movie Index: Scroll Top",
"MovieTitle": "Movie Title",
"MovieTitleHelpText": "The title of the movie to exclude (can be anything meaningful)",
"MovieYear": "Movie Year",
@ -461,6 +467,7 @@
"NoLeaveIt": "No, Leave It",
"NoLimitForAnyRuntime": "No limit for any runtime",
"NoLogFiles": "No log files",
"NoMatchFound": "No match found!",
"NoMinimumForAnyRuntime": "No minimum for any runtime",
"NoTagsHaveBeenAddedYet": "No tags have been added yet",
"NotAvailable": "Not Available",
@ -512,6 +519,7 @@
"PreviewRename": "Preview Rename",
"Priority": "Priority",
"PriorityHelpText": "Prioritize multiple Download Clients. Round-Robin is used for clients with the same priority.",
"ProcessingFolders": "Processing Folders",
"Profiles": "Profiles",
"ProfilesSettingsSummary": "Quality, Language and Delay profiles",
"Progress": "Progress",
@ -565,6 +573,7 @@
"RelativePath": "Relative Path",
"ReleaseBranchCheckOfficialBranchMessage": "Branch {0} is not a valid Radarr release branch, you will not receive updates",
"ReleaseBranchCheckPreviousVersionMessage": "Branch {0} is for a previous version of Radarr, set branch to 'Nightly' for further updates",
"Released": "Released",
"ReleaseDates": "Release Dates",
"ReleaseGroup": "Release Group",
"ReleaseRejected": "Release Rejected",
@ -596,6 +605,7 @@
"ReplaceIllegalCharactersHelpText": "Replace illegal characters. If unchecked, Radarr will remove them instead",
"RequiredHelpText": "This {0} condition must match for the custom format to apply. Otherwise a single {1} match is sufficient.",
"RequiredPlaceHolder": "Add new restriction",
"RequiredRestrictionPlaceHolder": "The release must contain at least one of these terms (case insensitive)",
"RescanAfterRefreshHelpText": "Rescan the movie folder after refreshing the movie",
"RescanAfterRefreshHelpTextWarning": "Radarr will not automatically detect changes to files when not set to 'Always'",
"RescanMovieFolderAfterRefresh": "Rescan Movie Folder after Refresh",
@ -628,6 +638,7 @@
"ScriptPath": "Script Path",
"Search": "Search",
"SearchAll": "Search All",
"SearchFailedPleaseTryAgainLater": "Search failed, please try again later.",
"SearchFiltered": "Search Filtered",
"SearchForMissing": "Search for Missing",
"SearchForMovie": "Search for movie",
@ -702,6 +713,9 @@
"SSLCertPathHelpText": "Path to pfx file",
"SSLPort": "SSL Port",
"StandardMovieFormat": "Standard Movie Format",
"StartImport": "Start Import",
"StartProcessing": "Start Processing",
"StartSearchForMissingMovie": "Start search for missing movie",
"StartTypingOrSelectAPathBelow": "Start typing or select a path below",
"StartupDirectory": "Startup directory",
"Status": "Status",

Loading…
Cancel
Save