mirror of
https://github.com/Radarr/Radarr
synced 2025-02-21 13:57:02 +00:00
Fix missing translations and correct some keys
(cherry picked from commit ce4ac7594192fa8f63ba239607be61d229c24ce1)
This commit is contained in:
parent
85d51e485a
commit
4a41c67dfe
7 changed files with 22 additions and 17 deletions
|
@ -61,7 +61,7 @@ class QueueOptions extends Component {
|
|||
type={inputTypes.CHECK}
|
||||
name="includeUnknownMovieItems"
|
||||
value={includeUnknownMovieItems}
|
||||
helpText={translate('ShownUnknownMovieItemsHelpText')}
|
||||
helpText={translate('ShowUnknownMovieItemsHelpText')}
|
||||
onChange={this.onOptionChange}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
|
|
@ -41,7 +41,7 @@ function TimeleftCell(props) {
|
|||
return (
|
||||
<TableRowCell
|
||||
className={styles.timeleft}
|
||||
title={translate('RetryingDownload', { date, time })}
|
||||
title={translate('RetryingDownloadOn', { date, time })}
|
||||
>
|
||||
-
|
||||
</TableRowCell>
|
||||
|
|
|
@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
|
|||
import React from 'react';
|
||||
import TagInputTag from 'Components/Form/TagInputTag';
|
||||
import { kinds } from 'Helpers/Props';
|
||||
import translate from 'Utilities/String/translate';
|
||||
import styles from './FilterBuilderRowValueTag.css';
|
||||
|
||||
function FilterBuilderRowValueTag(props) {
|
||||
|
@ -15,10 +16,11 @@ function FilterBuilderRowValueTag(props) {
|
|||
/>
|
||||
|
||||
{
|
||||
!props.isLastTag &&
|
||||
<span className={styles.or}>
|
||||
or
|
||||
</span>
|
||||
props.isLastTag ?
|
||||
null :
|
||||
<div className={styles.or}>
|
||||
{translate('Or')}
|
||||
</div>
|
||||
}
|
||||
</span>
|
||||
);
|
||||
|
|
|
@ -102,7 +102,7 @@ class UMaskInput extends Component {
|
|||
</div>
|
||||
<div className={styles.details}>
|
||||
<div>
|
||||
<label>{translate('UMask')}</label>
|
||||
<label>{translate('Umask')}</label>
|
||||
<div className={styles.value}>{umask}</div>
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
@ -51,9 +51,9 @@ class TableOptionsModal extends Component {
|
|||
let pageSizeError = null;
|
||||
|
||||
if (value < 5) {
|
||||
pageSizeError = 'Page size must be at least 5';
|
||||
pageSizeError = translate('TablePageSizeMinimum', { minimumValue: '5' });
|
||||
} else if (value > 250) {
|
||||
pageSizeError = 'Page size must not exceed 250';
|
||||
pageSizeError = translate('TablePageSizeMaximum', { maximumValue: '250' });
|
||||
} else {
|
||||
this.props.onTableOptionChange({ pageSize: value });
|
||||
}
|
||||
|
@ -145,13 +145,13 @@ class TableOptionsModal extends Component {
|
|||
{
|
||||
hasPageSize ?
|
||||
<FormGroup>
|
||||
<FormLabel>{translate('PageSize')}</FormLabel>
|
||||
<FormLabel>{translate('TablePageSize')}</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.NUMBER}
|
||||
name="pageSize"
|
||||
value={pageSize || 0}
|
||||
helpText={translate('PageSizeHelpText')}
|
||||
helpText={translate('TablePageSizeHelpText')}
|
||||
errors={pageSizeError ? [{ message: pageSizeError }] : undefined}
|
||||
onChange={this.onPageSizeChange}
|
||||
/>
|
||||
|
|
|
@ -106,7 +106,7 @@ class ImportCustomFormatModalContent extends Component {
|
|||
<Form>
|
||||
<FormGroup size={sizes.MEDIUM}>
|
||||
<FormLabel>
|
||||
{translate('CustomFormatJSON')}
|
||||
{translate('CustomFormatJson')}
|
||||
</FormLabel>
|
||||
<FormInputGroup
|
||||
key={0}
|
||||
|
|
|
@ -203,7 +203,7 @@
|
|||
"CustomFilters": "Custom Filters",
|
||||
"CustomFormat": "Custom Format",
|
||||
"CustomFormatHelpText": "Radarr scores each release using the sum of scores for matching custom formats. If a new release would improve the score, at the same or better quality, then Radarr will grab it.",
|
||||
"CustomFormatJSON": "Custom Format JSON",
|
||||
"CustomFormatJson": "Custom Format JSON",
|
||||
"CustomFormatScore": "Custom Format Score",
|
||||
"CustomFormatUnknownCondition": "Unknown Custom Format condition '{0}'",
|
||||
"CustomFormatUnknownConditionOption": "Unknown option '{0}' for condition '{1}'",
|
||||
|
@ -771,6 +771,7 @@
|
|||
"OpenBrowserOnStart": "Open browser on start",
|
||||
"OpenThisModal": "Open This Modal",
|
||||
"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)?",
|
||||
|
@ -791,8 +792,6 @@
|
|||
"Overview": "Overview",
|
||||
"OverviewOptions": "Overview Options",
|
||||
"PackageVersion": "Package Version",
|
||||
"PageSize": "Page Size",
|
||||
"PageSizeHelpText": "Number of items to show on each page",
|
||||
"Parse": "Parse",
|
||||
"ParseModalErrorParsing": "Error parsing, please try again.",
|
||||
"ParseModalHelpText": "Enter a release title in the input above",
|
||||
|
@ -1114,9 +1113,9 @@
|
|||
"ShowTmdbRating": "Show TMDb Rating",
|
||||
"ShowTmdbRatingHelpText": "Show TMDb rating under poster",
|
||||
"ShowUnknownMovieItems": "Show Unknown Movie Items",
|
||||
"ShowUnknownMovieItemsHelpText": "Show items without a movie in the queue. This could include removed movies or anything else in Radarr's category",
|
||||
"ShowYear": "Show Year",
|
||||
"ShownClickToHide": "Shown, click to hide",
|
||||
"ShownUnknownMovieItemsHelpText": "Show items without a movie in the queue. This could include removed movies or anything else in Radarr's category",
|
||||
"Shutdown": "Shutdown",
|
||||
"Size": "Size",
|
||||
"SizeLimit": "Size Limit",
|
||||
|
@ -1159,6 +1158,10 @@
|
|||
"TableOptions": "Table Options",
|
||||
"TableOptionsButton": "Table Options Button",
|
||||
"TableOptionsColumnsMessage": "Choose which columns are visible and which order they appear in",
|
||||
"TablePageSize": "Page Size",
|
||||
"TablePageSizeHelpText": "Number of items to show on each page",
|
||||
"TablePageSizeMaximum": "Page size must not exceed {maximumValue}",
|
||||
"TablePageSizeMinimum": "Page size must be at least {minimumValue}",
|
||||
"TagCannotBeDeletedWhileInUse": "Cannot be deleted while in use",
|
||||
"TagDetails": "Tag Details - {label}",
|
||||
"TagIsNotUsedAndCanBeDeleted": "Tag is not used and can be deleted",
|
||||
|
@ -1208,8 +1211,8 @@
|
|||
"UILanguageHelpTextWarning": "Browser Reload Required",
|
||||
"UISettings": "UI Settings",
|
||||
"UISettingsSummary": "Calendar, date and color impaired options",
|
||||
"UMask": "UMask",
|
||||
"URLBase": "URL Base",
|
||||
"Umask": "Umask",
|
||||
"UnableToAddANewConditionPleaseTryAgain": "Unable to add a new condition, please try again.",
|
||||
"UnableToAddANewCustomFormatPleaseTryAgain": "Unable to add a new custom format, please try again.",
|
||||
"UnableToAddANewDownloadClientPleaseTryAgain": "Unable to add a new download client, please try again.",
|
||||
|
|
Loading…
Reference in a new issue