-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Enhance localization of the getting-started package #16578
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
Conversation
sdirix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rework this PR on the newly introduced Markdown / LocalizedMarkdown components
Done! |
| onClick={() => this.doOpenAIChatView()} | ||
| onKeyDown={(e: React.KeyboardEvent) => this.doOpenAIChatViewEnter(e)}> | ||
| {'Open the AI Chat View now to learn how to start! ✨'} | ||
| {nls.localize('theia/getting-started/ai/openAIChatView', 'Open the AI Chat View now to learn how to start!')} ✨ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we place the emoji into the localization call? Same for all the other emojis?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have been told "no": #16350 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see ;) I guess another rule to add to the guidelines then ;)
|
It would be great if this could get into 1.67 :-) |
sdirix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me! Thanks
|
@sdirix Thank you very much for your review, and your help! 👍 |
What it does
This PR provides localization enhancements for the
getting-startedpackage.How to test
The getting started widget should look and behave as before, except for external links in the AI Banner, which are now underlined and have tooltips. This is a side-effect of using the markdown renderer as part of the approach recommended in #16501. See also #16470 for a related discussion of localizing rich content in Theia.
Breaking changes
Review checklist
Reminder for reviewers