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 generated debugger package.json strings #6088

Merged
merged 3 commits into from
Aug 11, 2023

Conversation

WardenGnaw
Copy link
Contributor

@WardenGnaw WardenGnaw commented Aug 10, 2023

This PR updates the generateOptionsSchema to create keys for package.nls.json that are used in package.json for localization.

This will automatically take the english strings in OptionsSchema.json + etc and convert them into keys to use for package.nls.json and update package.nls.json.

The keys that are generated with start with generateOptionsSchema and that will be used to clean up old keys.

This PR updates the generateOptionsSchema to create keys for
package.nls.json that are used in package.json for localization.

This will automatically take the english strings in OptionsSchema.json +
etc and convert them into keys to use for package.nls.json and update
package.nls.json.
Copy link
Member

@dibarbet dibarbet left a comment

Choose a reason for hiding this comment

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

I guess a nice side effect is that updates to the package.json will no longer remove the \u200b characters!

package.nls.json Outdated Show resolved Hide resolved
@gregg-miskelly
Copy link
Contributor

Can we remove this now?

test('Verify \\u200b exists in example URLs', () => {

gregg-miskelly
gregg-miskelly previously approved these changes Aug 10, 2023
Copy link
Contributor

@gregg-miskelly gregg-miskelly left a comment

Choose a reason for hiding this comment

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

Otherwise looks good to me

@WardenGnaw WardenGnaw changed the title Localize debugger package.json strings Localize generated debugger package.json strings Aug 10, 2023
@gregg-miskelly gregg-miskelly dismissed their stale review August 11, 2023 05:46

revoking review

Copy link
Contributor

@gregg-miskelly gregg-miskelly left a comment

Choose a reason for hiding this comment

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

:shipit:

@WardenGnaw WardenGnaw merged commit aab2804 into main Aug 11, 2023
4 checks passed
@WardenGnaw WardenGnaw deleted the dev/waan/debuggerJsonSchemaLoc branch August 11, 2023 17:26
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.

3 participants