From 74cce145de386edeadf08e7c730657d686b871e8 Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Thu, 7 Jul 2022 18:24:10 -0300 Subject: [PATCH] Update translations with translator comment to a single line --- syntaxhighlighter.php | 84 ++++++++----------------------------------- 1 file changed, 14 insertions(+), 70 deletions(-) diff --git a/syntaxhighlighter.php b/syntaxhighlighter.php index 6179aa9..a521482 100644 --- a/syntaxhighlighter.php +++ b/syntaxhighlighter.php @@ -1596,11 +1596,7 @@ function settings_page() { ?> echo wp_kses( sprintf( // translators: %1$s Lang parameter; %2$s Language parameter; %3$s List of brush names. - _x( - '%1$s or %2$s — The language syntax to highlight with. You can alternately just use that as the tag, such as [php]code[/php]. Available tags: %3$s.', - 'language parameter', - 'syntaxhighlighter' - ), + _x( '%1$s or %2$s — The language syntax to highlight with. You can alternately just use that as the tag, such as [php]code[/php]. Available tags: %3$s.', 'language parameter', 'syntaxhighlighter' ), 'lang', 'language', implode( ', ', array_keys( $this->brushes ) ) @@ -1618,11 +1614,7 @@ function settings_page() { ?> autolinks' ); ?> @@ -1631,11 +1623,7 @@ function settings_page() { ?> classname' ); ?> @@ -1644,11 +1632,7 @@ function settings_page() { ?> collapse' ); ?> @@ -1657,11 +1641,7 @@ function settings_page() { ?> firstline' ); ?> @@ -1670,11 +1650,7 @@ function settings_page() { ?> gutter' ); ?> @@ -1683,11 +1659,7 @@ function settings_page() { ?> highlight', '2,5-10,12' ); @@ -1697,11 +1669,7 @@ function settings_page() { ?> htmlscript' ); ?> @@ -1710,11 +1678,7 @@ function settings_page() { ?> light' ); ?> @@ -1723,11 +1687,7 @@ function settings_page() { ?> false (no padding), true (automatic padding), or an integer (forced padding).', - 'padlinenumbers parameter', - 'syntaxhighlighter' - ), + esc_html_x( '%s — Controls line number padding. Valid values are false (no padding), true (automatic padding), or an integer (forced padding).', 'padlinenumbers parameter', 'syntaxhighlighter' ), 'padlinenumbers' ); ?> @@ -1736,11 +1696,7 @@ function settings_page() { ?> title', 'collapse' ); @@ -1750,11 +1706,7 @@ function settings_page() { ?> toolbar' ); ?> @@ -1763,11 +1715,7 @@ function settings_page() { ?> wraplines' ); ?> @@ -1776,11 +1724,7 @@ function settings_page() { ?> quickcode' ); ?>