Skip to content

Conversation

alan412
Copy link
Collaborator

@alan412 alan412 commented Sep 30, 2025

This adds i18n support for all react components that were missing it EXCEPT FileManageModal and ProjectManageModal because I plan to refactor those.

@alan412 alan412 requested a review from lizlooney September 30, 2025 23:51
@alan412
Copy link
Collaborator Author

alan412 commented Sep 30, 2025

@lizlooney - I am not sure what I think about passing in t to the project.ts method. It seems like perhaps all of the error message should be in what calls it. Thoughts?

@lizlooney
Copy link
Collaborator

@lizlooney - I am not sure what I think about passing in t to the project.ts method. It seems like perhaps all of the error message should be in what calls it. Thoughts?

I think isClassNameOk should be moved from project.ts to ClassNameComponent.tsx.

@alan412
Copy link
Collaborator Author

alan412 commented Oct 2, 2025

@lizlooney - I am not sure what I think about passing in t to the project.ts method. It seems like perhaps all of the error message should be in what calls it. Thoughts?

I think isClassNameOk should be moved from project.ts to ClassNameComponent.tsx.

Agreed. I'll move it.

@alan412 alan412 requested a review from lizlooney October 3, 2025 14:02
@lizlooney lizlooney merged commit 28c41c7 into wpilibsuite:main Oct 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants