'Returns a new translated string.
If last char of original is a newline, make sure translation
has a newline too.'

def final_newline(self, original, translated):

    if original:
        if ((original[(-1)] == '\n') and (translated[(-1)] != '\n')):
            translated += '\n'
    return translated
