Fixes failing tests for non-translated translation keys. Thanks to @tsteur for spotting this!

refs #4086