Skip to content

Commit

Permalink
curation: jobs: make title/description translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
yashlamba committed Nov 28, 2024
1 parent ad85fee commit 9ffcdfe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/zenodo_rdm/curation/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from datetime import datetime, timezone

from invenio_jobs.jobs import JobType
from invenio_i18n import lazy_gettext as _
from marshmallow import Schema, fields
from marshmallow_utils.fields import ISODateString

Expand All @@ -31,8 +32,8 @@ class EURecordCuration(JobType):

arguments_schema = ArgsSchema
task = run_eu_record_curation
description = "Curate published records for EU community"
title = "EU Record Curation"
description = _("Curate published records for EU community")
title = _("EU Record Curation")
id = "eu_record_curation"

@classmethod
Expand Down

0 comments on commit 9ffcdfe

Please sign in to comment.