type
BlockLabels
BlockLabels overrides the singular and plural names derived from a block slug. Translations select admin interface language, independently of content locale.
Properties
| Property | Type | Description |
|---|---|---|
Singular | string | The Singular value. |
Plural | string | The Plural value. |
SingularTranslations | map[string]string | The SingularTranslations value. |
PluralTranslations | map[string]string | The PluralTranslations value. |
Full signature
type BlockLabels struct {
Singular string
Plural string
SingularTranslations map[string]string
PluralTranslations map[string]string
}