fix test and make warning translatable