translate: print used ranges list
translate: check for duplicate ranges, and > → >=
store ranges as lists, not tuples

Fixes error introduced one commit before