From b86c039bb32a28525df9afe26154d0e90698cb31 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 19 Mar 2020 16:38:55 +0100 Subject: Add missing labels and a test to prevent this in the future --- lv2/core/lv2core.ttl | 1 + lv2/parameters/parameters.ttl | 1 + lv2/patch/patch.ttl | 13 ++++++++++--- lv2/port-groups/port-groups.ttl | 2 ++ lv2/ui/ui.ttl | 1 + 5 files changed, 15 insertions(+), 3 deletions(-) (limited to 'lv2') diff --git a/lv2/core/lv2core.ttl b/lv2/core/lv2core.ttl index 2f5ebc3..1f62018 100644 --- a/lv2/core/lv2core.ttl +++ b/lv2/core/lv2core.ttl @@ -9,6 +9,7 @@ lv2:Specification a rdfs:Class , owl:Class ; rdfs:subClassOf doap:Project ; + rdfs:label "Specification" ; lv2:documentation """

An LV2 specification (i.e. this specification, or an LV2 extension).

diff --git a/lv2/parameters/parameters.ttl b/lv2/parameters/parameters.ttl index 67f7ce9..5d8d947 100644 --- a/lv2/parameters/parameters.ttl +++ b/lv2/parameters/parameters.ttl @@ -19,6 +19,7 @@ to the user more efficiently.

""" . param:ControlGroup a rdfs:Class ; rdfs:subClassOf pg:Group ; + rdfs:label "Control Group" ; rdfs:comment "A group representing a set of associated controls." . param:amplitude diff --git a/lv2/patch/patch.ttl b/lv2/patch/patch.ttl index 9f2ef69..3ccd840 100644 --- a/lv2/patch/patch.ttl +++ b/lv2/patch/patch.ttl @@ -284,13 +284,16 @@ patch:add a rdf:Property , owl:ObjectProperty , owl:FunctionalProperty ; - rdfs:domain patch:Message . + rdfs:domain patch:Message ; + rdfs:label "add" ; + rdfs:comment "The properties to add to the subject." . patch:body a rdf:Property , owl:ObjectProperty , owl:FunctionalProperty ; rdfs:domain patch:Message ; + rdfs:label "body" ; rdfs:comment """The body of a message. The details of this property's value depend on the type of message it is a @@ -300,6 +303,7 @@ patch:context a rdf:Property , owl:ObjectProperty ; rdfs:domain patch:Message ; + rdfs:label "context" ; rdfs:comment """The context of properties in this message. For example, a plugin may have a special context for ephemeral properties which @@ -317,7 +321,8 @@ patch:destination a rdf:Property , owl:ObjectProperty , owl:FunctionalProperty ; - rdfs:domain patch:Message . + rdfs:domain patch:Message ; + rdfs:label "destination" . patch:property a rdf:Property ; @@ -338,7 +343,8 @@ patch:remove owl:ObjectProperty , owl:FunctionalProperty ; rdfs:label "remove" ; - rdfs:domain patch:Message . + rdfs:domain patch:Message ; + rdfs:comment "The properties to remove from the subject." . patch:request a rdf:Property , @@ -365,6 +371,7 @@ patch:subject owl:ObjectProperty , owl:FunctionalProperty ; rdfs:domain patch:Message ; + rdfs:label "subject" ; rdfs:comment "The subject this message applies to." . patch:value diff --git a/lv2/port-groups/port-groups.ttl b/lv2/port-groups/port-groups.ttl index 944b5c7..7149db2 100644 --- a/lv2/port-groups/port-groups.ttl +++ b/lv2/port-groups/port-groups.ttl @@ -110,6 +110,7 @@ pg:group pg:DiscreteGroup a rdfs:Class ; rdfs:subClassOf pg:Group ; + rdfs:label "Discrete Group" ; rdfs:comment "Discrete channel configurations. These groups are divided into channels where each represents a particular speaker location. The position of sound in one of these groups depends on a particular speaker configuration." . pg:left @@ -486,6 +487,7 @@ pg:ACN15 pg:AmbisonicGroup a rdfs:Class ; rdfs:subClassOf pg:Group ; + rdfs:label "Ambisonic Group" ; rdfs:comment "Ambisonic channel configurations. These groups are divided into channels which together represent a position in an abstract n-dimensional space. The position of sound in one of these groups does not depend on a particular speaker configuration; a decoder can be used to convert an ambisonic stream for any speaker configuration." . pg:AmbisonicBH1P0Group diff --git a/lv2/ui/ui.ttl b/lv2/ui/ui.ttl index fcd2f67..261c473 100644 --- a/lv2/ui/ui.ttl +++ b/lv2/ui/ui.ttl @@ -250,6 +250,7 @@ ui:PortNotification owl:cardinality 1 ; rdfs:comment "A PortNotification MUST have exactly one ui:plugin." ] ; + rdfs:label "Port Notification" ; lv2:documentation """

A port notification. This describes which ports the host must send notifications to the UI about. The port can be specific by index, using the -- cgit v1.2.1