general translations fixes

(closes #1911)

1: D100 Docstring missing
26:6: E126 continuation line over-indented for hanging indent
35:6: E126 continuation line over-indented for hanging indent
46:29: E126 continuation line over-indented for hanging indent
52:6: E126 continuation line over-indented for hanging indent
67:6: E126 continuation line over-indented for hanging indent
73: D101 Docstring missing
75: D102 Docstring missing
115:94: E203 whitespace before ':'
117:30: E127 continuation line over-indented for visual indent
117:95: E502 the backslash is redundant between brackets
117:76: E203 whitespace before ':'
117:92: E203 whitespace before ':'
125:60: E502 the backslash is redundant between brackets
126:52: E251 unexpected spaces around keyword / parameter equals
126:54: E251 unexpected spaces around keyword / parameter equals
129:13: E303 too many blank lines (2)
203:45: E128 continuation line under-indented for visual indent
210:107: E203 whitespace before ':'
212:37: E122 continuation line missing indentation or outdented
212:102: E502 the backslash is redundant between brackets
212:83: E203 whitespace before ':'
212:99: E203 whitespace before ':'
213:41: E128 continuation line under-indented for visual indent
273:25: E128 continuation line under-indented for visual indent
273:79: E502 the backslash is redundant between brackets
274:41: E127 continuation line over-indented for visual indent
275:54: E502 the backslash is redundant between brackets
276:25: E128 continuation line under-indented for visual indent
278:25: E126 continuation line over-indented for hanging indent
285:25: E127 continuation line over-indented for visual indent
286:25: E127 continuation line over-indented for visual indent
287:25: E127 continuation line over-indented for visual indent
288:25: E127 continuation line over-indented for visual indent
291: D400 First line should end with '.', not 't'
291: D205 Blank line missing between one-line summary and description
291: D208 Docstring is over-indented
303:1: E302 expected 2 blank lines, found 1
303: D202 No blank lines allowed *after* function docstring, found 1
303: D400 First line should end with '.', not 's'
312:13: E203 whitespace before ':'
346: D101 Docstring missing
350: D400 First line should end with '.', not 'd'
350: D200 One-line docstring should not occupy 3 lines
371:22: E126 continuation line over-indented for hanging indent
371:50: E203 whitespace before ':'
372:55: E203 whitespace before ':'
382:9: E122 continuation line missing indentation or outdented
435:96: E128 continuation line under-indented for visual indent
446:50: E502 the backslash is redundant between brackets
466:5: E128 continuation line under-indented for visual indent
476:26: E251 unexpected spaces around keyword / parameter equals
476:28: E251 unexpected spaces around keyword / parameter equals
479:111: E502 the backslash is redundant between brackets
479:34: E251 unexpected spaces around keyword / parameter equals
479:36: E251 unexpected spaces around keyword / parameter equals
480:37: E127 continuation line over-indented for visual indent
481:25: E251 unexpected spaces around keyword / parameter equals
481:27: E251 unexpected spaces around keyword / parameter equals
482:24: E251 unexpected spaces around keyword / parameter equals
482:26: E251 unexpected spaces around keyword / parameter equals
487: D202 No blank lines allowed *after* method docstring, found 1
487: D400 First line should end with '.', not 'e'
487: D300 Expected """-quotes, got '-quotes
502:16: E127 continuation line over-indented for visual indent
506:35: E128 continuation line under-indented for visual indent
507:35: E128 continuation line under-indented for visual indent
528:17: E128 continuation line under-indented for visual indent
529:17: E128 continuation line under-indented for visual indent
530:17: E128 continuation line under-indented for visual indent