Skip to content

Commit

Permalink
contrib: specify proceedings in imprint title label
Browse files Browse the repository at this point in the history
  • Loading branch information
ptamarit committed Jan 7, 2025
1 parent de2a0e4 commit 83eb674
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions invenio_rdm_records/contrib/imprint/custom_fields.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

Check failure on line 1 in invenio_rdm_records/contrib/imprint/custom_fields.py

View workflow job for this annotation

GitHub Actions / Python / Tests (3.9, postgresql14, opensearch2)

Black format check --- /home/runner/work/invenio-rdm-records/invenio-rdm-records/invenio_rdm_records/contrib/imprint/custom_fields.py 2025-01-07 10:23:33.525460+00:00 +++ /home/runner/work/invenio-rdm-records/invenio-rdm-records/invenio_rdm_records/contrib/imprint/custom_fields.py 2025-01-07 10:44:00.535073+00:00 @@ -71,11 +71,13 @@ { "field": "imprint:imprint", "ui_widget": "Imprint", "template": "imprint.html", "props": { - "label": _("Imprint (Book, Chapter, Report, or Conference proceedings)"), + "label": _( + "Imprint (Book, Chapter, Report, or Conference proceedings)" + ), "place": { "label": _("Place"), "placeholder": _("e.g. city, country"), "description": _("Place where the book or report was published"), },

Check failure on line 1 in invenio_rdm_records/contrib/imprint/custom_fields.py

View workflow job for this annotation

GitHub Actions / Python / Tests (3.12, postgresql14, opensearch2)

Black format check --- /home/runner/work/invenio-rdm-records/invenio-rdm-records/invenio_rdm_records/contrib/imprint/custom_fields.py 2025-01-07 10:23:33.108099+00:00 +++ /home/runner/work/invenio-rdm-records/invenio-rdm-records/invenio_rdm_records/contrib/imprint/custom_fields.py 2025-01-07 10:48:18.333438+00:00 @@ -71,11 +71,13 @@ { "field": "imprint:imprint", "ui_widget": "Imprint", "template": "imprint.html", "props": { - "label": _("Imprint (Book, Chapter, Report, or Conference proceedings)"), + "label": _( + "Imprint (Book, Chapter, Report, or Conference proceedings)" + ), "place": { "label": _("Place"), "placeholder": _("e.g. city, country"), "description": _("Place where the book or report was published"), },
#
# Copyright (C) 2023 CERN.
# Copyright (C) 2023-2025 CERN.
#
# Invenio-RDM-Records is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.
Expand Down Expand Up @@ -73,7 +73,7 @@ def mapping(self):
"ui_widget": "Imprint",
"template": "imprint.html",
"props": {
"label": _("Imprint (Book, Chapter, or Report)"),
"label": _("Imprint (Book, Chapter, Report, or Conference proceedings)"),
"place": {
"label": _("Place"),
"placeholder": _("e.g. city, country"),
Expand All @@ -85,10 +85,10 @@ def mapping(self):
"description": _("International Standard Book Number"),
},
"title": {
"label": _("Book or report title"),
"label": _("Book, report title, or proceedings"),
"placeholder": "",
"description": _(
"Title of the book or report which this upload is part of"
"Title of the book, report, or proceedings which this upload is part of"
),
},
"pages": {
Expand Down

0 comments on commit 83eb674

Please sign in to comment.