Przeglądaj źródła

Add translation functions to block-styles.php

Kjell Reigstad 4 lat temu
rodzic
commit
fddb55453f
1 zmienionych plików z 2 dodań i 2 usunięć
  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',
 			array(
 				'name'         => 'seedlet-alternating-grid',
-				'label'        => 'Alternating Grid',
+				'label'        => __( 'Alternating Grid', 'seedlet' ),
 				'style_handle' => 'seedlet-alternating-grid',
 			)
 		);
@@ -24,7 +24,7 @@ if ( function_exists( 'register_block_style' ) ) {
 			'a8c/blog-posts',
 			array(
 				'name'         => 'seedlet-alternating-grid',
-				'label'        => 'Alternating Grid',
+				'label'        => __( 'Alternating Grid', 'seedlet' ),
 				'style_handle' => 'seedlet-alternating-grid',
 			)
 		);