Improve labels for for collection comments status #533
This commit is contained in:
parent
0bd68f6e90
commit
f197c2c06d
|
@ -40,7 +40,7 @@ class Collections extends Repository {
|
|||
'title' => __( 'Status', 'tainacan' ),
|
||||
'type' => 'string',
|
||||
'default' => '',
|
||||
'description' => __( 'The current situation of the post', 'tainacan' )
|
||||
'description' => __( 'The current situation of the collection. It also affects the visibility of the collection items, as public items from private collections do not appear in the site.', 'tainacan' )
|
||||
],
|
||||
'author_id' => [
|
||||
'map' => 'post_author',
|
||||
|
@ -169,7 +169,7 @@ class Collections extends Repository {
|
|||
'map' => 'meta',
|
||||
'title' => __( 'Header Image', 'tainacan' ),
|
||||
'type' => 'string',
|
||||
'description' => __( 'The image to be used in collection header', 'tainacan' ),
|
||||
'description' => __( 'The image to be used in collection header, if the theme has one.', 'tainacan' ),
|
||||
'on_error' => __( 'Invalid image', 'tainacan' ),
|
||||
//'validation' => v::numeric(),
|
||||
'default' => ''
|
||||
|
@ -189,9 +189,9 @@ class Collections extends Repository {
|
|||
],
|
||||
'allow_comments' => [
|
||||
'map' => 'meta',
|
||||
'title' => __( 'Allow Items Comments', 'tainacan' ),
|
||||
'type' => 'string',
|
||||
'description' => __( 'Collection items comment status: "open" means comments are allowed, "closed" means comments are not allowed.', 'tainacan' ),
|
||||
'title' => __( 'Allow enabling comments on items', 'tainacan' ),
|
||||
'type' => 'string',
|
||||
'description' => __( 'If this option is enabled, items of this collection can be set to enable a comments section on their page. "open" means comments are allowed, "closed" means comments are not allowed.', 'tainacan' ),
|
||||
'default' => 'closed',
|
||||
'validation' => v::optional(v::stringType()->in( [ 'open', 'closed' ] )),
|
||||
],
|
||||
|
|
|
@ -46,7 +46,7 @@ class Items extends Repository {
|
|||
'title' => __( 'Status', 'tainacan' ),
|
||||
'type' => 'string',
|
||||
'default' => 'draft',
|
||||
'description' => __( 'The posts status', 'tainacan' )
|
||||
'description' => __( 'The current situation of the item. Notice that the item visibility also depends on the collection status.', 'tainacan' )
|
||||
],
|
||||
'description' => [
|
||||
'map' => 'post_content',
|
||||
|
|
|
@ -453,7 +453,7 @@
|
|||
<!-- Comment Status ------------------------ -->
|
||||
<b-field
|
||||
:addons="false"
|
||||
:label="$i18n.get('label_allow_comments')">
|
||||
:label="$i18n.getHelperTitle('collections', 'allow_comments')">
|
||||
|
||||
<b-switch
|
||||
id="tainacan-checkbox-comment-status"
|
||||
|
|
Loading…
Reference in New Issue