docteurklein/TranslatorBundle

Dbclick might not be the best event to listen for

schmittjoh opened this issue · 1 comments

Using dbclick causes problems if you want to translate the text of links or buttons.

One solution I could imagine is to use a mouseover event with a delay in addition to the dbclick event.

Yes.

In a previous symfony1 version, i added an option to intercept and cancel events on trans texts,
so that you can translate links.

But a mouseover is surely a better solution.