Quick way to translate modal "Cancel" button?
Is there a quick way to translate a single button (the "Cancel" button that appears in form modals) or do I need to follow the procedure as if I was going to translate the entire framework?
Solution:Jump to solution
->label()
on the action itself, or if using modals, you have dedicated methods like ->submitActionLabel()
->cancelActionLabel()
etc2 Replies
Solution
->label()
on the action itself, or if using modals, you have dedicated methods like ->submitActionLabel()
->cancelActionLabel()
etcThanks! Turns out it's actually
modalSubmitActionLabel()
and modalCancelActionLabel()
but thanks for pointing me in the right direction!