From 984b9db7539c1362ecbca55791ede3273bbe34c4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Mar 2019 19:13:10 +0100 Subject: Use friendlier labels for some built-in properties --- lv2specgen/lv2specgen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 17e4fa5..ba364fb 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -485,7 +485,7 @@ def rdfsClassInfo(term, m): restrictions.append(getSubject(meta_type)) if len(superclasses) > 0: - doc += "\nSub-class of" + doc += "\nSubclass of" first = True for superclass in sorted(superclasses): doc += getProperty(getTermLink(superclass), first) @@ -644,7 +644,7 @@ def owlInfo(term, m): def owlTypeInfo(term, propertyType, name): if findOne(m, term, rdf.type, propertyType): - return "OWL Type%s\n" % name + return "Type%s\n" % name else: return "" -- cgit v1.2.1