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

Add i18n feature flag to ThemeSettings schema #475

Merged
merged 6 commits into from
Jul 12, 2023

Conversation

marinaaisa
Copy link
Member

Bug/issue #102139999, if applicable:

Summary

This PR adds i18n feature flag to ThemeSettings JSON schema

Dependencies

swiftlang/swift-docc-render#523

@ethan-kusters
Copy link
Contributor

@swift-ci please test

@marinaaisa
Copy link
Member Author

@swift-ci please test

@marinaaisa
Copy link
Member Author

@swift-ci please test

@@ -856,6 +856,9 @@
},
"onThisPageNavigator": {
"$ref": "#/components/schemas/FeatureFlagDisable"
},
"i18n": {
"$ref": "#/components/schemas/FeatureFlagDisable"
Copy link
Contributor

Choose a reason for hiding this comment

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

i18 is defined by "enable"

Suggested change
"$ref": "#/components/schemas/FeatureFlagDisable"
"$ref": "#/components/schemas/FeatureFlagEnable"

Copy link
Contributor

@Kyle-Ye Kyle-Ye Jul 7, 2023

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for looking into it @Kyle-Ye ! I fixed it d2fba16

@marinaaisa
Copy link
Member Author

@swift-ci please test

@marinaaisa
Copy link
Member Author

@swift-ci please test

@marinaaisa
Copy link
Member Author

@ethan-kusters can you take another look, please? Thanks

Copy link
Contributor

@ethan-kusters ethan-kusters left a comment

Choose a reason for hiding this comment

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

Looks good! I'm wondering if we should consider using the full word "localization" "internationalization" to make this a little more accessible for people not familiar with the "i18n" abbreviation but I think that change is likely out-of-the-scope of this review so I'm happy to land this as-is.

@marinaaisa marinaaisa merged commit 09ad847 into main Jul 12, 2023
@marinaaisa marinaaisa deleted the r102139999/hardcoded-strings-i18n branch July 12, 2023 10:23
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.

4 participants