Skip to content

Commit

Permalink
fix: multilang title
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Oct 28, 2024
1 parent 11ec18f commit 38b7552
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/happy-owls-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-creator/core-api": patch
---

OpenDataSwiss resource title should allow more than one value (one for each language)
3 changes: 2 additions & 1 deletion apis/core/bootstrap/shapes/dataset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,16 +452,17 @@ ${shapeId} {
] , [
${sh.name} "Title" ;
${sh.path} ${dcterms.title} ;
${sh.maxCount} 1 ;
${sh.order} 30 ;
${sh.datatype} ${rdf.langString} ;
${sh.languageIn} ( ${supportedLanguages} ) ;
${sh.uniqueLang} true ;
] , [
${sh.name} "Description" ;
${sh.path} ${dcterms.description} ;
${sh.order} 40 ;
${sh.datatype} ${rdf.langString} ;
${sh.languageIn} ( ${supportedLanguages} ) ;
${sh.uniqueLang} true ;
] , [
${sh.name} "Media type" ;
${sh.path} ${dcat.mediaType} ;
Expand Down

0 comments on commit 38b7552

Please sign in to comment.