Update translator.rb

Add 2-clause BSD license