File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed
Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 4343 run : npx semantic-release
4444 discord :
4545 name : Send Discord Notification
46+ needs : semantic-release
4647 runs-on : ubuntu-20.04
4748 steps :
4849 - name : Get Build Job Status
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const messages = defineMessages({
3838 request4kfrom : 'There is currently a pending 4K request from {username}' ,
3939 errorediting : 'Something went wrong editing the request.' ,
4040 requestedited : 'Request edited.' ,
41+ autoapproval : 'Auto Approval' ,
4142} ) ;
4243
4344interface RequestModalProps extends React . HTMLAttributes < HTMLDivElement > {
@@ -259,7 +260,7 @@ const MovieRequestModal: React.FC<RequestModalProps> = ({
259260 hasPermission ( Permission . AUTO_APPROVE ) ||
260261 hasPermission ( Permission . AUTO_APPROVE_MOVIE ) ) && (
261262 < p className = "mt-6" >
262- < Alert title = "Auto Approval" type = "info" >
263+ < Alert title = { intl . formatMessage ( messages . autoapproval ) } type = "info" >
263264 { intl . formatMessage ( messages . requestadmin ) }
264265 </ Alert >
265266 </ p >
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ const messages = defineMessages({
3939 errorediting : 'Something went wrong editing the request.' ,
4040 requestedited : 'Request edited.' ,
4141 requestcancelled : 'Request cancelled.' ,
42+ autoapproval : 'Auto Approval' ,
4243} ) ;
4344
4445interface RequestModalProps extends React . HTMLAttributes < HTMLDivElement > {
@@ -313,10 +314,13 @@ const TvRequestModal: React.FC<RequestModalProps> = ({
313314 >
314315 { ( hasPermission ( Permission . MANAGE_REQUESTS ) ||
315316 hasPermission ( Permission . AUTO_APPROVE ) ||
316- hasPermission ( Permission . AUTO_APPROVE_MOVIE ) ) &&
317+ hasPermission ( Permission . AUTO_APPROVE_TV ) ) &&
317318 ! editRequest && (
318319 < p className = "mt-6" >
319- < Alert title = "Auto Approval" type = "info" >
320+ < Alert
321+ title = { intl . formatMessage ( messages . autoapproval ) }
322+ type = "info"
323+ >
320324 { intl . formatMessage ( messages . requestadmin ) }
321325 </ Alert >
322326 </ p >
Original file line number Diff line number Diff line change 134134 "components.RequestModal.AdvancedRequester.loadingprofiles" : " Loading profiles…" ,
135135 "components.RequestModal.AdvancedRequester.qualityprofile" : " Quality Profile" ,
136136 "components.RequestModal.AdvancedRequester.rootfolder" : " Root Folder" ,
137+ "components.RequestModal.autoapproval" : " Auto Approval" ,
137138 "components.RequestModal.cancel" : " Cancel Request" ,
138139 "components.RequestModal.cancelling" : " Cancelling…" ,
139140 "components.RequestModal.cancelrequest" : " This will remove your request. Are you sure you want to continue?" ,
You can’t perform that action at this time.
0 commit comments