Fix missing translations and correct some keys

This commit is contained in:
Stevie Robinson 2023-08-29 04:27:47 +02:00 committed by GitHub
parent 36c7c79b9e
commit ce4ac75941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 16 additions and 10 deletions

View File

@ -61,7 +61,7 @@ class QueueOptions extends Component {
type={inputTypes.CHECK} type={inputTypes.CHECK}
name="includeUnknownSeriesItems" name="includeUnknownSeriesItems"
value={includeUnknownSeriesItems} value={includeUnknownSeriesItems}
helpText={translate('ShownUnknownSeriesItemsHelpText')} helpText={translate('ShowUnknownSeriesItemsHelpText')}
onChange={this.onOptionChange} onChange={this.onOptionChange}
/> />
</FormGroup> </FormGroup>

View File

@ -41,7 +41,7 @@ function TimeleftCell(props) {
return ( return (
<TableRowCell <TableRowCell
className={styles.timeleft} className={styles.timeleft}
title={translate('RetryingDownload', { date, time })} title={translate('RetryingDownloadOn', { date, time })}
> >
- -
</TableRowCell> </TableRowCell>

View File

@ -19,7 +19,7 @@ function FilterBuilderRowValueTag(props) {
props.isLastTag ? props.isLastTag ?
null : null :
<div className={styles.or}> <div className={styles.or}>
{translate('or')} {translate('Or')}
</div> </div>
} }
</div> </div>

View File

@ -112,7 +112,7 @@ class UMaskInput extends Component {
</div> </div>
<div className={styles.details}> <div className={styles.details}>
<div> <div>
<label>{translate('UMask')}</label> <label>{translate('Umask')}</label>
<div className={styles.value}>{umask}</div> <div className={styles.value}>{umask}</div>
</div> </div>
<div> <div>

View File

@ -145,7 +145,7 @@ class TableOptionsModal extends Component {
{ {
hasPageSize ? hasPageSize ?
<FormGroup> <FormGroup>
<FormLabel>{translate('PageSize')}</FormLabel> <FormLabel>{translate('TablePageSize')}</FormLabel>
<FormInputGroup <FormInputGroup
type={inputTypes.NUMBER} type={inputTypes.NUMBER}

View File

@ -105,7 +105,7 @@ class ImportCustomFormatModalContent extends Component {
<Form> <Form>
<FormGroup size={sizes.MEDIUM}> <FormGroup size={sizes.MEDIUM}>
<FormLabel> <FormLabel>
{translate('CustomFormatJSON')} {translate('CustomFormatJson')}
</FormLabel> </FormLabel>
<FormInputGroup <FormInputGroup
key={0} key={0}

View File

@ -67,7 +67,7 @@ class AddImportListModalContent extends Component {
return ( return (
<FieldSet key={key} legend={translate('TypeOfList', { <FieldSet key={key} legend={translate('TypeOfList', {
typeOfList: titleCase(key) typeOfList: titleCase(key)
})} // `${titleCase(key)} ${translate('List')}`} })}
> >
<div className={styles.lists}> <div className={styles.lists}>
{ {

View File

@ -47,7 +47,7 @@ class ReleaseProfiles extends Component {
} = this.props; } = this.props;
return ( return (
<FieldSet legend={translate('Release Profiles')}> <FieldSet legend={translate('ReleaseProfiles')}>
<PageSectionContent <PageSectionContent
errorMessage={translate('ReleaseProfilesLoadError')} errorMessage={translate('ReleaseProfilesLoadError')}
{...otherProps} {...otherProps}

View File

@ -201,6 +201,7 @@
"Connect": "Connect", "Connect": "Connect",
"ConnectSettings": "Connect Settings", "ConnectSettings": "Connect Settings",
"ConnectSettingsSummary": "Notifications, connections to media servers/players, and custom scripts", "ConnectSettingsSummary": "Notifications, connections to media servers/players, and custom scripts",
"Connection": "Connection",
"ConnectionLost": "Connection Lost", "ConnectionLost": "Connection Lost",
"ConnectionLostReconnect": "{appName} will try to connect automatically, or you can click reload below.", "ConnectionLostReconnect": "{appName} will try to connect automatically, or you can click reload below.",
"ConnectionLostToBackend": "{appName} has lost its connection to the backend and will need to be reloaded to restore functionality.", "ConnectionLostToBackend": "{appName} has lost its connection to the backend and will need to be reloaded to restore functionality.",
@ -225,6 +226,7 @@
"CustomFilters": "Custom Filters", "CustomFilters": "Custom Filters",
"CustomFormat": "Custom Format", "CustomFormat": "Custom Format",
"CustomFormatHelpText": "Sonarr 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 Sonarr will grab it.", "CustomFormatHelpText": "Sonarr 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 Sonarr will grab it.",
"CustomFormatJson": "Custom Format JSON",
"CustomFormatScore": "Custom Format Score", "CustomFormatScore": "Custom Format Score",
"CustomFormatUnknownCondition": "Unknown Custom Format condition '{implementation}'", "CustomFormatUnknownCondition": "Unknown Custom Format condition '{implementation}'",
"CustomFormatUnknownConditionOption": "Unknown option '{key}' for condition '{implementation}'", "CustomFormatUnknownConditionOption": "Unknown option '{key}' for condition '{implementation}'",
@ -239,6 +241,7 @@
"DailyTypeDescription": "Episodes released daily or less frequently that use year-month-day (2023-08-04)", "DailyTypeDescription": "Episodes released daily or less frequently that use year-month-day (2023-08-04)",
"DailyTypeFormat": "Date ({format})", "DailyTypeFormat": "Date ({format})",
"Dash": "Dash", "Dash": "Dash",
"Database": "Database",
"Date": "Date", "Date": "Date",
"Dates": "Dates", "Dates": "Dates",
"Day": "Day", "Day": "Day",
@ -628,6 +631,7 @@
"LastUsed": "Last Used", "LastUsed": "Last Used",
"LastWriteTime": "Last Write Time", "LastWriteTime": "Last Write Time",
"LatestSeason": "Latest Season", "LatestSeason": "Latest Season",
"Level": "Level",
"LiberaWebchat": "Libera Webchat", "LiberaWebchat": "Libera Webchat",
"LibraryImport": "Library Import", "LibraryImport": "Library Import",
"LibraryImportHeader": "Import series you already have", "LibraryImportHeader": "Import series you already have",
@ -857,6 +861,7 @@
"PendingDownloadClientUnavailable": "Pending - Download client is unavailable", "PendingDownloadClientUnavailable": "Pending - Download client is unavailable",
"Period": "Period", "Period": "Period",
"Permissions": "Permissions", "Permissions": "Permissions",
"Port": "Port",
"PortNumber": "Port Number", "PortNumber": "Port Number",
"PreferAndUpgrade": "Prefer and Upgrade", "PreferAndUpgrade": "Prefer and Upgrade",
"PreferProtocol": "Prefer {preferredProtocol}", "PreferProtocol": "Prefer {preferredProtocol}",
@ -1129,9 +1134,9 @@
"ShowEpisodeInformationHelpText": "Show episode title and number", "ShowEpisodeInformationHelpText": "Show episode title and number",
"ShowRelativeDates": "Show Relative Dates", "ShowRelativeDates": "Show Relative Dates",
"ShowRelativeDatesHelpText": "Show relative (Today/Yesterday/etc) or absolute dates", "ShowRelativeDatesHelpText": "Show relative (Today/Yesterday/etc) or absolute dates",
"ShowUnknownSeriesItems": "Show Unknown Series Items",
"ShowUnknownSeriesItemsHelpText": "Show items without a series in the queue, this could include removed series, movies or anything else in Sonarr's category",
"ShownClickToHide": "Shown, click to hide", "ShownClickToHide": "Shown, click to hide",
"ShownUnknownSeriesItems": "Show Unknown Series Items",
"ShownUnknownSeriesItemsHelpText": "Show items without a series in the queue, this could include removed series, movies or anything else in Sonarr's category",
"Shutdown": "Shutdown", "Shutdown": "Shutdown",
"SingleEpisode": "Single Episode", "SingleEpisode": "Single Episode",
"SingleEpisodeInvalidFormat": "Single Episode: Invalid Format", "SingleEpisodeInvalidFormat": "Single Episode: Invalid Format",
@ -1203,6 +1208,7 @@
"TaskUserAgentTooltip": "User-Agent provided by the app that called the API", "TaskUserAgentTooltip": "User-Agent provided by the app that called the API",
"Tasks": "Tasks", "Tasks": "Tasks",
"Tba": "TBA", "Tba": "TBA",
"Test": "Test",
"TestAll": "Test All", "TestAll": "Test All",
"TestAllClients": "Test All Clients", "TestAllClients": "Test All Clients",
"TestAllIndexers": "Test All Indexers", "TestAllIndexers": "Test All Indexers",