The hash parameter options should be passed within the method call parentheses, like so
h1 = t('client.edit.title', :current_client => @client.fullname)
Not sure why this would have worked in ERB, but it doesn't look correct as written.
You can also remove the parentheses altogether
h1 = t 'client.edit.title', :current_client => @client.fullname