Hi Miguel,
We are using this component for quite some years already, but unfortunately we created a clone of the component to translate the buttons in the dialog (and yes, as you can see in the screenshot below, it could be done a lot better). By doing this, we could phase out the clone and improve our technical debt a bit.
Is there a posibility that you can update the component so those buttons could be translated? A possible solution would be this modified code, where I've used the || (or) operator to provide default values for the button labels ('Yes' and 'No') in case the developer does not specify custom labels. Developers can now set the $parameters.YesLabel and $parameters.NoLabel variables to customize the button labels according to their localization requirements.
Best,
Bart
Hello!
I've added version 1.3.0 (under development) with the optional input parameters for the Confirm action.
Can you test it on your end and let me know if it works as expected?
Cheers
Thank you for promptly addressing this request. I just tested it, and it works :-)
Awesome!
I'll move version 1.3.0 to stable.
Thanks!