-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Minimal Viable Navigation Menu #1510
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
Translation with new namespace I18Next configuration leaning on default separator and namespace Broom: i18n + debug:false
Yay!!!! @andrewn I'll let you review 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.
This is looking really good. I've left some questions for you in the code.
Also, can you remove the commented out code in the About box. I checked with @catarak and she said it's ok. I think it's good not to have untranslated stuff as you convert everything! Thanks! |
Test entry for Toolbar.test.jsx
About : broom About lines 17-26 Nav component : changes in keys KeyboardShortcutModal.jsx: Key now in Common
Labels included in translations.json
Labels included in translations.json
Labels included in translations.json
Labels included in translations.json Snapshot updated npm run test -- -u
Updated names to call the labels Common namespace without currently used entries
Hi @andrewn , I'm updating the PR. |
Missing Common.p5logoARIA key
Deleting commented line 78
@@ -10,31 +10,21 @@ function About(props) { | |||
return ( | |||
<div className="about__content"> | |||
<Helmet> | |||
<title>p5.js Web Editor | About </title> | |||
<title>p5.js Web Editor | {t('About.TitleHelmet')} </title> |
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.
In the browser's title bar this shows:
p5.js Web Editor | p5.js Web Editor | About
@oruburos A couple of small things to fix then I think we're good to go! |
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!
🎉 🎉 🎉 |
These two aforementioned changes solve a double fetching that it is happening in the web editor.
But affects the keys that are present at the moment, so another change is present in this PR ( Related to #1492 `)
Components like Nav, Preferences, About, KeyboardShortcut and Toast (among others) are encapsulated in a prefix.
I have verified that this pull request:
npm run lint
)