Merge pull request #1100 from jrfnl/feature/i18n-translation-call-context

I18n: Fix a translation call for a text string which needs context
This commit is contained in:
David A. Kennedy 2017-06-09 11:25:37 -04:00 committed by GitHub
commit d2b58f60fe
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ function _s_entry_footer() {
} }
/* translators: used between list items, there is a space after the comma */ /* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', esc_html__( ', ', '_s' ) ); $tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', '_s' ) );
if ( $tags_list ) { if ( $tags_list ) {
printf( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', '_s' ) . '</span>', $tags_list ); // WPCS: XSS OK. printf( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', '_s' ) . '</span>', $tags_list ); // WPCS: XSS OK.
} }