From 04d43fd8795954029963b6cc69fc29c601e60705 Mon Sep 17 00:00:00 2001
From: "Zeller, Christina"
Date: Wed, 8 Jun 2022 16:01:54 +0200
Subject: [PATCH] global: Fixes strings marked for translation.
* Adds dots at the end of sentences.
* Refs https://github.com/inveniosoftware/invenio-app-rdm/issues/1707
* Note: components.js will need some more fixes later.
---
invenio_app_rdm/records_ui/views/deposits.py | 2 +-
.../js/invenio_app_rdm/landing_page/ShareModal.js | 2 +-
.../semantic-ui/js/invenio_app_rdm/search/components.js | 5 ++---
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/invenio_app_rdm/records_ui/views/deposits.py b/invenio_app_rdm/records_ui/views/deposits.py
index 27075741c..954b0d5a1 100644
--- a/invenio_app_rdm/records_ui/views/deposits.py
+++ b/invenio_app_rdm/records_ui/views/deposits.py
@@ -53,7 +53,7 @@ def get_form_pids_config():
"pid_placeholder": "Copy/paste your existing DOI here...",
"can_be_managed": can_be_managed,
"can_be_unmanaged": can_be_unmanaged,
- "btn_label_discard_pid": _("Discard the reserved {scheme_label}").format(
+ "btn_label_discard_pid": _("Discard the reserved {scheme_label}.").format(
scheme_label=scheme_label
),
"btn_label_get_pid": _("Get a {scheme_label} now!").format(
diff --git a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ShareModal.js b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ShareModal.js
index ac44adc1b..aa084280b 100644
--- a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ShareModal.js
+++ b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ShareModal.js
@@ -228,7 +228,7 @@ export const ShareModal = (props) => {
{!!!accessLinkObj
? i18next.t(
- "No link has been created. Click on 'Get a Link' to make a new link"
+ "No link has been created. Click on 'Get a Link' to make a new link."
)
: message[shareMode]}
diff --git a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/search/components.js b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/search/components.js
index 67f13917e..41608b4e9 100644
--- a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/search/components.js
+++ b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/search/components.js
@@ -434,16 +434,15 @@ export const RDMEmptyResults = (props) => {
metadata.publication_date:[2017-01-01 TO *]
{" "}
{i18next.t(
- "will give you all the publications from 2017 until today"
+ "will give you all the publications from 2017 until today."
)}
- .
{i18next.t("For more tips, check out our ")}
{i18next.t("search guide")}
- {i18next.t(" for defining advanced search queries")}.
+ {i18next.t(" for defining advanced search queries.")}