title: How to add a Symfony2 translation containing a link inside of Doctrine @UniqueEntity Constraint?
body: <p>I am trying to add a link inside the @UniqueEntity message inside my Doctrine mapping so that the link is not hardcoded inside the translation file. I am invoking this with Symfony2 forms.</p>
  
  <p>Doctrine mapping:</p>
  
  <pre><code>@UniqueEntity(
    fields={"email"},
    message="form.error.email_exists"
  )
  </code></pre>
  
  <p>Translation file:</p>
  
  <pre><code> &lt;trans-unit id="a81086a8eea38842e4c8351657840086" resname="form.error.email_exists"&gt;
      &lt;source&gt;form.error.email_exists&lt;/source&gt;
      &lt;target&gt;We have an account with that email. %link1%Forgot your login?%linkEnd%&lt;/target&gt;
   &lt;/trans-unit&gt;
  </code></pre>
  
  <p>Normally you would just pass the %link1% through a translation filter, but I don't know how to do this within an annotation or if it is even possible.</p>
  
  <p>Thanks in advance.</p>