From 33be291cf5113a2f1d796abc08e1d261e186152f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Jusevi=C4=8Dius?= Date: Tue, 21 Jul 2026 14:45:37 +0300 Subject: [PATCH 1/3] Consolidate CSR label rendering on per-vocab templates, retire $ldt:lang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - client.xsl imports the Web-Client per-vocab stylesheets (same order as internal-layout.xsl, so CSR label precedence = SSR) and drops the monolithic ac:label/ac:description override — fixes duplicate bilingual widget headings (e.g. BacklinksBacklinks) rendered when the browser language matched neither @en nor @es - Property-value suppression in bs2:PropertyList negotiates over $ac:langs (two split templates): the best accepted language per property wins; values in unaccepted languages stay hidden as before - sh.xsl label/description templates migrated to $ac:langs - All xsl:sort collations use $ac:lang; dual use-when sort pairs collapsed - Depend on client 5.0.3-SNAPSHOT Co-Authored-By: Claude Fable 5 --- pom.xml | 4 +- .../bootstrap/2.3.2/client/admin/signup.xsl | 2 +- .../bootstrap/2.3.2/client/block/chart.xsl | 6 +- .../xsl/bootstrap/2.3.2/client/block/view.xsl | 4 +- .../xsl/bootstrap/2.3.2/client/navigation.xsl | 2 +- .../xsl/bootstrap/2.3.2/document.xsl | 9 +- .../xsl/bootstrap/2.3.2/imports/ac.xsl | 2 +- .../xsl/bootstrap/2.3.2/imports/acl.xsl | 2 +- .../xsl/bootstrap/2.3.2/imports/default.xsl | 7 +- .../xsl/bootstrap/2.3.2/imports/ldh.xsl | 2 +- .../xsl/bootstrap/2.3.2/imports/sh.xsl | 24 +++--- .../xsl/bootstrap/2.3.2/layout.xsl | 16 ++-- .../xsl/bootstrap/2.3.2/resource.xsl | 11 ++- .../atomgraph/linkeddatahub/xsl/client.xsl | 83 ++----------------- 14 files changed, 51 insertions(+), 123 deletions(-) diff --git a/pom.xml b/pom.xml index c4410dd1d2..b673a58ae8 100644 --- a/pom.xml +++ b/pom.xml @@ -169,13 +169,13 @@ ${project.groupId} client - 5.0.2 + 5.0.3-SNAPSHOT classes ${project.groupId} client - 5.0.2 + 5.0.3-SNAPSHOT war diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/admin/signup.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/admin/signup.xsl index da853846e9..00e493f4d5 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/admin/signup.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/admin/signup.xsl @@ -173,7 +173,7 @@ exclude-result-prefixes="#all"> - + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/chart.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/chart.xsl index 51a53b639b..726a0b9fad 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/chart.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block/chart.xsl @@ -183,8 +183,7 @@ exclude-result-prefixes="#all" - - + @@ -2243,7 +2243,7 @@ exclude-result-prefixes="#all" - + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl index a1c1486849..f401f975ee 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl @@ -679,7 +679,7 @@ ORDER BY DESC(?created)