diff --git a/contentcuration/contentcuration/constants/channel_history.py b/contentcuration/contentcuration/constants/channel_history.py index 28de05e035..790b4dfd51 100644 --- a/contentcuration/contentcuration/constants/channel_history.py +++ b/contentcuration/contentcuration/constants/channel_history.py @@ -1,13 +1,11 @@ -from django.utils.translation import ugettext_lazy as _ - CREATION = "creation" PUBLICATION = "publication" DELETION = "deletion" RECOVERY = "recovery" choices = ( - (CREATION, _("Creation")), - (PUBLICATION, _("Publication")), - (DELETION, _("Deletion")), - (RECOVERY, _("Deletion recovery")), + (CREATION, "Creation"), + (PUBLICATION, "Publication"), + (DELETION, "Deletion"), + (RECOVERY, "Deletion recovery"), ) diff --git a/contentcuration/contentcuration/constants/user_history.py b/contentcuration/contentcuration/constants/user_history.py index 76655993ef..9adc9b56c6 100644 --- a/contentcuration/contentcuration/constants/user_history.py +++ b/contentcuration/contentcuration/constants/user_history.py @@ -1,11 +1,9 @@ -from django.utils.translation import ugettext_lazy as _ - DELETION = "soft-deletion" RECOVERY = "soft-recovery" RELATED_DATA_HARD_DELETION = "related-data-hard-deletion" choices = ( - (DELETION, _("User soft deletion")), - (RECOVERY, _("User soft deletion recovery")), - (RELATED_DATA_HARD_DELETION, _("User related data hard deletion")), + (DELETION, "User soft deletion"), + (RECOVERY, "User soft deletion recovery"), + (RELATED_DATA_HARD_DELETION, "User related data hard deletion"), ) diff --git a/contentcuration/contentcuration/frontend/shared/mixins.js b/contentcuration/contentcuration/frontend/shared/mixins.js index 3158fdff58..b2efe145dc 100644 --- a/contentcuration/contentcuration/frontend/shared/mixins.js +++ b/contentcuration/contentcuration/frontend/shared/mixins.js @@ -52,10 +52,6 @@ const statusStrings = createTranslator('StatusStrings', { noStorageError: 'Not enough space', }); -export const validationStrings = createTranslator('ValidationStrings', { - message: 'Required information is missing', -}); - export const fileStatusMixin = { mixins: [fileSizeMixin], computed: { diff --git a/contentcuration/contentcuration/frontend/shared/views/errors/AppError.vue b/contentcuration/contentcuration/frontend/shared/views/errors/AppError.vue index 362a461a02..409359f11e 100644 --- a/contentcuration/contentcuration/frontend/shared/views/errors/AppError.vue +++ b/contentcuration/contentcuration/frontend/shared/views/errors/AppError.vue @@ -1,4 +1,4 @@ -