general translations fixes

(closes #1911)

1: D400 First line should end with '.', not 's'
38:6: E126 continuation line over-indented for hanging indent
57:6: E126 continuation line over-indented for hanging indent
62:31: E126 continuation line over-indented for hanging indent
69:6: E126 continuation line over-indented for hanging indent
73:6: E126 continuation line over-indented for hanging indent
86: D401 First line should be imperative: 'Return', not 'Returns'
86: D205 Blank line missing between one-line summary and description
141:29: E271 multiple spaces after keyword
217:33: E261 at least two spaces before inline comment
218:15: E271 multiple spaces after keyword
219:49: E203 whitespace before ':'
221:49: E203 whitespace before ':'
221:51: E202 whitespace before ']'
222:14: E261 at least two spaces before inline comment
236:79: E261 at least two spaces before inline comment
243:8: E111 indentation is not a multiple of four
322:84: E502 the backslash is redundant between brackets
322:84: E251 unexpected spaces around keyword / parameter equals
324:88: E502 the backslash is redundant between brackets
324:88: E251 unexpected spaces around keyword / parameter equals
329:1: E302 expected 2 blank lines, found 1
329: D400 First line should end with '.', not 'w'
329: D205 Blank line missing between one-line summary and description
354:1: E302 expected 2 blank lines, found 1
354: D400 First line should end with '.', not 's'
354: D205 Blank line missing between one-line summary and description
383:1: E302 expected 2 blank lines, found 1
383: D400 First line should end with '.', not 's'
383: D205 Blank line missing between one-line summary and description
406:1: E302 expected 2 blank lines, found 1
406: D401 First line should be imperative: 'Check', not 'Checks'
406: D400 First line should end with '.', not 'd'
406: D205 Blank line missing between one-line summary and description
428:1: E302 expected 2 blank lines, found 1
428: D400 First line should end with '.', not 'n'
428: D200 One-line docstring should not occupy 3 lines
437:1: E302 expected 2 blank lines, found 1
437: D200 One-line docstring should not occupy 3 lines
443:10: E222 multiple spaces after operator
445:49: E231 missing whitespace after ','
448:1: E302 expected 2 blank lines, found 1
448: D205 Blank line missing between one-line summary and description
512:17: E127 continuation line over-indented for visual indent
512:18: E201 whitespace after '{'
512:44: E203 whitespace before ':'
513:44: E203 whitespace before ':'
514:44: E203 whitespace before ':'
515:44: E203 whitespace before ':'
516:44: E203 whitespace before ':'
517:44: E203 whitespace before ':'
518:80: E502 the backslash is redundant between brackets
518:44: E203 whitespace before ':'
519:47: E127 continuation line over-indented for visual indent
519:130: E502 the backslash is redundant between brackets
521:44: E203 whitespace before ':'
522:44: E203 whitespace before ':'
523:44: E203 whitespace before ':'
524:44: E203 whitespace before ':'
525:80: E502 the backslash is redundant between brackets
525:44: E203 whitespace before ':'
527:44: E203 whitespace before ':'
528:44: E203 whitespace before ':'
528:65: E225 missing whitespace around operator
528:84: E225 missing whitespace around operator
529:44: E203 whitespace before ':'
529:64: E261 at least two spaces before inline comment
529:65: E262 inline comment should start with '# '
530:17: E124 closing bracket does not match visual indentation
538:1: E302 expected 2 blank lines, found 1
538: D401 First line should be imperative: 'Check', not 'Checks'
538: D400 First line should end with '.', not 't'
538: D205 Blank line missing between one-line summary and description
560:1: E302 expected 2 blank lines, found 1
560: D400 First line should end with '.', not 'n'
560: D205 Blank line missing between one-line summary and description
577: D400 First line should end with '.', not 'r'
577: D205 Blank line missing between one-line summary and description
600:1: E302 expected 2 blank lines, found 1
600: D400 First line should end with '.', not 't'
600: D205 Blank line missing between one-line summary and description
623:17: E225 missing whitespace around operator
628:1: E302 expected 2 blank lines, found 1
628: D400 First line should end with '.', not 't'
628: D205 Blank line missing between one-line summary and description
649:1: E302 expected 2 blank lines, found 1
649: D400 First line should end with '.', not 'n'
649: D205 Blank line missing between one-line summary and description
661:17: E225 missing whitespace around operator
674:1: E302 expected 2 blank lines, found 1
674: D400 First line should end with '.', not 'n'
674: D205 Blank line missing between one-line summary and description
696:22: E201 whitespace after '{'
696:31: E203 whitespace before ':'
696:17: E222 multiple spaces after operator
697:31: E203 whitespace before ':'
698:31: E203 whitespace before ':'
699:31: E203 whitespace before ':'
700:31: E203 whitespace before ':'
701:31: E203 whitespace before ':'
702:21: E124 closing bracket does not match visual indentation
738:38: E203 whitespace before ':'
739:38: E203 whitespace before ':'
740:1: E128 continuation line under-indented for visual indent
741:1: E128 continuation line under-indented for visual indent
742:38: E203 whitespace before ':'
743:16: E128 continuation line under-indented for visual indent
744:16: E128 continuation line under-indented for visual indent
813:1: E302 expected 2 blank lines, found 1
813: D401 First line should be imperative: 'Return', not 'Returns'
813: D400 First line should end with '.', not 'm'
813: D205 Blank line missing between one-line summary and description
845:1: E302 expected 2 blank lines, found 1
845: D400 First line should end with '.', not 'o'
845: D205 Blank line missing between one-line summary and description
853:1: E302 expected 2 blank lines, found 1
853: D400 First line should end with '.', not 'n'
853: D205 Blank line missing between one-line summary and description
878:5: F841 local variable 'msg_original' is assigned to but never used
964: D400 First line should end with '.', not 'd'
964: D205 Blank line missing between one-line summary and description
975:35: E127 continuation line over-indented for visual indent
993:1: E302 expected 2 blank lines, found 1
993: D400 First line should end with '.', not 'r'
993: D205 Blank line missing between one-line summary and description
1015:1: E302 expected 2 blank lines, found 1
1015: D401 First line should be imperative: 'Return', not 'Returns'
1015: D400 First line should end with '.', not ')'
1028:134: E502 the backslash is redundant between brackets
1028:36: E225 missing whitespace around operator
1028:55: E225 missing whitespace around operator
1033:1: E302 expected 2 blank lines, found 1
1033: D400 First line should end with '.', not 's'
1033: D205 Blank line missing between one-line summary and description
1051:1: E302 expected 2 blank lines, found 1
1071:1: E302 expected 2 blank lines, found 1
1071: D401 First line should be imperative: 'Return', not 'Returns'
1071: D400 First line should end with '.', not 's'
1071: D205 Blank line missing between one-line summary and description
1093:1: E302 expected 2 blank lines, found 1
1093: D401 First line should be imperative: 'Return', not 'Returns'
1137:16: E126 continuation line over-indented for hanging indent
1142:24: E713 test for membership should be 'not in'
1144:58: E502 the backslash is redundant between brackets
1149:49: E502 the backslash is redundant between brackets
1151:49: E502 the backslash is redundant between brackets
1152:72: E202 whitespace before ')'
1154:1: E302 expected 2 blank lines, found 1
1154: D205 Blank line missing between one-line summary and description
1201:25: E126 continuation line over-indented for hanging indent
1205:25: E126 continuation line over-indented for hanging indent
1272:1: E302 expected 2 blank lines, found 1
1272: D401 First line should be imperative: 'Return', not 'Returns'
1272: D400 First line should end with '.', not 'd'
1272: D205 Blank line missing between one-line summary and description
1293:16: E126 continuation line over-indented for hanging indent
1305:16: E126 continuation line over-indented for hanging indent
1313:1: E302 expected 2 blank lines, found 1
1313: D400 First line should end with '.', not 'n'
1313: D205 Blank line missing between one-line summary and description
1332:22: E231 missing whitespace after ':'
1332:29: E231 missing whitespace after ':'
1332:36: E231 missing whitespace after ':'
1332:43: E231 missing whitespace after ':'
1375:1: E302 expected 2 blank lines, found 1
1375: D401 First line should be imperative: 'Get', not 'Gets'
1375: D205 Blank line missing between one-line summary and description
1404:19: E261 at least two spaces before inline comment
1404:20: E262 inline comment should start with '# '
1423:10: E261 at least two spaces before inline comment
1423:11: E262 inline comment should start with '# '
1449:42: E261 at least two spaces before inline comment
1453:45: E261 at least two spaces before inline comment
1477:1: E302 expected 2 blank lines, found 1
1477: D400 First line should end with '.', not 'g'
1477: D200 One-line docstring should not occupy 3 lines
1489:70: E502 the backslash is redundant between brackets
1492:1: E302 expected 2 blank lines, found 1
1492: D400 First line should end with '.', not 'n'
1492: D205 Blank line missing between one-line summary and description
1506:21: E222 multiple spaces after operator
1520:1: E302 expected 2 blank lines, found 1
1520: D400 First line should end with '.', not 'k'
1520: D205 Blank line missing between one-line summary and description
1566:5: F841 local variable 'actions' is assigned to but never used
1623:67: E225 missing whitespace around operator
1750:1: E302 expected 2 blank lines, found 1
1750: D401 First line should be imperative: 'Send', not 'Sends'
1750: D400 First line should end with '.', not 'D'
1750: D200 One-line docstring should not occupy 3 lines
1772:28: F841 local variable 'last_login' is assigned to but never used
1808:10: E201 whitespace after '{'
1808:36: E203 whitespace before ':'
1808:51: E222 multiple spaces after operator
1810:36: E203 whitespace before ':'
1810:51: E222 multiple spaces after operator
1811:36: E203 whitespace before ':'
1812:36: E203 whitespace before ':'
1813:36: E203 whitespace before ':'
1814:36: E203 whitespace before ':'
1815:36: E203 whitespace before ':'
1816:36: E203 whitespace before ':'
1817:36: E203 whitespace before ':'
1818:36: E203 whitespace before ':'
1819:36: E203 whitespace before ':'
1819:60: E231 missing whitespace after ','
1820:36: E203 whitespace before ':'
1821:37: E203 whitespace before ':'
1822:36: E203 whitespace before ':'
1823:9: E124 closing bracket does not match visual indentation
1837:1: E302 expected 2 blank lines, found 1
1837: D400 First line should end with '.', not '0'
1837: D205 Blank line missing between one-line summary and description
1857:26: E231 missing whitespace after ','
1896:1: E302 expected 2 blank lines, found 1
1896: D202 No blank lines allowed *after* function docstring, found 1
1896: D400 First line should end with '.', not 'e'
1896: D205 Blank line missing between one-line summary and description
1938:1: E302 expected 2 blank lines, found 1
1938: D401 First line should be imperative: 'Return', not 'Returns'
1938: D400 First line should end with '.', not 'e'
1938: D205 Blank line missing between one-line summary and description
1957:1: E302 expected 2 blank lines, found 1
1957: D400 First line should end with '.', not 'n'
1957: D205 Blank line missing between one-line summary and description
1974:1: E302 expected 2 blank lines, found 1
1974: D400 First line should end with '.', not ','
1974: D205 Blank line missing between one-line summary and description
1995:15: E271 multiple spaces after keyword
1998:1: E302 expected 2 blank lines, found 1
1998: D400 First line should end with '.', not 'n'
1998: D205 Blank line missing between one-line summary and description
2009:1: E302 expected 2 blank lines, found 1
2009: D400 First line should end with '.', not 'e'
2009: D205 Blank line missing between one-line summary and description
2025:1: E302 expected 2 blank lines, found 1
2025: D400 First line should end with '.', not 's'
2025: D205 Blank line missing between one-line summary and description
2037:1: E302 expected 2 blank lines, found 1
2037: D400 First line should end with '.', not 'e'
2037: D205 Blank line missing between one-line summary and description
2080:1: E302 expected 2 blank lines, found 1
2080: D400 First line should end with '.', not 'e'
2080: D200 One-line docstring should not occupy 3 lines
2092:1: E302 expected 2 blank lines, found 1
2092: D400 First line should end with '.', not 'e'
2106:1: E302 expected 2 blank lines, found 1
2141:114: E502 the backslash is redundant between brackets
2145:135: E502 the backslash is redundant between brackets
2148:125: E502 the backslash is redundant between brackets
2154:12: E127 continuation line over-indented for visual indent
2181:5: E303 too many blank lines (2)