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

Handle language pack uninstallation #172082

Merged
merged 2 commits into from Jan 24, 2023
Merged

Handle language pack uninstallation #172082

merged 2 commits into from Jan 24, 2023

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Jan 23, 2023

The most important part of this change is that we now listen for when extensions are uninstalled and if they uninstalled language currently set then a modal will show up prompting for restart (required to change the language back to English).

This change also makes the LocaleService the thing that writes to the argv.json instead of a few places doing it

and cleans up some of the wording.

Fixes #82791

@TylerLeonhardt TylerLeonhardt self-assigned this Jan 23, 2023
@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) January 23, 2023 23:07
@VSCodeTriageBot VSCodeTriageBot added this to the January 2023 milestone Jan 23, 2023
@rzhao271
Copy link
Contributor

Does this issue fix #82791?
Also, do the tests need to be configured to skip the dialog?

The most important part of this change is that we now listen for when extensions are uninstalled and if they uninstalled language currently set then a modal will show up prompting for restart (required to change the language back to English).

This change also makes the LocaleService the thing that writes to the argv.json instead of a few places doing it

and cleans up some of the wording.
* use a notification until there's a more reliable way to guess when an extension is installed via settings sync
@TylerLeonhardt
Copy link
Member Author

Also, do the tests need to be configured to skip the dialog?

No nothing has changed in that regard

@TylerLeonhardt TylerLeonhardt merged commit 144ea81 into main Jan 24, 2023
@TylerLeonhardt TylerLeonhardt deleted the tyler/legitimate-gull branch January 24, 2023 01:23
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uninstalling language pack for current display language does not update display language setting
4 participants