]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/hdcp/pd.py
All PDs: Consistently use singular/plural for annotation classes/rows.
[libsigrokdecode.git] / decoders / hdcp / pd.py
index 6004b7b6e1b6af1c146067a01b0747d4e3044686..157b23a3dba44d9a52d3befd75639f2b9ab2a37e 100644 (file)
@@ -1,7 +1,7 @@
 ##
 ## This file is part of the libsigrokdecode project.
 ##
-## Copyright (C) 2018 Dave Craig<dcraig@brightsign.biz>
+## Copyright (C) 2018 Dave Craig <dcraig@brightsign.biz>
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -73,11 +73,11 @@ class Decoder(srd.Decoder):
     annotations = \
         tuple(('message-0x%02X' % i, 'Message 0x%02X' % i) for i in range(18)) + (
         ('summary', 'Summary'),
-        ('warnings', 'Warnings'),
+        ('warning', 'Warning'),
     )
     annotation_rows = (
         ('messages', 'Messages', tuple(range(18))),
-        ('summary', 'Summary', (18,)),
+        ('summaries', 'Summaries', (18,)),
         ('warnings', 'Warnings', (19,)),
     )