Using i18n() @ buttons.buttons.titleAttr
Using i18n() @ buttons.buttons.titleAttr
legshooter
Posts: 6Questions: 2Answers: 0
Hey,
Docs specify that buttons.buttons.text
can be handed a callback through which we can access dt.i18n()
, but unfortunately buttons.buttons.titleAttr
accepts only a string, so there's no way (that I know of) to use i18n()
with it.
Any plans for this? Or things I might've missed?
Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
There aren't currently any plans for it, but it seems like a very sensible idea to me. Thanks for the suggestion - I've added it to my list. I'm not sure I'll be able to ad it for the next release (which will be later this week), but I'll try.
Regards,
Allan
Don't see it in the new release, but hopefully in the next one. Thanks for considering.
Yes, it would have delayed the release, which was already delayed. I can't say for certain when I'll get a chance to work on it due to the amount of support requests coming in at the moment, but it is on my list!
Allan
I've finally got this in: commit.
It will be in the up coming 1.3.0 release.
Regards,
Allan