diff --git a/assets/theme-i18n.json b/assets/theme-i18n.json index 7ce5231..1781b93 100644 --- a/assets/theme-i18n.json +++ b/assets/theme-i18n.json @@ -1,5 +1,6 @@ { "title": "Style variation name", + "description": "Style variation description", "settings": { "typography": { "fontSizes": [ diff --git a/features/makepot.feature b/features/makepot.feature index 802f2f9..9ff975a 100644 --- a/features/makepot.feature +++ b/features/makepot.feature @@ -3658,6 +3658,7 @@ Feature: Generate a POT file of a WordPress project { "version": "1", "title": "My style variation", + "description": "My style variation description", "settings": { "color": { "duotone": [ @@ -3716,6 +3717,11 @@ Feature: Generate a POT file of a WordPress project msgctxt "Style variation name" msgid "My style variation" """ + And the foo-theme/foo-theme.pot file should contain: + """ + msgctxt "Style variation description" + msgid "My style variation description" + """ Scenario: Extract strings from the blocks section of theme.json files Given an empty foo-theme directory