Skip to content
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

Use i18n keys for workflow tree type labels #1839

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

shinshin86
Copy link
Collaborator

This pull request updates the display of workflow tree type labels in the sidebar to use internationalized keys instead of hard-coded strings.

Previously, labels such as "Open," "Bookmarks," and "Browse" were static. By using getWorkflowTreeTypeLabel() and referencing translation keys from en.json, and other locale files, these workflow tree types now display properly localized text.

Your review would be greatly appreciated when you have time!

@shinshin86 shinshin86 requested review from a team as code owners December 7, 2024 23:29
Copy link
Member

@huchenlei huchenlei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed translation to be inlined. (More straightforward)

@huchenlei huchenlei merged commit 059dfcb into main Dec 7, 2024
9 of 10 checks passed
@huchenlei huchenlei deleted the use-i18n-for-workflow-tree-type-labels branch December 7, 2024 23:52
@huchenlei huchenlei added the i18n Anything related to translation label Dec 7, 2024
@shinshin86
Copy link
Collaborator Author

Understood! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n Anything related to translation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants