Closed dhoko closed 6 years ago
custom-tooltip-translate="Allez la France"
As a Belgian, I am incapable of merging this today :-)
But it looks good and it makes sense. Will have a further look tomorrow!
Merged and released as v2.3.11
. Thanks for the excellent pull request!
Thx :+1:
Ex: when we define a custom attribute for a tooltip we can do:
When we extract the translations we want to extract the key
Allez la France
, that's what we have via this fix. Today we have<i class="fa fa-flag-france"></i>
. I added a test for this use case too.:warning: this won't change the current behavior for
translate
.