update metadata to take "speaker" into account

git-svn-id: svn://svn.forge.objectweb.org/svnroot/weblab/trunk/WebLabServices/Portlets/metadata-portlet@4361 a803c184-d8de-4a0e-a52b-d3eef88212b6
parent 4bcafd06
......@@ -48,6 +48,7 @@ meta.reliability = Reliability:
meta.credibility = Credibility:
meta.toKeep = ToKeep:
meta.location = Document Location:
meta.speaker = Speakers
meta.edit.rate = rate
meta.edit.commented = comment
......
......@@ -48,6 +48,7 @@ meta.reliability = Reliability:
meta.credibility = Credibility:
meta.toKeep = ToKeep:
meta.location = Document Location:
meta.speaker = Speakers
meta.edit.rate = rate
meta.edit.commented = comment
......
......@@ -50,6 +50,7 @@ meta.reliability = Fiabilit
meta.credibility = Crdibilit:
meta.toKeep = A garder:
meta.location = Emplacement du document:
meta.speaker = Locuteurs
meta.edit.rate = note
meta.edit.commented = commentaire
......
......@@ -39,6 +39,8 @@
<entry key="created" value="http://purl.org/dc/terms/created" />
<entry key="extent" value="http://purl.org/dc/terms/extent" />
<entry key="mainsource" value="http://purl.org/dc/terms/source" />
<entry key="hasSpeakerLabel" value="http://weblab.ow2.org/wookie#hasSpeakerLabel" />
<!-- RDF properties -->
<entry key="seeAlso" value="http://www.w3.org/2000/01/rdf-schema#seeAlso" />
......@@ -74,6 +76,8 @@
<entry key="hasScore" value="false" />
<entry key="translation" value="true" />
<entry key="hasOriginalFileName" value="true" />
<entry key="hasSpeakerLabel" value="true" />
<!-- DublinCore properties-->
<entry key="title" value="true" />
......
......@@ -330,6 +330,21 @@
</i></td>
</tr>
</c:if>
<c:if
test="${metaDisplay['hasSpeakerLabel'] && weblab:hasValue(resource, rdfProperties['hasSpeakerLabel'])}">
<tr>
<th><fmt:message key="meta.speaker" /></th>
<td><i> <weblab:getPropertyValues
uri="${rdfProperties['hasSpeakerLabel'] }" var="speakerLabel" /> <c:forEach
var="spkLabel" items="${speakerLabel }" varStatus="status">
<c:if test="${status.count != 1}">
,
</c:if>
${spkLabel }
</c:forEach>
</i></td>
</tr>
</c:if>
<c:if
test="${metaDisplay['catego'] && weblab:hasValue(resource, rdfProperties['catego'])}">
<tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment