File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,15 @@ public function process_tokens() {
3333 if ( '#tag ' === $ token_type ) {
3434 $ this ->increment ++;
3535 $ this ->text .= '% ' . $ this ->increment . '$s ' ;
36+ $ token_label = $ this ->increment . '. ' ;
3637
3738 if ( 1 !== $ this ->increment ) {
3839 $ this ->translators_note .= ', ' ;
3940 }
4041
4142 if ( $ is_tag_closer ) {
4243 $ this ->tokens [] = "</ {$ token_name }> " ;
43- $ this ->translators_note .= ' % ' . $ this -> increment . "\$ s is the end of a ' " . $ token_name . "' HTML element " ;
44+ $ this ->translators_note .= $ token_label . " is the end of a ' " . $ token_name . "' HTML element " ;
4445 } else {
4546 $ token = '< ' . $ token_name ;
4647 $ attributes = $ this ->p ->get_attribute_names_with_prefix ( '' );
@@ -52,7 +53,7 @@ public function process_tokens() {
5253
5354 $ token .= '> ' ;
5455 $ this ->tokens [] = $ token ;
55- $ this ->translators_note .= ' % ' . $ this -> increment . "\$ s is the start of a ' " . $ token_name . "' HTML element " ;
56+ $ this ->translators_note .= $ token_label . " is the start of a ' " . $ token_name . "' HTML element " ;
5657 }
5758 } else {
5859 // Escape text content.
You can’t perform that action at this time.
0 commit comments