diff --git a/src/components/audit/filters/action.vue b/src/components/audit/filters/action.vue index a1235c441..0047acd69 100644 --- a/src/components/audit/filters/action.vue +++ b/src/components/audit/filters/action.vue @@ -59,6 +59,7 @@ export default { this.actionOption('form.update.draft.set'), this.actionOption('form.update.publish'), this.actionOption('form.update.draft.delete'), + this.actionOption('form.update.draft.replace'), this.actionOption('form.attachment.update'), this.actionOption('form.submission.export'), this.actionOption('form.delete'), diff --git a/src/locales/en.json5 b/src/locales/en.json5 index 9d74468e3..cca029232 100644 --- a/src/locales/en.json5 +++ b/src/locales/en.json5 @@ -126,6 +126,7 @@ "create": "@:audit.action.default.create", "update": "@:audit.action.default.update", "update_draft_set": "Create or Update Draft", + "update_draft_replace": "Replace Draft", "update_publish": "Publish Draft", "update_draft_delete": "Abandon Draft", "attachment_update": "Update Attachments", @@ -158,7 +159,8 @@ // type of action that the server performs when it is upgraded. "upgrade": { "process_form": "Process Form", - "process_form_draft": "Process Form Draft" + "process_form_draft": "Process Form Draft", + "process_form_entities_version": "Flag Form for Upgrade" }, // This is shown in the log of actions performed on the server. It is a // type of action that can be taken on or for a Web User. diff --git a/test/components/audit/table.spec.js b/test/components/audit/table.spec.js index 332be72ea..12e86743d 100644 --- a/test/components/audit/table.spec.js +++ b/test/components/audit/table.spec.js @@ -162,6 +162,7 @@ describe('AuditTable', () => { ['form.create', ['Form', 'Create']], ['form.update', ['Form', 'Update Details']], ['form.update.draft.set', ['Form', 'Create or Update Draft']], + ['form.update.draft.replace', ['Form', 'Replace Draft']], ['form.update.publish', ['Form', 'Publish Draft']], ['form.update.draft.delete', ['Form', 'Abandon Draft']], ['form.attachment.update', ['Form', 'Update Attachments']], @@ -170,7 +171,8 @@ describe('AuditTable', () => { ['form.restore', ['Form', 'Undelete']], ['form.purge', ['Form', 'Purge']], ['upgrade.process.form', ['Server Upgrade', 'Process Form']], - ['upgrade.process.form.draft', ['Server Upgrade', 'Process Form Draft']] + ['upgrade.process.form.draft', ['Server Upgrade', 'Process Form Draft']], + ['upgrade.process.form.entities_version', ['Server Upgrade', 'Flag Form for Upgrade']] ]; for (const [action, type] of cases) { diff --git a/transifex/strings_en.json b/transifex/strings_en.json index a7760b13e..71950f545 100644 --- a/transifex/strings_en.json +++ b/transifex/strings_en.json @@ -241,6 +241,10 @@ "string": "Create or Update Draft", "developer_comment": "This is shown in the log of actions performed on the server. It is a type of action that can be taken on a Form." }, + "update_draft_replace": { + "string": "Replace Draft", + "developer_comment": "This is shown in the log of actions performed on the server. It is a type of action that can be taken on a Form." + }, "update_publish": { "string": "Publish Draft", "developer_comment": "This is shown in the log of actions performed on the server. It is a type of action that can be taken on a Form." @@ -290,6 +294,10 @@ "process_form_draft": { "string": "Process Form Draft", "developer_comment": "This is shown in the log of actions performed on the server. It is a type of action that the server performs when it is upgraded." + }, + "process_form_entities_version": { + "string": "Flag Form for Upgrade", + "developer_comment": "This is shown in the log of actions performed on the server. It is a type of action that the server performs when it is upgraded." } }, "user": {