Browse Source

Merge pull request #2425 from Automattic/seedlet/add/translation-functions-for-block-styles

Seedlet: Add translation functions to block-styles.php
Kjell Reigstad 4 years ago
parent
commit
4a938629fa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      seedlet/inc/block-styles.php

+ 2 - 2
seedlet/inc/block-styles.php

@@ -16,7 +16,7 @@ if ( function_exists( 'register_block_style' ) ) {
 			'core/latest-posts',
 			'core/latest-posts',
 			array(
 			array(
 				'name'         => 'seedlet-alternating-grid',
 				'name'         => 'seedlet-alternating-grid',
-				'label'        => 'Alternating Grid',
+				'label'        => __( 'Alternating Grid', 'seedlet' ),
 				'style_handle' => 'seedlet-alternating-grid',
 				'style_handle' => 'seedlet-alternating-grid',
 			)
 			)
 		);
 		);
@@ -24,7 +24,7 @@ if ( function_exists( 'register_block_style' ) ) {
 			'a8c/blog-posts',
 			'a8c/blog-posts',
 			array(
 			array(
 				'name'         => 'seedlet-alternating-grid',
 				'name'         => 'seedlet-alternating-grid',
-				'label'        => 'Alternating Grid',
+				'label'        => __( 'Alternating Grid', 'seedlet' ),
 				'style_handle' => 'seedlet-alternating-grid',
 				'style_handle' => 'seedlet-alternating-grid',
 			)
 			)
 		);
 		);