-
Notifications
You must be signed in to change notification settings - Fork 420
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
refactor(core): change revision history label from 'Version' to the more accurate 'Revision' #6956
Conversation
…ore accurate 'Revision'
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
No changes to documentation |
Component Testing Report Updated Jun 18, 2024 1:10 PM (UTC)
|
* Label for latest revision for timeline menu dropdown | ||
* @deprecated use `timeline.latest-revision` instead | ||
* */ | ||
'timeline.latest-version': 'Latest revision', |
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.
defer to @rexxars on deprecating i18n keys. Not sure we have a process
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.
There's no clear process, but we can make this an opportunity to establish one?
This was a fair amount of OCD-induced change 😅, but I still feel the change it's justified by the likelyhood of existing language bundles already having translated "version" instead of "revision" (for example, the norwegian bundle is currently using "Siste versjon" here, when it should be "Siste revisjon"), and this change will give downstream locale implementors a chance to notice the change.
I've pushed some added clarity in the comments in 4864109 based on input from @rexxars.
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.
understood, I am okay with the change just wanted to call it out
…o the more accurate 'Revision'
'timeline.latest-version': 'Latest version', | ||
|
||
/** Label for latest revision for timeline menu dropdown */ | ||
'timeline.latest-revision': 'Latest revision', |
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.
@bjoerge I don't see anywhere in the code timeline.latest-revision
key being used. Is that expected?
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.
🤦🏼 forgot to change it in code, fixed in 66f81e4. Thanks for catching!
…o the more accurate 'Revision'
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.
makes sense to me, thanks!
Description
This makes our labeling of revision to be more consistent. We are calling it revision in someplaces but not everywhere. Also updated the code to be more consistent too.
What to review
Testing
Don't think it makes all that much sense to add automated testing for this one
Notes for release
n/a - should just make the studio terminology more consistent.