Add the line number in the exception

If a variable is present in a trans tag, the line number wasn't displayed before this change ("the text isn't present in test"). So theorically no change is necessary in tests.