Skip to content

Commit

Permalink
Fix for CS
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Oct 24, 2024
1 parent c85f2bf commit ebeaa8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
8 changes: 2 additions & 6 deletions includes/core/classes/class-event-setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,13 @@ public function register_post_type(): void {
'search_items' => __( 'Search Events', 'gatherpress' ),
'not_found' => __( 'No Events found.', 'gatherpress' ),
'not_found_in_trash' => __( 'No Events found in Trash.', 'gatherpress' ),
// 'parent_item_colon' => __( 'Parent Events:', 'gatherpress' ), // Label used to prefix parents of hierarchical items. Not used on non-hierarchical post types.
'parent_item_colon' => __( 'Parent Events:', 'gatherpress' ),
'all_items' => __( 'All Events', 'gatherpress' ),
'archives' => __( 'Event Archives', 'gatherpress' ),
'attributes' => __( 'Event Attributes', 'gatherpress' ),
'insert_into_item' => __( 'Insert into Event', 'gatherpress' ),
'uploaded_to_this_item' => __( 'Uploaded to this Event', 'gatherpress' ),
//'featured_image' => __( 'Featured Image', 'gatherpress' ),
//'set_featured_image' => __( 'Set featured image', 'gatherpress' ),
//'remove_featured_image' => __( 'Remove featured image', 'gatherpress' ),
//'use_featured_image' => __( 'Use as featured image', 'gatherpress' ),
//'menu_name' => __( 'Events', 'gatherpress' ),
'menu_name' => __( 'Events', 'gatherpress' ),
'filter_items_list' => __( 'Filter Event list', 'gatherpress' ),
'filter_by_date' => __( 'Filter by date', 'gatherpress' ),
'update_item' => __( 'Update Event', 'gatherpress' ), // ??? Is not in the docs.
Expand Down
7 changes: 1 addition & 6 deletions includes/core/classes/class-venue.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,12 @@ public function register_post_type(): void {
'search_items' => __( 'Search Venues', 'gatherpress' ),
'not_found' => __( 'No Venues found.', 'gatherpress' ),
'not_found_in_trash' => __( 'No Venues found in Trash.', 'gatherpress' ),
// 'parent_item_colon' => __( 'Parent Venues:', 'gatherpress' ), // Label used to prefix parents of hierarchical items. Not used on non-hierarchical post types.
'parent_item_colon' => __( 'Parent Venues:', 'gatherpress' ),
'all_items' => __( 'Venues', 'gatherpress' ),
'archives' => __( 'Venue Archives', 'gatherpress' ),
'attributes' => __( 'Venue Attributes', 'gatherpress' ),
'insert_into_item' => __( 'Insert into Venue', 'gatherpress' ),
'uploaded_to_this_item' => __( 'Uploaded to this Venue', 'gatherpress' ),
//'featured_image' => __( 'Featured Image', 'gatherpress' ),
//'set_featured_image' => __( 'Set featured image', 'gatherpress' ),
//'remove_featured_image' => __( 'Remove featured image', 'gatherpress' ),
//'use_featured_image' => __( 'Use as featured image', 'gatherpress' ),
// 'menu_name' => __( 'Venues', 'gatherpress' ), // Is not used, the menu item uses the 'all_items' label.
'filter_items_list' => __( 'Filter Venue list', 'gatherpress' ),
'filter_by_date' => __( 'Filter by date', 'gatherpress' ),
'update_item' => __( 'Update Venue', 'gatherpress' ), // ??? Is not in the docs.
Expand Down

0 comments on commit ebeaa8a

Please sign in to comment.