| @@ -179,9 +179,14 @@ | ||
| 179 | 179 | self::_renderTextAreaItem( |
| 180 | 180 | esc_html__( 'Chart Description', 'visualizer' ), |
| 181 | 181 | 'description', |
| 182 | 182 | $this->description, |
| 183 | - sprintf( esc_html__( 'Description to display in the structured data schema as explained %1$shere%2$s', 'visualizer' ), '<a href="https://developers.google.com/search/docs/data-types/dataset#dataset" target="_blank">', '</a>' ) | |
| 183 | + sprintf( | |
| 184 | + // translators: %1$s - HTML link tag, %2$s - HTML closing link tag. | |
| 185 | + esc_html__( 'Description to display in the structured data schema as explained %1$shere%2$s', 'visualizer' ), | |
| 186 | + '<a href="https://developers.google.com/search/docs/data-types/dataset#dataset" target="_blank">', | |
| 187 | + '</a>' | |
| 188 | + ) | |
| 184 | 189 | ); |
| 185 | 190 | |
| 186 | 191 | } |
| 187 | 192 | |
| @@ -386,9 +391,18 @@ | ||
| 386 | 391 | * Add the correct description for the manual configuration box. |
| 387 | 392 | */ |
| 388 | 393 | protected function _renderManualConfigDescription() { |
| 389 | 394 | self::_renderSectionStart(); |
| 390 | - self::_renderSectionDescription( '<span class="viz-gvlink">' . sprintf( __( 'Configure the graph by providing configuration variables right from the %1$sChartJS API%2$s. You can refer to to some examples %3$shere%4$s.', 'visualizer' ), '<a href="https://www.chartjs.org/docs/latest/configuration/" target="_blank">', '</a>', '<a href="https://docs.themeisle.com/article/728-manual-configuration" target="_blank">', '</a>' ) . '</span>' ); | |
| 395 | + self::_renderSectionDescription( | |
| 396 | + '<span class="viz-gvlink">' . sprintf( | |
| 397 | + // translators: %1$s - HTML link tag, %2$s - HTML closing link tag, %3$s - HTML link tag, %4$s - HTML closing link tag. | |
| 398 | + __( 'Configure the graph by providing configuration variables right from the %1$sChartJS API%2$s. You can refer to to some examples %3$shere%4$s.', 'visualizer' ), | |
| 399 | + '<a href="https://www.chartjs.org/docs/latest/configuration/" target="_blank">', | |
| 400 | + '</a>', | |
| 401 | + '<a href="https://docs.themeisle.com/article/728-manual-configuration" target="_blank">', | |
| 402 | + '</a>' | |
| 403 | + ) . '</span>' | |
| 404 | + ); | |
| 391 | 405 | } |
| 392 | 406 | |
| 393 | 407 | /** |
| 394 | 408 | * Add the correct example for the manual configuration box. |