From daa1d1509222111b22f49625b93bcd4b1103eabc Mon Sep 17 00:00:00 2001 From: wangf1122 <74916635+wangf1122@users.noreply.github.com> Date: Mon, 29 Apr 2024 03:54:44 -0400 Subject: [PATCH 1/3] French translation update for metadata_approved_published_record_text (#7974) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * translation update * Update web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties Co-authored-by: Jose García --------- Co-authored-by: Jose García --- .../WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties b/web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties index 6efe5d2b3fa..b2eef38d848 100644 --- a/web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties +++ b/web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties @@ -112,7 +112,7 @@ metadata_published_text=Les fiches suivantes ont \u00E9t\u00E9 trait\u00E9es:\n\ metadata_published_record_text=
  • La m\u00E9tadonn\u00E9e {{index:resourceTitleObject}} a \u00E9t\u00E9 publi\u00E9e.
  • metadata_unpublished_record_text=
  • La m\u00E9tadonn\u00E9e {{index:resourceTitleObject}} a \u00E9t\u00E9 d\u00E9publi\u00E9e.
  • -metadata_approved_published_record_text=
  • La m\u00E9tadonn\u00E9e {{index:resourceTitleObject}} a \u00E9t\u00E9 publi\u00E9e dans une nouvelle version.
  • +metadata_approved_published_record_text=
  • Une nouvelle version de la m\u00E9tadonn\u00E9e {{index:resourceTitleObject}} a \u00E9t\u00E9 publi\u00E9e.
  • api.groups.group_not_found=Le groupe avec l''identifiant ''{0}'' n''a pas \u00E9t\u00E9 trouv\u00E9 dans le catalogue. user_watchlist_subject=%s / %d mises \u00e0 jour dans vos fiches surveill\u00E9es %s From bb6a19e02543151b1bd06fed04d9e69ea64d1b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Prunayre?= Date: Mon, 29 Apr 2024 15:15:36 +0200 Subject: [PATCH 2/3] Test / Fix formatter test. (#7993) * Test / Fix formatter test. Related to https://github.com/geonetwork/core-geonetwork/pull/7929. * Prettier. * Test / Fix formatter test / Citation common may be embedded in other formatter. Only set xsl:output in the citation entry point. --- .../formatter/citation/common.xsl | 1 - .../iso19115-3.2018/formatter/citation/view.xsl | 6 +++--- .../plugin/iso19139/formatter/citation/view.xsl | 6 +++--- .../components/viewer/wps/WpsDirective.js | 16 ++++++++++------ 4 files changed, 16 insertions(+), 13 deletions(-) diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/citation/common.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/citation/common.xsl index fe0ac8c9f37..233690c2176 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/citation/common.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/citation/common.xsl @@ -12,7 +12,6 @@ extension-element-prefixes="saxon" exclude-result-prefixes="#all"> - diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/citation/view.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/citation/view.xsl index fd3fdb5a63c..b2b31d2fbf2 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/citation/view.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/citation/view.xsl @@ -13,15 +13,15 @@ extension-element-prefixes="saxon" exclude-result-prefixes="#all"> + + + - - - diff --git a/schemas/iso19139/src/main/plugin/iso19139/formatter/citation/view.xsl b/schemas/iso19139/src/main/plugin/iso19139/formatter/citation/view.xsl index cc88353ad4b..d8afcb0a975 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/formatter/citation/view.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/formatter/citation/view.xsl @@ -18,15 +18,15 @@ extension-element-prefixes="saxon" exclude-result-prefixes="#all"> + + + - - - diff --git a/web-ui/src/main/resources/catalog/components/viewer/wps/WpsDirective.js b/web-ui/src/main/resources/catalog/components/viewer/wps/WpsDirective.js index ec45bbecc72..a50ef8fbf1d 100644 --- a/web-ui/src/main/resources/catalog/components/viewer/wps/WpsDirective.js +++ b/web-ui/src/main/resources/catalog/components/viewer/wps/WpsDirective.js @@ -253,19 +253,23 @@ return "time"; } else if (scope.isDate(input)) { return "date"; - } if (scope.isDateTime(input)) { + } + if (scope.isDateTime(input)) { return "datetime-local"; - } else - return ""; + } else return ""; }; scope.getDateBounds = function (input, isMin) { if (!input) { return; } else if (isMin) { - return input.literalData.allowedValues.valueOrRange[0].minimumValue - .value || ""; + return ( + input.literalData.allowedValues.valueOrRange[0].minimumValue.value || + "" + ); } - return input.literalData.allowedValues.valueOrRange[0].maximumValue.value || ""; + return ( + input.literalData.allowedValues.valueOrRange[0].maximumValue.value || "" + ); }; // get values from wfs filters From 5f348762b483ba4ed0c5f359471dbd808e2445b0 Mon Sep 17 00:00:00 2001 From: Francois Prunayre Date: Tue, 30 Apr 2024 13:19:00 +0200 Subject: [PATCH 3/3] Standards / ISO / Formatters / DCAT / Documentation and entry point for license mapping. --- .../dcat/dcat-core-access-and-use.xsl | 5 ++-- .../formatter/eu-dcat-ap/eu-dcat-ap-core.xsl | 29 +++++++++++-------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-access-and-use.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-access-and-use.xsl index b9a333072ba..562f3bd07e0 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-access-and-use.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-access-and-use.xsl @@ -78,8 +78,8 @@ - - + + @@ -87,6 +87,7 @@ + diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/eu-dcat-ap/eu-dcat-ap-core.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/eu-dcat-ap/eu-dcat-ap-core.xsl index 683de33ea07..ed5ff7829c1 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/eu-dcat-ap/eu-dcat-ap-core.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/eu-dcat-ap/eu-dcat-ap-core.xsl @@ -17,10 +17,27 @@ + + + + + @@ -116,18 +133,6 @@ * keep only first. * Use dct:license for the first useLimitation and then dct:rights? --> - - - - - - - -