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
I18n maker setup list #36787
I18n maker setup list #36787
Conversation
{applabI18n.makerSetupPlugInBoardCheck()} | ||
<a href="#" onClick={this.redetect.bind(this)}> | ||
re-detect | ||
{applabI18n.redetect()} |
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.
[incorporate these strings into 1 for i18n]
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.
Hi there! Can you let me know which string parts you are looking at here? Thanks!
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.
of course -- i was thinking we could condense applabI18n.makerSetupPlugInBoardCheck
and applabI18n.redetect
using the <SafeMarkdown/>
component, but now i realize that won't work because the onClick
handler here won't play nicely with markdown, so you can ignore this one 😄
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.
thank you for getting everything into i18n -- LGTM!
@code-dot-org/i18n - I would love a quick check on this to make sure it's following best practice - thank you! |
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.
Looks great! Thanks for being so deliberate with this.
FYI @dju90 that as we continue to engage with the process of i18n-izing old content, this could be a great reference PR
All the maker i18n things! This builds on PR:
#36689 to make the maker set-up process i18n-ed before I add the micro:bit.
This page is the 4 step process that folks go through to make sure their CP board is working correctly. There should be no functional changes and very minor styling changes. One change I made was to break up the sentence: "We couldn't detect a Circuit Playground board. Make sure your board is plugged in, and click re-detect." to be {We couldn't detect a Circuit Playground board. Make sure your board is plugged in, and click: } {re-detect}. This is because the re-detect has an onClick attached to it and breaking this up allowed each of those strings to be i18n'ed and still have re-detect have an onClick. My hope is that because "re-detect" also appears as a button at the top of the page, this will make sense when translated. If not, let me know and I'll head back to the drawing board with it. I included before and after images of this change.
Before:
After:
Reviewer Checklist: