浏览代码

Add translator comment.

Jeff Ong 4 年之前
父节点
当前提交
eb3852c6ec
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      spearhead/inc/wpcom-colors.php

+ 1 - 0
spearhead/inc/wpcom-colors.php

@@ -25,6 +25,7 @@ if ( ! function_exists( 'spearhead_wpcom_customize_update' ) ) :
 				'id'          => 'darkmode_notice',
 				'id'          => 'darkmode_notice',
 				'label'       => esc_html__( 'Dark Mode', 'spearhead' ),
 				'label'       => esc_html__( 'Dark Mode', 'spearhead' ),
 				'description' => sprintf(
 				'description' => sprintf(
+					/* translators: %s: link to how to support system display modes */
 					__( "This theme will automatically display a dark color palette for users who have dark mode enabled on their devices. The preview here will only reflect the light mode. <a href='%s' target='_blank'>Learn more about dark mode</a>.", 'spearhead' ),
 					__( "This theme will automatically display a dark color palette for users who have dark mode enabled on their devices. The preview here will only reflect the light mode. <a href='%s' target='_blank'>Learn more about dark mode</a>.", 'spearhead' ),
 					esc_url( 'https://www.a11yproject.com/posts/2020-01-23-operating-system-and-browser-accessibility-display-modes/' )
 					esc_url( 'https://www.a11yproject.com/posts/2020-01-23-operating-system-and-browser-accessibility-display-modes/' )
 				),
 				),