'Translate a range row-snippet by the given number of rows.'

@staticmethod
def translate_row(row_str, rdelta):

    if row_str.startswith('$'):
        return row_str
    else:
        new_row = (int(row_str) + rdelta)
        if (new_row <= 0):
            raise TranslatorError('Formula    out    of    range')
        return str(new_row)
