Change deny to reject.

This commit is contained in:
elweyn 2023-01-17 16:11:14 +01:00
parent d3549ef144
commit c73135e522
4 changed files with 8 additions and 8 deletions

View File

@ -56,7 +56,7 @@
"deleted": "gelöscht",
"deleted_user": "Alle gelöschten Nutzer",
"delete_user": "Nutzer löschen",
"deny": "Ablehnen",
"reject": "Ablehnen",
"edit": "Bearbeiten",
"enabled": "aktiviert",
"error": "Fehler",

View File

@ -38,7 +38,7 @@
"enter_text": "Enter text",
"form": "Creation form",
"min_characters": "Enter at least 10 characters",
"rejectNow": "Do you really want to deny this contribution to the community?",
"rejectNow": "Do you really want to reject this contribution to the community?",
"reset": "Reset",
"select_month": "Select month",
"select_value": "Select amount",
@ -56,7 +56,7 @@
"deleted": "deleted",
"deleted_user": "All deleted user",
"delete_user": "Delete user",
"deny": "Deny",
"reject": "Reject",
"edit": "Edit",
"enabled": "enabled",
"error": "Error",

View File

@ -76,7 +76,7 @@ describe('CreationConfirm', () => {
const listUnconfirmedContributionsMock = jest.fn()
const adminDeleteContributionMock = jest.fn()
const adminDenyContributionMock = jest.fn()
const adminRejectContributionMock = jest.fn()
const confirmContributionMock = jest.fn()
mockClient.setRequestHandler(
@ -93,7 +93,7 @@ describe('CreationConfirm', () => {
mockClient.setRequestHandler(
rejectContribution,
adminDenyContributionMock.mockResolvedValue({ data: { rejectContribution: true } }),
adminRejectContributionMock.mockResolvedValue({ data: { rejectContribution: true } }),
)
mockClient.setRequestHandler(
@ -266,7 +266,7 @@ describe('CreationConfirm', () => {
})
it('calls the adminDeleteContribution mutation', () => {
expect(adminDenyContributionMock).toBeCalledWith({ id: 1 })
expect(adminRejectContributionMock).toBeCalledWith({ id: 1 })
})
it('commits openCreationsMinus to store', () => {
@ -286,7 +286,7 @@ describe('CreationConfirm', () => {
})
it('does not call the adminDeleteContribution mutation', () => {
expect(adminDenyContributionMock).not.toBeCalled()
expect(adminRejectContributionMock).not.toBeCalled()
})
})
})

View File

@ -132,7 +132,7 @@ export default {
{ key: 'moderator', label: this.$t('moderator') },
{ key: 'editCreation', label: this.$t('edit') },
{ key: 'confirm', label: this.$t('save') },
{ key: 'deny', label: this.$t('deny') },
{ key: 'reject', label: this.$t('reject') },
]
},
},