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 authored and slint committed Dec 2, 2024
1 parent 2c30ab1 commit ea37f28
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 @@ -8,6 +8,7 @@

from datetime import datetime, timezone

from invenio_i18n import lazy_gettext as _
from invenio_jobs.jobs import JobType
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 ea37f28

Please sign in to comment.