-
Notifications
You must be signed in to change notification settings - Fork 881
Show template average build #4545
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
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA 1 out of 2 committers have signed the CLA. |
I have read the CLA Document and I hereby sign the CLA |
developerCount: (activeCount: number): string => { | ||
return `${formatTemplateActiveDevelopers(activeCount)} developer${ | ||
activeCount !== 1 ? "s" : "" | ||
}` | ||
}, | ||
nameLabel: "Name", | ||
buildTimeLabel: "Build time", |
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.
We'll want to move these in to a translation file - site/src/i18n/en/templatesPage.json
will work fine.
You can look at this explanatory PR to see how how use translations in the component file.
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.
Where are these strings actually being used?
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 all old code I haven't yet refactored. Will do the translations, thx.
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 think if we want to use translations across the board we should migrate everything in one fell swoop.
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'm happy to handle that; maybe toward the end of next week.
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.
Up to you. I have no preference, except for consistency.
Continuing this here #4557 |
Continuing @iskhakovt's work from #3999