diff --git a/taxonomy-fcn_character.php b/taxonomy-fcn_character.php index 2f29dd19..578c462c 100644 --- a/taxonomy-fcn_character.php +++ b/taxonomy-fcn_character.php @@ -31,7 +31,6 @@ get_header(); $current_count = get_queried_object()->count; $current_description = get_queried_object()->description; $parent = get_term_by( 'id', get_queried_object()->parent, get_query_var( 'taxonomy' ) ); - $parent_snippet = ( $parent ) ? " ($parent->name)" : ''; ?>
@@ -39,13 +38,14 @@ get_header(); %1$s Result with character "%2$s"' . $parent_snippet, - '%1$s Results with character "%2$s"' . $parent_snippet, + '%1$s Result with character "%2$s" %3$s', + '%1$s Results with character "%2$s" %3$s', $current_count, 'fictioneer' ), $current_count, - single_tag_title( '', false ) + single_tag_title( '', false ), + $parent ? sprintf( _x( '(%s)', 'Taxonomy page parent suffix.', 'fictioneer' ), $parent->name ) : '' ) ?> diff --git a/taxonomy-fcn_content_warning.php b/taxonomy-fcn_content_warning.php index 8439874e..c45448ed 100644 --- a/taxonomy-fcn_content_warning.php +++ b/taxonomy-fcn_content_warning.php @@ -31,7 +31,6 @@ get_header(); $current_count = get_queried_object()->count; $current_description = get_queried_object()->description; $parent = get_term_by( 'id', get_queried_object()->parent, get_query_var( 'taxonomy' ) ); - $parent_snippet = ( $parent ) ? " ($parent->name)" : ''; ?>
@@ -39,13 +38,14 @@ get_header(); %1$s Result with the "%2$s" warning' . $parent_snippet, - '%1$s Results with the "%2$s" warning' . $parent_snippet, + '%1$s Result with the "%2$s" warning %3$s', + '%1$s Results with the "%2$s" warning %3$s', $current_count, 'fictioneer' ), $current_count, - single_tag_title( '', false ) + single_tag_title( '', false ), + $parent ? sprintf( _x( '(%s)', 'Taxonomy page parent suffix.', 'fictioneer' ), $parent->name ) : '' ) ?> diff --git a/taxonomy-fcn_fandom.php b/taxonomy-fcn_fandom.php index 18ca5361..05d016d1 100644 --- a/taxonomy-fcn_fandom.php +++ b/taxonomy-fcn_fandom.php @@ -31,7 +31,6 @@ get_header(); $current_count = get_queried_object()->count; $current_description = get_queried_object()->description; $parent = get_term_by( 'id', get_queried_object()->parent, get_query_var( 'taxonomy' ) ); - $parent_snippet = ( $parent ) ? " ($parent->name)" : ''; ?>
@@ -39,13 +38,14 @@ get_header(); %1$s Result in the "%2$s" fandom' . $parent_snippet, - '%1$s Results in the "%2$s" fandom' . $parent_snippet, + '%1$s Result in the "%2$s" fandom %3$s', + '%1$s Results in the "%2$s" fandom %3$s', $current_count, 'fictioneer' ), $current_count, - single_tag_title( '', false ) + single_tag_title( '', false ), + $parent ? sprintf( _x( '(%s)', 'Taxonomy page parent suffix.', 'fictioneer' ), $parent->name ) : '' ) ?> diff --git a/taxonomy-fcn_genre.php b/taxonomy-fcn_genre.php index 37ae4149..e9a5a456 100644 --- a/taxonomy-fcn_genre.php +++ b/taxonomy-fcn_genre.php @@ -31,7 +31,6 @@ get_header(); $current_count = get_queried_object()->count; $current_description = get_queried_object()->description; $parent = get_term_by( 'id', get_queried_object()->parent, get_query_var( 'taxonomy' ) ); - $parent_snippet = ( $parent ) ? " ($parent->name)" : ''; ?>
@@ -39,13 +38,14 @@ get_header(); %1$s Result with the "%2$s" genre' . $parent_snippet, - '%1$s Results with the "%2$s" genre' . $parent_snippet, + '%1$s Result with the "%2$s" genre %3$s', + '%1$s Results with the "%2$s" genre %3$s', $current_count, 'fictioneer' ), $current_count, - single_tag_title( '', false ) + single_tag_title( '', false ), + $parent ? sprintf( _x( '(%s)', 'Taxonomy page parent suffix.', 'fictioneer' ), $parent->name ) : '' ) ?>