Remove incorrect usage of __d()

The __() methods cannot take variables.

Fixes #247