From 80d3802e43e96d4e963d2b217a4fb0f198bef34a Mon Sep 17 00:00:00 2001 From: Possommi Date: Fri, 23 Feb 2024 14:14:34 +0100 Subject: [PATCH] MIR-1278 Split 'mir.accesskey.setInfo' into multiple i18n keys to avoid invalid xml during transformation (#955) * MIR-1278 Split 'mir.accesskey.setInfo' into multiple i18n keys to avoid invalid xml during transformation * MIR-1278 Applied requested changes. Fixed English for i18n 'mir.help.place ' * MIR-1278 Added comma * MIR-1278 Added comma, continued * MIR-1278 Fixed comma --- .../main/resources/config/mir/messages_de.properties | 6 ++++-- .../main/resources/config/mir/messages_en.properties | 10 ++++++---- .../src/main/resources/xsl/layout/mir-layout-utils.xsl | 9 +++++++-- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/mir-module/src/main/resources/config/mir/messages_de.properties b/mir-module/src/main/resources/config/mir/messages_de.properties index 763e6527e4..a801df7344 100644 --- a/mir-module/src/main/resources/config/mir/messages_de.properties +++ b/mir-module/src/main/resources/config/mir/messages_de.properties @@ -228,11 +228,13 @@ mir.access = Zugriffsberechtigung mir.accesskey = Zugriffsschl\u00FCssel mir.accesskey.manage = Zugriffsschl\u00FCssel verwalten mir.accesskey.required = Bitte geben Sie einen Zugriffsschl\u00FCssel ein. -mir.accesskey.setInfo = Gegebenenfalls besteht die M\u00F6glichkeit mit einem Zugriffsschl\u00FCssel \u00FCber folgenden Link auf das Dokument zuzugreifen. +mir.accesskey.setInfo.leading = Gegebenenfalls besteht die M\u00F6glichkeit, mit einem Zugriffsschl\u00FCssel \u00FCber folgenden +mir.accesskey.setInfo.link = Link +mir.accesskey.setInfo.trailing = auf das Dokument zuzugreifen. mir.accesskey.setOnUser = Zugriffsschl\u00FCssel aktivieren mir.actions = Aktionen mir.actions.noaccess = Um das Dokument zu bearbeiten, melden Sie sich bitte an. -mir.actions.norights = Sie besitzen nicht die ben\u00F6tigten Rechte um das Dokument zu bearbeiten. +mir.actions.norights = Sie besitzen nicht die ben\u00F6tigten Rechte, um das Dokument zu bearbeiten. mir.admineditor = Bearbeiten im Admin-Editor mir.affiliation = Zugeh\u00F6rigkeit mir.articlenumber = Artikelnummer: diff --git a/mir-module/src/main/resources/config/mir/messages_en.properties b/mir-module/src/main/resources/config/mir/messages_en.properties index 6caa8a9913..770f63e5a2 100644 --- a/mir-module/src/main/resources/config/mir/messages_en.properties +++ b/mir-module/src/main/resources/config/mir/messages_en.properties @@ -215,8 +215,10 @@ mir.access = Access permissions mir.accesskey = Access key mir.accesskey.manage = Manage access keys mir.accesskey.required = Please input an access key. -mir.accesskey.setInfo = You may access the document with an access key via the following link. -mir.accesskey.setOnUser = Activate access key +mir.accesskey.setInfo.leading = You may access the document with an access key via the following +mir.accesskey.setInfo.link = link +mir.accesskey.setInfo.trailing = . +mir.accesskey.setOnUser = Set access key mir.actions = Actions mir.actions.noaccess = To edit the document, please log in. mir.actions.norights = You don't have the rights to edit the document. @@ -316,7 +318,7 @@ mir.error.accessKeyRequired = Access to the object "{0}""{0}" was accepted for processing, but was not completed. mir.error.codes.400 = The request "{0}" sent was syntactically incorrect. -mir.error.codes.401 = You do not have the privilege to acces this page. +mir.error.codes.401 = You do not have the privilege to access this page. mir.error.codes.403 = The server understood the request "{0}" but refused to fulfill it. mir.error.codes.404 = The requested URL "{0}" was not found on this server. mir.error.codes.409 = The request "{0}" could not be completed due to a conflict with the current state of the resource. @@ -424,7 +426,7 @@ mir.help.namePart = Partitioning of the name in dif mir.help.nameType = Type of the name. mir.help.physical.description.form = A designation of a particular physical presentation of a resource, including the physical form or medium of material for a resource. mir.help.physical.description.note = Detailed description of the data structure, incl. variable/parameter description, units of measure, data standards used, data types (e.g. numeric, string). -mir.help.place = The former publication of the publication. +mir.help.place = The first mentioned place of publication of the publication. mir.help.place.country = Country of publication. mir.help.producer.speaker = A person contributing to a resource by speaking words, such as a lecture, speech, etc. mir.help.project.acronym = Type your project code here, an autocomplete from the listed OpenAIRE projects is offered too. diff --git a/mir-module/src/main/resources/xsl/layout/mir-layout-utils.xsl b/mir-module/src/main/resources/xsl/layout/mir-layout-utils.xsl index 730045938d..99df527f1f 100644 --- a/mir-module/src/main/resources/xsl/layout/mir-layout-utils.xsl +++ b/mir-module/src/main/resources/xsl/layout/mir-layout-utils.xsl @@ -41,8 +41,13 @@ -

- +
+ + + + + +