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

Remove locations we do not translate from theme-i18n.json #35881

Merged
merged 2 commits into from
Oct 25, 2021

Conversation

oandregal
Copy link
Member

#27380 introduced the theme-i18n.json file (lib/experimental-i18n-theme.json at the time) to define which strings from a theme.json file should be picked up for translation.

At that point, we were experimenting with presets for a number of new things: font styles, font weights, text transforms, and text decorations. Hence, we had those in the i18n file. Later on, the presets were removed at #27555 but we forgot to also remove them from the i18n file. This PR does that.

@oandregal oandregal self-assigned this Oct 22, 2021
@oandregal oandregal added Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Code Quality Issues or PRs that relate to code quality labels Oct 22, 2021
Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Contributor

@aaronrobertshaw aaronrobertshaw left a comment

Choose a reason for hiding this comment

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

LGTM as well 👍

✅ All i18n references to font style, font-weight, text-transform, and text decoration removed
✅ Tests are all passing

@oandregal oandregal merged commit 3bb14ba into trunk Oct 25, 2021
@oandregal oandregal deleted the remove/no-longer-extracted-strings branch October 25, 2021 08:34
@github-actions github-actions bot added this to the Gutenberg 11.9 milestone Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants