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

Localize commands #3374

Merged
merged 9 commits into from
Nov 5, 2022
Merged

Localize commands #3374

merged 9 commits into from
Nov 5, 2022

Conversation

Ygg01
Copy link
Contributor

@Ygg01 Ygg01 commented Oct 25, 2022

A continuation of #2331 and stepping stone for #2273.

Just without too much complication. Rather than a custom data structure, adds an abstract LocalizeCommand that preserves IConsoleCommand interface.
LocalizeCommand standardizes the IConsoleCommand localization to cmd-{Command}-{help/desc} for Help and Description respectively.

Related to space-wizards/space-station-14#5543 (Expect a commit there too as well).

Non-breakable change at first glance.

@Ygg01
Copy link
Contributor Author

Ygg01 commented Oct 25, 2022

Hrm, why is entityQuery failing on transform in Content.IntegrationTests?

NVM. It was some intermittent failure.

@Ygg01 Ygg01 added the Status: Needs Review This PR needs to be reviewed before it can be merged. label Oct 25, 2022
@Ygg01 Ygg01 requested a review from PJB3005 November 1, 2022 22:37
Copy link
Member

@ElectroJr ElectroJr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This currently breaks completion hints (e.g., see /help's lack of completions)

@ElectroJr ElectroJr merged commit 108e270 into space-wizards:master Nov 5, 2022
@Ygg01 Ygg01 deleted the localize-commands branch November 5, 2022 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review This PR needs to be reviewed before it can be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants