In #320 we limited extraction of theme.json files to ones in the (theme) root and in a /styles folder.
We forgot the fact that there's wp-includes/theme.json in core and lib/theme.json in Gutenberg which are currently forgotten because of that, thus those strings aren't extracted nor translatable in these projects. But they should be!
We probably need to drop that limitation and just scan any theme.json file we encounter...
Meta changes (in sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-make-core-pot.php) are probably required too once that lands. To avoid any regression there.
/cc @ocean90 @oandregal
In #320 we limited extraction of
theme.jsonfiles to ones in the (theme) root and in a/stylesfolder.We forgot the fact that there's
wp-includes/theme.jsonin core andlib/theme.jsonin Gutenberg which are currently forgotten because of that, thus those strings aren't extracted nor translatable in these projects. But they should be!We probably need to drop that limitation and just scan any
theme.jsonfile we encounter...Meta changes (in
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-make-core-pot.php) are probably required too once that lands. To avoid any regression there./cc @ocean90 @oandregal