general translations fixes

(closes 1911)

1: D400 First line should end with '.', not 's'
32:1: F401 'CFG_WEBAUTHORPROFILE_CFG_HEPNAMES_EMAIL' imported but unused
36:1: F401 'get_person_names_from_id' imported but unused
37:6: E126 continuation line over-indented for hanging indent
40:1: F401 'get_canonical_name_of_author' imported but unused
50: D101 Docstring missing
52: D102 Docstring missing
140: D102 Docstring missing
148: D101 Docstring missing
151:5: E303 too many blank lines (2)
151: D102 Docstring missing
158:25: E126 continuation line over-indented for hanging indent
176:25: E126 continuation line over-indented for hanging indent
183:25: E126 continuation line over-indented for hanging indent
216:17: E131 continuation line unaligned for hanging indent
246:1: E122 continuation line missing indentation or outdented
252:1: E122 continuation line missing indentation or outdented
273:1: E122 continuation line missing indentation or outdented
285:5: E303 too many blank lines (2)
289: D102 Docstring missing
293: D102 Docstring missing
296: D102 Docstring missing
299: D102 Docstring missing
302: D102 Docstring missing
314: D102 Docstring missing
323: D102 Docstring missing
336:1: E302 expected 2 blank lines, found 1
336: D203 Expected 1 blank line *before* class docstring, found 0
336: D400 First line should end with '.', not 'd'
341:17: E126 continuation line over-indented for hanging indent
341:36: E231 missing whitespace after ','
341:51: E231 missing whitespace after ','
342:43: E231 missing whitespace after ','
342:60: E231 missing whitespace after ','
343:34: E231 missing whitespace after ','
343:56: E231 missing whitespace after ','
344:36: E231 missing whitespace after ','
344:43: E231 missing whitespace after ','
347: D202 No blank lines allowed *after* method docstring, found 1
347: D400 First line should end with '.', not 't'
354:5: E303 too many blank lines (2)
354: D401 First line should be imperative: 'write', not 'writes'
354: D400 First line should end with '.', not 'r'
354: D300 Expected """-quotes, got '''-quotes
373:5: E303 too many blank lines (2)
373: D401 First line should be imperative: 'Create', not 'Creates'
373: D400 First line should end with '.', not 'e'
373: D300 Expected """-quotes, got '''-quotes
387:36: E201 whitespace after '{'
388:58: E202 whitespace before '}'
389:37: E201 whitespace after '{'
395:185: E202 whitespace before '}'
431:5: E303 too many blank lines (2)
431: D401 First line should be imperative: 'Create', not 'Creates'
431: D400 First line should end with '.', not 'e'
431: D300 Expected """-quotes, got '''-quotes
445:36: E201 whitespace after '{'
446:58: E202 whitespace before '}'
447:37: E201 whitespace after '{'
485: D401 First line should be imperative: 'Create', not 'Creates'
485: D400 First line should end with '.', not 'e'
485: D300 Expected """-quotes, got '''-quotes
499:36: E201 whitespace after '{'
500:58: E202 whitespace before '}'
501:37: E201 whitespace after '{'
509:13: F841 local variable 'trans_no' is assigned to but never used
532:5: E303 too many blank lines (3)
532: D401 First line should be imperative: 'Create', not 'Creates'
532: D400 First line should end with '.', not 'e'
532: D300 Expected """-quotes, got '''-quotes
548:52: E202 whitespace before '}'
549:106: E202 whitespace before '}'
582:5: E303 too many blank lines (2)
582: D401 First line should be imperative: 'Create', not 'Creates'
582: D400 First line should end with '.', not 'e'
582: D300 Expected """-quotes, got '''-quotes
597:47: E202 whitespace before '}'
599:96: E202 whitespace before '}'
622:5: E303 too many blank lines (2)
622: D401 First line should be imperative: 'Create', not 'Creates'
622: D400 First line should end with '.', not 't'
622: D205 Blank line missing between one-line summary and description
622: D300 Expected """-quotes, got '''-quotes
639:64: E202 whitespace before '}'
640:87: E202 whitespace before '}'
668: D401 First line should be imperative: 'Create', not 'Creates'
668: D400 First line should end with '.', not 'r'
668: D205 Blank line missing between one-line summary and description
668: D300 Expected """-quotes, got '''-quotes
685:90: E202 whitespace before '}'
686:113: E202 whitespace before '}'
707:20: E127 continuation line over-indented for visual indent
721:5: E303 too many blank lines (2)
721: D102 Docstring missing
724:24: E128 continuation line under-indented for visual indent
726:54: E202 whitespace before '}'
727:97: E202 whitespace before '}'
754:21: E127 continuation line over-indented for visual indent
756:21: E127 continuation line over-indented for visual indent
765:5: E303 too many blank lines (2)
765: D401 First line should be imperative: 'Generate', not 'Generates'
765: D202 No blank lines allowed *after* method docstring, found 1
765: D400 First line should end with '.', not 't'
765: D205 Blank line missing between one-line summary and description
765: D300 Expected """-quotes, got '''-quotes
808:23: E128 continuation line under-indented for visual indent
816:5: E303 too many blank lines (2)
816:78: E231 missing whitespace after ':'
816: D202 No blank lines allowed *after* method docstring, found 1
816: D400 First line should end with '.', not 'e'
816: D205 Blank line missing between one-line summary and description
816: D300 Expected """-quotes, got '''-quotes
817:72: E127 continuation line over-indented for visual indent
817:86: E231 missing whitespace after ':'
818:84: E231 missing whitespace after ':'
819:85: E231 missing whitespace after ':'
820:84: E231 missing whitespace after ':'
821:85: E231 missing whitespace after ':'
822:87: E231 missing whitespace after ':'
823:86: E231 missing whitespace after ':'
824:72: E124 closing bracket does not match visual indentation
847:17: E126 continuation line over-indented for hanging indent
855:34: E231 missing whitespace after ':'
856:35: E231 missing whitespace after ':'
857:33: E231 missing whitespace after ':'
858:34: E231 missing whitespace after ':'
859:33: E231 missing whitespace after ':'
860:34: E231 missing whitespace after ':'
861:36: E231 missing whitespace after ':'
862:35: E231 missing whitespace after ':'
865:5: E303 too many blank lines (2)
865:77: E231 missing whitespace after ':'
865: D400 First line should end with '.', not 'e'
865: D205 Blank line missing between one-line summary and description
865: D300 Expected """-quotes, got '''-quotes
866:72: E127 continuation line over-indented for visual indent
866:86: E231 missing whitespace after ':'
867:84: E231 missing whitespace after ':'
868:85: E231 missing whitespace after ':'
869:84: E231 missing whitespace after ':'
870:85: E231 missing whitespace after ':'
871:87: E231 missing whitespace after ':'
872:86: E231 missing whitespace after ':'
873:72: E124 closing bracket does not match visual indentation
897:34: E231 missing whitespace after ':'
898:35: E231 missing whitespace after ':'
899:33: E231 missing whitespace after ':'
900:34: E231 missing whitespace after ':'
901:33: E231 missing whitespace after ':'
902:34: E231 missing whitespace after ':'
903:36: E231 missing whitespace after ':'
904:35: E231 missing whitespace after ':'
907:5: E303 too many blank lines (2)
907:78: E231 missing whitespace after ':'
907: D400 First line should end with '.', not 'e'
907: D205 Blank line missing between one-line summary and description
907: D300 Expected """-quotes, got '''-quotes
908:72: E127 continuation line over-indented for visual indent
908:86: E231 missing whitespace after ':'
909:84: E231 missing whitespace after ':'
910:85: E231 missing whitespace after ':'
911:87: E231 missing whitespace after ':'
912:86: E231 missing whitespace after ':'
913:72: E124 closing bracket does not match visual indentation
927:17: E128 continuation line under-indented for visual indent
928:17: E128 continuation line under-indented for visual indent
929:17: E128 continuation line under-indented for visual indent
930:17: E128 continuation line under-indented for visual indent
931:17: E128 continuation line under-indented for visual indent
932:17: E128 continuation line under-indented for visual indent
933:17: E128 continuation line under-indented for visual indent
934:17: E128 continuation line under-indented for visual indent
935:17: E128 continuation line under-indented for visual indent
938:34: E231 missing whitespace after ':'
939:35: E231 missing whitespace after ':'
940:33: E231 missing whitespace after ':'
941:34: E231 missing whitespace after ':'
942:36: E231 missing whitespace after ':'
943:35: E231 missing whitespace after ':'
946:5: E303 too many blank lines (2)
946: D400 First line should end with '.', not '"'
946: D300 Expected """-quotes, got '''-quotes
972:21: E127 continuation line over-indented for visual indent
976:21: E127 continuation line over-indented for visual indent
980:21: E127 continuation line over-indented for visual indent
985:5: E303 too many blank lines (2)
985:103: E231 missing whitespace after ':'
985: D400 First line should end with '.', not 'e'
985: D300 Expected """-quotes, got '''-quotes
986:95: E127 continuation line over-indented for visual indent
986:106: E231 missing whitespace after ':'
987:105: E231 missing whitespace after ':'
988:108: E231 missing whitespace after ':'
989:105: E231 missing whitespace after ':'
990:77: E127 continuation line over-indented for visual indent
990:114: E231 missing whitespace after ':'
990:131: E231 missing whitespace after ':'
991:103: E128 continuation line under-indented for visual indent
991:114: E231 missing whitespace after ':'
992:103: E128 continuation line under-indented for visual indent
992:113: E231 missing whitespace after ':'
993:103: E128 continuation line under-indented for visual indent
993:116: E231 missing whitespace after ':'
994:103: E128 continuation line under-indented for visual indent
994:113: E231 missing whitespace after ':'
995:86: E128 continuation line under-indented for visual indent
995:104: E231 missing whitespace after ':'
995:119: E231 missing whitespace after ':'
996:120: E231 missing whitespace after ':'
997:118: E231 missing whitespace after ':'
998:119: E231 missing whitespace after ':'
999:86: E128 continuation line under-indented for visual indent
999:104: E231 missing whitespace after ':'
999:119: E231 missing whitespace after ':'
1000:108: E127 continuation line over-indented for visual indent
1000:122: E231 missing whitespace after ':'
1001:120: E231 missing whitespace after ':'
1002:121: E231 missing whitespace after ':'
1003:120: E231 missing whitespace after ':'
1004:121: E231 missing whitespace after ':'
1005:86: E128 continuation line under-indented for visual indent
1005:103: E231 missing whitespace after ':'
1005:118: E231 missing whitespace after ':'
1006:119: E231 missing whitespace after ':'
1007:117: E231 missing whitespace after ':'
1008:118: E231 missing whitespace after ':'
1009:117: E231 missing whitespace after ':'
1010:118: E231 missing whitespace after ':'
1011:77: E127 continuation line over-indented for visual indent
1037:20: E127 continuation line over-indented for visual indent
1060:9: E303 too many blank lines (2)
1075:9: E303 too many blank lines (2)
1079:28: E127 continuation line over-indented for visual indent
1109:45: E128 continuation line under-indented for visual indent
1110:45: E128 continuation line under-indented for visual indent
1113:45: E128 continuation line under-indented for visual indent
1116:45: E128 continuation line under-indented for visual indent
1119:28: E127 continuation line over-indented for visual indent
1156:5: E303 too many blank lines (2)
1156: D300 Expected """-quotes, got '''-quotes
1192:24: E127 continuation line over-indented for visual indent
1199:118: E225 missing whitespace around operator
1223:5: E303 too many blank lines (2)
1223:56: E251 unexpected spaces around keyword / parameter equals
1223: D400 First line should end with '.', not 's'
1223: D300 Expected """-quotes, got '''-quotes
1264:5: E303 too many blank lines (2)
1264:59: E251 unexpected spaces around keyword / parameter equals
1264: D400 First line should end with '.', not 'e'
1264: D300 Expected """-quotes, got '''-quotes
1273:51: E231 missing whitespace after ':'
1273:73: E231 missing whitespace after ':'
1274:42: E127 continuation line over-indented for visual indent
1274:50: E231 missing whitespace after ':'
1275:51: E231 missing whitespace after ':'
1275:74: E231 missing whitespace after ':'
1276:56: E231 missing whitespace after ':'
1277:55: E231 missing whitespace after ':'
1278:53: E231 missing whitespace after ':'
1279:54: E231 missing whitespace after ':'
1280:51: E231 missing whitespace after ':'
1281:62: E231 missing whitespace after ':'
1281:79: E231 missing whitespace after ':'
1282:67: E127 continuation line over-indented for visual indent
1282:78: E231 missing whitespace after ':'
1283:77: E231 missing whitespace after ':'
1284:80: E231 missing whitespace after ':'
1285:77: E231 missing whitespace after ':'
1286:50: E127 continuation line over-indented for visual indent
1286:68: E231 missing whitespace after ':'
1286:83: E231 missing whitespace after ':'
1287:84: E231 missing whitespace after ':'
1288:82: E231 missing whitespace after ':'
1289:83: E231 missing whitespace after ':'
1290:68: E231 missing whitespace after ':'
1290:83: E231 missing whitespace after ':'
1291:72: E127 continuation line over-indented for visual indent
1291:86: E231 missing whitespace after ':'
1292:84: E231 missing whitespace after ':'
1293:85: E231 missing whitespace after ':'
1294:84: E231 missing whitespace after ':'
1295:85: E231 missing whitespace after ':'
1296:67: E231 missing whitespace after ':'
1296:82: E231 missing whitespace after ':'
1297:83: E231 missing whitespace after ':'
1298:81: E231 missing whitespace after ':'
1299:82: E231 missing whitespace after ':'
1300:81: E231 missing whitespace after ':'
1301:82: E231 missing whitespace after ':'
1336:20: E231 missing whitespace after ':'
1336:27: E231 missing whitespace after ':'
1340:20: E231 missing whitespace after ':'
1340:27: E231 missing whitespace after ':'
1344:20: E231 missing whitespace after ':'
1344:27: E231 missing whitespace after ':'
1348:20: E231 missing whitespace after ':'
1348:27: E231 missing whitespace after ':'
1356:20: E127 continuation line over-indented for visual indent
1364:46: E128 continuation line under-indented for visual indent
1365:46: E128 continuation line under-indented for visual indent
1366:46: E128 continuation line under-indented for visual indent
1367:46: E128 continuation line under-indented for visual indent
1378:46: E128 continuation line under-indented for visual indent
1379:46: E128 continuation line under-indented for visual indent
1428:19: E128 continuation line under-indented for visual indent
1428:29: E231 missing whitespace after ':'
1428:41: E231 missing whitespace after ':'
1428:61: E231 missing whitespace after ':'
1432:19: E128 continuation line under-indented for visual indent
1432:29: E231 missing whitespace after ':'
1432:41: E231 missing whitespace after ':'
1432:61: E231 missing whitespace after ':'
1456:23: E128 continuation line under-indented for visual indent
1457:55: E231 missing whitespace after ':'
1461:23: E128 continuation line under-indented for visual indent
1465:23: E128 continuation line under-indented for visual indent
1468:138: E231 missing whitespace after ':'
1468:161: E231 missing whitespace after ':'
1514:5: E303 too many blank lines (2)
1514: D400 First line should end with '.', not 't'
1514: D205 Blank line missing between one-line summary and description
1514: D300 Expected """-quotes, got '''-quotes
1534:16: E713 test for membership should be 'not in'
1561:17: E303 too many blank lines (2)
1571:20: E713 test for membership should be 'not in'
1615:5: E303 too many blank lines (2)
1615: D400 First line should end with '.', not 'o'
1615: D205 Blank line missing between one-line summary and description
1615: D300 Expected """-quotes, got '''-quotes
1631: D401 First line should be imperative: 'Generate', not 'Generates'
1669: D202 No blank lines allowed *after* method docstring, found 1
1669: D400 First line should end with '.', not 'r'
1669: D300 Expected """-quotes, got '''-quotes
1669: D200 One-line docstring should not occupy 3 lines
1678: D400 First line should end with '.', not 'r'
1678: D300 Expected """-quotes, got '''-quotes
1678: D200 One-line docstring should not occupy 3 lines
1689: D400 First line should end with '.', not 'y'
1689: D205 Blank line missing between one-line summary and description
1689: D300 Expected """-quotes, got '''-quotes
1736:9: E303 too many blank lines (2)
1736:44: E251 unexpected spaces around keyword / parameter equals
1736:46: E251 unexpected spaces around keyword / parameter equals
1795:9: E303 too many blank lines (2)
1808:13: E129 visually indented line with same indent as next logical line
1826:13: E129 visually indented line with same indent as next logical line
1838:13: E129 visually indented line with same indent as next logical line
1853:13: E129 visually indented line with same indent as next logical line
1858:13: E129 visually indented line with same indent as next logical line
1975: D102 Docstring missing
1983: D102 Docstring missing
1995: D102 Docstring missing
2003:53: E203 whitespace before ','
2007: D102 Docstring missing
2022: D102 Docstring missing
2034: D102 Docstring missing
2038:50: E201 whitespace after '('
2043: D102 Docstring missing
2047:43: E201 whitespace after '('
2047:38: E221 multiple spaces before operator
2052: D102 Docstring missing
2056:51: E201 whitespace after '('
2056:46: E221 multiple spaces before operator
2061: D401 First line should be imperative: 'Generate', not 'Generates'
2061: D202 No blank lines allowed *after* method docstring, found 1
2061: D300 Expected """-quotes, got '''-quotes
2093:25: E127 continuation line over-indented for visual indent
2109:34: E128 continuation line under-indented for visual indent
2110:34: E128 continuation line under-indented for visual indent
2111:34: E128 continuation line under-indented for visual indent
2112:34: E128 continuation line under-indented for visual indent
2158:28: E225 missing whitespace around operator
2176:56: E261 at least two spaces before inline comment
2176:56: E262 inline comment should start with '# '
2182:25: E127 continuation line over-indented for visual indent
2187:25: E127 continuation line over-indented for visual indent
2195:21: E127 continuation line over-indented for visual indent
2197:21: E127 continuation line over-indented for visual indent
2197:36: E231 missing whitespace after ','
2211:180: E261 at least two spaces before inline comment
2211:180: E262 inline comment should start with '# '
2219:36: E231 missing whitespace after ','
2227:144: E262 inline comment should start with '# '
2235: D401 First line should be imperative: 'Generate', not 'Generates'
2235: D205 Blank line missing between one-line summary and description
2235: D208 Docstring is over-indented
2249:24: E127 continuation line over-indented for visual indent
2256: D401 First line should be imperative: 'Generate', not 'Generates'
2256: D205 Blank line missing between one-line summary and description
2256: D208 Docstring is over-indented
2265:18: E231 missing whitespace after ','
2268:29: E127 continuation line over-indented for visual indent
2271:29: E127 continuation line over-indented for visual indent
2277:5: E303 too many blank lines (2)
2277: D401 First line should be imperative: 'Generate', not 'Generates'
2277: D205 Blank line missing between one-line summary and description
2277: D208 Docstring is over-indented
2305:5: E303 too many blank lines (2)
2305: D401 First line should be imperative: 'Shadow', not 'Shadows'
2305: D400 First line should end with '.', not 't'
2305: D300 Expected """-quotes, got '''-quotes
2305: D200 One-line docstring should not occupy 3 lines
2311: D102 Docstring missing
2315:19: E128 continuation line under-indented for visual indent
2317: D300 Expected """-quotes, got '''-quotes
2317: D200 One-line docstring should not occupy 3 lines
2326:14: E225 missing whitespace around operator
2342:149: E201 whitespace after '('
2343:81: E128 continuation line under-indented for visual indent
2350:149: E201 whitespace after '('
2351:81: E128 continuation line under-indented for visual indent
2361:5: E303 too many blank lines (2)
2361: D400 First line should end with '.', not 'e'
2361: D300 Expected """-quotes, got '''-quotes
2361: D200 One-line docstring should not occupy 3 lines
2381: D401 First line should be imperative: 'Shadow', not 'Shadows'
2381: D400 First line should end with '.', not 'd'
2381: D300 Expected """-quotes, got '''-quotes
2381: D200 One-line docstring should not occupy 3 lines
2388:5: E303 too many blank lines (2)
2388: D300 Expected """-quotes, got '''-quotes
2388: D200 One-line docstring should not occupy 3 lines
2402: D300 Expected """-quotes, got '''-quotes
2402: D200 One-line docstring should not occupy 3 lines
2412:30: E231 missing whitespace after ':'
2412:52: E231 missing whitespace after ':'
2412:69: E231 missing whitespace after ':'
2412:86: E231 missing whitespace after ':'
2418:5: E303 too many blank lines (2)
2418: D401 First line should be imperative: 'Header', not 'Headers'
2418: D400 First line should end with '.', not 'm'
2418: D200 One-line docstring should not occupy 3 lines
2458: D400 First line should end with '.', not 'e'
2458: D200 One-line docstring should not occupy 3 lines
2544:33: E201 whitespace after '{'
2544:30: E225 missing whitespace around operator
2548:32: E124 closing bracket does not match visual indentation
2828:28: E225 missing whitespace around operator
2841:49: E203 whitespace before ':'
2842:30: E124 closing bracket does not match visual indentation
2846: D102 Docstring missing
2849: D102 Docstring missing
2850:9: F841 local variable '_' is assigned to but never used
2860:27: E128 continuation line under-indented for visual indent
2865:5: E303 too many blank lines (2)
2865: D300 Expected """-quotes, got '''-quotes
2865: D200 One-line docstring should not occupy 3 lines
2911: D202 No blank lines allowed *after* method docstring, found 1
2916:13: E128 continuation line under-indented for visual indent
2917:13: E128 continuation line under-indented for visual indent
2920: D102 Docstring missing
2925:32: E712 comparison to True should be 'if cond is True:' or 'if cond:'
2926:47: E712 comparison to True should be 'if cond is True:' or 'if cond:'
2951: D102 Docstring missing
2962:222: E202 whitespace before ')'
2963:192: E202 whitespace before ')'
2994: D102 Docstring missing
3013: D102 Docstring missing
3073:9: E303 too many blank lines (2)
3093: D102 Docstring missing
3109:66: E225 missing whitespace around operator
3111:54: E703 statement ends with a semicolon
3151: D102 Docstring missing
3168: D102 Docstring missing
3189: D102 Docstring missing
3190:9: F841 local variable '_' is assigned to but never used
3196:17: F841 local variable 'heprec' is assigned to but never used
3234: D102 Docstring missing
3252: D102 Docstring missing
3255: D102 Docstring missing
3257:5: E301 expected 1 blank line, found 0
3257: D102 Docstring missing
3259:5: E301 expected 1 blank line, found 0
3259: D102 Docstring missing
3261:5: E301 expected 1 blank line, found 0
3261: D102 Docstring missing
3266:9: E301 expected 1 blank line, found 0
3283: D102 Docstring missing
3289:11: E201 whitespace after '('
3290:11: E201 whitespace after '('
3291:11: E201 whitespace after '('
3292:11: E201 whitespace after '('
3294:15: E201 whitespace after '('
3295:11: E201 whitespace after '('
3296:11: E201 whitespace after '('
3296:76: E201 whitespace after '('
3296:71: E221 multiple spaces before operator
3297:11: E201 whitespace after '('
3298:11: E201 whitespace after '('
3299:11: E201 whitespace after '('
3300:139: E127 continuation line over-indented for visual indent
3301:11: E201 whitespace after '('
3302:11: E201 whitespace after '('
3303:11: E201 whitespace after '('
3304:11: E201 whitespace after '('
3305:11: E201 whitespace after '('
3307:11: E201 whitespace after '('
3309:11: E201 whitespace after '('
3316: D102 Docstring missing