-
Notifications
You must be signed in to change notification settings - Fork 72
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
chore: i18n support for service registry art Artifact commands #1026
Conversation
WOW :) Edit: I'm speechless. Amazing PR definietly nothing like good first issue. Thank you so much for putting so much effort into RHOAS CLI |
rhoas service-registry artifact create --type=JSON my-artifact.json | ||
`, | ||
Args: cobra.RangeArgs(0, 1), | ||
Use: f.Localizer.MustLocalize("artifact.cmd.create.use"), |
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 did not internationalise use but I think we aren't consistent in this across cli.
Command names should not change
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.
Let me know if you want to revert strings for "use".
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.
No need. All good. Changes like this should be cli wide.
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.
All seems good. Need to test every cmd tommorow
@wtrocki you're welcome. Let me know if something needs to be changed. |
Closes #904