Using i18n() @ buttons.buttons.titleAttr

Using i18n() @ buttons.buttons.titleAttr

legshooterlegshooter 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

Answers

  • allanallan Posts: 63,356Questions: 1Answers: 10,444 Site admin
    Answer ✓

    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

  • legshooterlegshooter Posts: 6Questions: 2Answers: 0

    Don't see it in the new release, but hopefully in the next one. Thanks for considering.

  • allanallan Posts: 63,356Questions: 1Answers: 10,444 Site admin

    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

  • allanallan Posts: 63,356Questions: 1Answers: 10,444 Site admin

    I've finally got this in: commit.

    It will be in the up coming 1.3.0 release.

    Regards,
    Allan

This discussion has been closed.