瀏覽代碼

Add translation functions to block-styles.php

Kjell Reigstad 4 年之前
父節點
當前提交
fddb55453f
共有 1 個文件被更改,包括 2 次插入2 次删除
  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',
 			)
 			)
 		);
 		);