mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-26 04:33:01 +01:00
Rename 'On Upgrade' to 'On File Upgrade'
This commit is contained in:
parent
6afd3bd344
commit
f5ccf98162
@ -115,7 +115,7 @@ class Notification extends Component {
|
||||
{
|
||||
supportsOnUpgrade && onDownload && onUpgrade ?
|
||||
<Label kind={kinds.SUCCESS}>
|
||||
{translate('OnUpgrade')}
|
||||
{translate('OnFileUpgrade')}
|
||||
</Label> :
|
||||
null
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ function NotificationEventItems(props) {
|
||||
<FormInputGroup
|
||||
type={inputTypes.CHECK}
|
||||
name="onUpgrade"
|
||||
helpText={translate('OnUpgrade')}
|
||||
helpText={translate('OnFileUpgrade')}
|
||||
isDisabled={!supportsOnUpgrade.value}
|
||||
{...onUpgrade}
|
||||
onChange={onInputChange}
|
||||
|
@ -1460,6 +1460,7 @@
|
||||
"OnEpisodeFileDelete": "On Episode File Delete",
|
||||
"OnEpisodeFileDeleteForUpgrade": "On Episode File Delete For Upgrade",
|
||||
"OnFileImport": "On File Import",
|
||||
"OnFileUpgrade": "On File Upgrade",
|
||||
"OnGrab": "On Grab",
|
||||
"OnHealthIssue": "On Health Issue",
|
||||
"OnHealthRestored": "On Health Restored",
|
||||
@ -1469,7 +1470,6 @@
|
||||
"OnRename": "On Rename",
|
||||
"OnSeriesAdd": "On Series Add",
|
||||
"OnSeriesDelete": "On Series Delete",
|
||||
"OnUpgrade": "On Upgrade",
|
||||
"OneMinute": "1 Minute",
|
||||
"OneSeason": "1 Season",
|
||||
"OnlyForBulkSeasonReleases": "Only for Bulk Season Releases",
|
||||
|
@ -14,6 +14,7 @@ namespace NzbDrone.Core.Notifications
|
||||
public List<Episode> Episodes { get; set; }
|
||||
public List<EpisodeFile> EpisodeFiles { get; set; }
|
||||
public string SourcePath { get; set; }
|
||||
public string SourceTitle { get; set; }
|
||||
public DownloadClientItemClientInfo DownloadClientInfo { get; set; }
|
||||
public string DownloadId { get; set; }
|
||||
public GrabbedReleaseInfo Release { get; set; }
|
||||
|
@ -268,6 +268,7 @@ namespace NzbDrone.Core.Notifications
|
||||
Episodes = episodes,
|
||||
EpisodeFiles = message.EpisodeFiles,
|
||||
SourcePath = message.SourcePath,
|
||||
SourceTitle = parsedEpisodeInfo.ReleaseTitle,
|
||||
DestinationPath = message.EpisodeFiles.Select(e => Path.Join(series.Path, e.RelativePath)).ToList().GetLongestCommonPath(),
|
||||
ReleaseGroup = parsedEpisodeInfo.ReleaseGroup,
|
||||
ReleaseQuality = parsedEpisodeInfo.Quality
|
||||
|
Loading…
Reference in New Issue
Block a user