diff options
author | David Robillard <d@drobilla.net> | 2019-03-24 19:13:10 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-24 21:23:02 +0100 |
commit | 984b9db7539c1362ecbca55791ede3273bbe34c4 (patch) | |
tree | 624440b1e1d9866964728b9920098a64d0718a48 /lv2specgen | |
parent | ec0094e06c81f084303edf40a13db0ee1e05fc06 (diff) | |
download | lv2-984b9db7539c1362ecbca55791ede3273bbe34c4.tar.xz |
Use friendlier labels for some built-in properties
Diffstat (limited to 'lv2specgen')
-rwxr-xr-x | lv2specgen/lv2specgen.py | 4 |
1 files 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 += "\n<tr><th>Sub-class of</th>" + doc += "\n<tr><th>Subclass of</th>" 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 "<tr><th>OWL Type</th><td>%s</td></tr>\n" % name + return "<tr><th>Type</th><td>%s</td></tr>\n" % name else: return "" |