524 @return list of known message codes |
524 @return list of known message codes |
525 @rtype set of str |
525 @rtype set of str |
526 """ |
526 """ |
527 knownCodes = [] |
527 knownCodes = [] |
528 for catalog in messageCatalogs.values(): |
528 for catalog in messageCatalogs.values(): |
529 knownCodes += list(catalog.keys()) |
529 knownCodes += list(catalog) |
530 return {c.split(".", 1)[0] for c in knownCodes} |
530 return {c.split(".", 1)[0] for c in knownCodes} |
531 |
531 |
532 |
532 |
533 # |
533 # |
534 # eflag: noqa = M201 |
534 # eflag: noqa = M201 |