Skip to content
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

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

alexal
Copy link
Contributor

@alexal alexal commented Sep 2, 2021

Closes #904

@craicoverflow craicoverflow changed the title feat: i18n support for service registry art Artifact commands chore: i18n support for service registry art Artifact commands Sep 2, 2021
@wtrocki
Copy link
Collaborator

wtrocki commented Sep 2, 2021

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"),
Copy link
Collaborator

@wtrocki wtrocki Sep 2, 2021

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

Copy link
Contributor Author

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".

Copy link
Collaborator

@wtrocki wtrocki Sep 2, 2021

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.

Copy link
Collaborator

@wtrocki wtrocki left a 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

@alexal
Copy link
Contributor Author

alexal commented Sep 2, 2021

@wtrocki you're welcome. Let me know if something needs to be changed.

@wtrocki wtrocki merged commit 1165a3f into redhat-developer:main Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I18n support for service registry art Artifact commands
2 participants