-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #15144 DynamicDialog get closeAriaLabel #15152
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Hi @TaneliTuomola, For aria labels, you should place it inside the aria object in translation object in primengconfig.ts (don't forget to update interfaces). Also, you should access it inside the component below to make it translatable. And one more thing, Correct usage:
You can find examples of this usage in various places inside the library. Thanks in advance. |
good catch! |
Thanks for the advice @cetincakiroglu. Global text is better for setting the text of the Close button than a separate property. Would it be worth refactoring the icon button texts of the Dialog and ConfirmDialog components in the same way? Now they use a separate Input property: |
Hi @TaneliTuomola, Thanks a lot for the effort and support! |
fixes #15144