fix(lang): rename 'Media' notification types for clarity (#2400)

This commit is contained in:
TheCatLady
2022-01-09 06:46:33 -08:00
committed by GitHub
parent 4e56bae985
commit 399b037918
3 changed files with 18 additions and 18 deletions

View File

@@ -47,15 +47,15 @@ These variables are for the target recipient of the notification.
{% hint style="info" %} {% hint style="info" %}
The `notifyuser` variables are not defined for the following request notification types, as they are intended for application administrators rather than end users: The `notifyuser` variables are not defined for the following request notification types, as they are intended for application administrators rather than end users:
- Media Requested - Request Pending Approval
- Media Automatically Approved - Request Automatically Approved
- Media Failed - Request Processing Failed
On the other hand, the `notifyuser` variables _will_ be replaced with the requesting user's information for the below notification types: On the other hand, the `notifyuser` variables _will_ be replaced with the requesting user's information for the below notification types:
- Media Approved - Request Approved
- Media Declined - Request Declined
- Media Available - Request Available
If you would like to use the requesting user's information in your webhook, please instead include the relevant variables from the [Request](#request) section below. If you would like to use the requesting user's information in your webhook, please instead include the relevant variables from the [Request](#request) section below.
{% endhint %} {% endhint %}

View File

@@ -7,32 +7,32 @@ import NotificationType from './NotificationType';
const messages = defineMessages({ const messages = defineMessages({
notificationTypes: 'Notification Types', notificationTypes: 'Notification Types',
mediarequested: 'Media Requested', mediarequested: 'Request Pending Approval',
mediarequestedDescription: mediarequestedDescription:
'Send notifications when users submit new media requests which require approval.', 'Send notifications when users submit new media requests which require approval.',
usermediarequestedDescription: usermediarequestedDescription:
'Get notified when other users submit new media requests which require approval.', 'Get notified when other users submit new media requests which require approval.',
mediaapproved: 'Media Approved', mediaapproved: 'Request Approved',
mediaapprovedDescription: mediaapprovedDescription:
'Send notifications when media requests are manually approved.', 'Send notifications when media requests are manually approved.',
usermediaapprovedDescription: usermediaapprovedDescription:
'Get notified when your media requests are approved.', 'Get notified when your media requests are approved.',
mediaAutoApproved: 'Media Automatically Approved', mediaAutoApproved: 'Request Automatically Approved',
mediaAutoApprovedDescription: mediaAutoApprovedDescription:
'Send notifications when users submit new media requests which are automatically approved.', 'Send notifications when users submit new media requests which are automatically approved.',
usermediaAutoApprovedDescription: usermediaAutoApprovedDescription:
'Get notified when other users submit new media requests which are automatically approved.', 'Get notified when other users submit new media requests which are automatically approved.',
mediaavailable: 'Media Available', mediaavailable: 'Request Available',
mediaavailableDescription: mediaavailableDescription:
'Send notifications when media requests become available.', 'Send notifications when media requests become available.',
usermediaavailableDescription: usermediaavailableDescription:
'Get notified when your media requests become available.', 'Get notified when your media requests become available.',
mediafailed: 'Media Failed', mediafailed: 'Request Processing Failed',
mediafailedDescription: mediafailedDescription:
'Send notifications when media requests fail to be added to Radarr or Sonarr.', 'Send notifications when media requests fail to be added to Radarr or Sonarr.',
usermediafailedDescription: usermediafailedDescription:
'Get notified when media requests fail to be added to Radarr or Sonarr.', 'Get notified when media requests fail to be added to Radarr or Sonarr.',
mediadeclined: 'Media Declined', mediadeclined: 'Request Declined',
mediadeclinedDescription: mediadeclinedDescription:
'Send notifications when media requests are declined.', 'Send notifications when media requests are declined.',
usermediadeclinedDescription: usermediadeclinedDescription:

View File

@@ -179,17 +179,17 @@
"components.NotificationTypeSelector.issuereopenedDescription": "Send notifications when issues are reopened.", "components.NotificationTypeSelector.issuereopenedDescription": "Send notifications when issues are reopened.",
"components.NotificationTypeSelector.issueresolved": "Issue Resolved", "components.NotificationTypeSelector.issueresolved": "Issue Resolved",
"components.NotificationTypeSelector.issueresolvedDescription": "Send notifications when issues are resolved.", "components.NotificationTypeSelector.issueresolvedDescription": "Send notifications when issues are resolved.",
"components.NotificationTypeSelector.mediaAutoApproved": "Media Automatically Approved", "components.NotificationTypeSelector.mediaAutoApproved": "Request Automatically Approved",
"components.NotificationTypeSelector.mediaAutoApprovedDescription": "Send notifications when users submit new media requests which are automatically approved.", "components.NotificationTypeSelector.mediaAutoApprovedDescription": "Send notifications when users submit new media requests which are automatically approved.",
"components.NotificationTypeSelector.mediaapproved": "Media Approved", "components.NotificationTypeSelector.mediaapproved": "Request Approved",
"components.NotificationTypeSelector.mediaapprovedDescription": "Send notifications when media requests are manually approved.", "components.NotificationTypeSelector.mediaapprovedDescription": "Send notifications when media requests are manually approved.",
"components.NotificationTypeSelector.mediaavailable": "Media Available", "components.NotificationTypeSelector.mediaavailable": "Request Available",
"components.NotificationTypeSelector.mediaavailableDescription": "Send notifications when media requests become available.", "components.NotificationTypeSelector.mediaavailableDescription": "Send notifications when media requests become available.",
"components.NotificationTypeSelector.mediadeclined": "Media Declined", "components.NotificationTypeSelector.mediadeclined": "Request Declined",
"components.NotificationTypeSelector.mediadeclinedDescription": "Send notifications when media requests are declined.", "components.NotificationTypeSelector.mediadeclinedDescription": "Send notifications when media requests are declined.",
"components.NotificationTypeSelector.mediafailed": "Media Failed", "components.NotificationTypeSelector.mediafailed": "Request Processing Failed",
"components.NotificationTypeSelector.mediafailedDescription": "Send notifications when media requests fail to be added to Radarr or Sonarr.", "components.NotificationTypeSelector.mediafailedDescription": "Send notifications when media requests fail to be added to Radarr or Sonarr.",
"components.NotificationTypeSelector.mediarequested": "Media Requested", "components.NotificationTypeSelector.mediarequested": "Request Pending Approval",
"components.NotificationTypeSelector.mediarequestedDescription": "Send notifications when users submit new media requests which require approval.", "components.NotificationTypeSelector.mediarequestedDescription": "Send notifications when users submit new media requests which require approval.",
"components.NotificationTypeSelector.notificationTypes": "Notification Types", "components.NotificationTypeSelector.notificationTypes": "Notification Types",
"components.NotificationTypeSelector.userissuecommentDescription": "Get notified when issues you reported receive new comments.", "components.NotificationTypeSelector.userissuecommentDescription": "Get notified when issues you reported receive new comments.",