mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
1dc1f32ed8
Makes shadow, duotone and aspect ratio names properly translatable. Props dalleyne, audrasjb, oandregal, swissspidy. Fixes #62728. Built from https://develop.svn.wordpress.org/trunk@59591 git-svn-id: http://core.svn.wordpress.org/trunk@58977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
114 lines
1.5 KiB
JSON
114 lines
1.5 KiB
JSON
{
|
|
"title": "Style variation name",
|
|
"description": "Style variation description",
|
|
"settings": {
|
|
"typography": {
|
|
"fontSizes": [
|
|
{
|
|
"name": "Font size name"
|
|
}
|
|
],
|
|
"fontFamilies": [
|
|
{
|
|
"name": "Font family name"
|
|
}
|
|
]
|
|
},
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"name": "Color name"
|
|
}
|
|
],
|
|
"gradients": [
|
|
{
|
|
"name": "Gradient name"
|
|
}
|
|
],
|
|
"duotone": [
|
|
{
|
|
"name": "Duotone name"
|
|
}
|
|
]
|
|
},
|
|
"spacing": {
|
|
"spacingSizes": [
|
|
{
|
|
"name": "Space size name"
|
|
}
|
|
]
|
|
},
|
|
"dimensions": {
|
|
"aspectRatios": [
|
|
{
|
|
"name": "Aspect ratio name"
|
|
}
|
|
]
|
|
},
|
|
"shadow": {
|
|
"presets": [
|
|
{
|
|
"name": "Shadow name"
|
|
}
|
|
]
|
|
},
|
|
"blocks": {
|
|
"*": {
|
|
"typography": {
|
|
"fontSizes": [
|
|
{
|
|
"name": "Font size name"
|
|
}
|
|
],
|
|
"fontFamilies": [
|
|
{
|
|
"name": "Font family name"
|
|
}
|
|
]
|
|
},
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"name": "Color name"
|
|
}
|
|
],
|
|
"gradients": [
|
|
{
|
|
"name": "Gradient name"
|
|
}
|
|
],
|
|
"duotone": [
|
|
{
|
|
"name": "Duotone name"
|
|
}
|
|
]
|
|
},
|
|
"dimensions": {
|
|
"aspectRatios": [
|
|
{
|
|
"name": "Aspect ratio name"
|
|
}
|
|
]
|
|
},
|
|
"spacing": {
|
|
"spacingSizes": [
|
|
{
|
|
"name": "Space size name"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"customTemplates": [
|
|
{
|
|
"title": "Custom template name"
|
|
}
|
|
],
|
|
"templateParts": [
|
|
{
|
|
"title": "Template part name"
|
|
}
|
|
]
|
|
}
|