+ return "Usage: %s <CREDITS> <credits.php> <blanket-permission.php>" % prog_name
+
+
+def collate_incomplete(contributers):
+
+ missing_credit = []
+ missing_licence = []
+ for contributer in contributers:
+ if len(contributer.credit) == 0:
+ missing_credit.append(contributer.name)
+ if len(contributer.licence) == 0:
+ missing_licence.append(contributer.name)
+
+ return '''WARNING!
+The following contributers do not have a CREDITS entry:
+ %s
+
+These ones have no explicit licence statement:
+ %s
+''' % ( ",\n ".join(missing_credit), ",\n ".join(missing_licence))
+
+
+def as_txt_credits(contributers):
+ results = []
+
+ for contributer in contributers:
+ if len(contributer.credit) != 0:
+ results.append(contributer.as_txt_credits())
+
+ results.append('''
+
+If your name doesn't appear here although you've done
+something for LyX, or your entry is wrong or incomplete,
+just drop some e-mail to lyx@lyx.org. Thanks.
+''')
+
+ return "".join(results)