| @@ -128,11 +128,15 @@ | ||
| 128 | 128 | self::_renderTextAreaItem( |
| 129 | 129 | esc_html__( 'Chart Description', 'visualizer' ), |
| 130 | 130 | 'description', |
| 131 | 131 | $this->description, |
| 132 | - 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>' ) | |
| 132 | + sprintf( | |
| 133 | + // translators: %1$s - HTML link tag, %2$s - HTML closing link tag. | |
| 134 | + esc_html__( 'Description to display in the structured data schema as explained %1$shere%2$s', 'visualizer' ), | |
| 135 | + '<a href="https://developers.google.com/search/docs/data-types/dataset#dataset" target="_blank">', | |
| 136 | + '</a>' | |
| 137 | + ) | |
| 133 | 138 | ); |
| 134 | - | |
| 135 | 139 | } |
| 136 | 140 | |
| 137 | 141 | /** |
| 138 | 142 | * Renders general settings block for horizontal axis settings. |
| @@ -187,9 +191,9 @@ | ||
| 187 | 191 | 'hAxis[direction]', |
| 188 | 192 | isset( $this->hAxis['direction'] ) ? $this->hAxis['direction'] : '', |
| 189 | 193 | array( |
| 190 | 194 | '' => '', |
| 191 | - '1' => esc_html__( 'Identical Direction', 'visualizer' ), | |
| 195 | + '1' => esc_html__( 'Default Direction', 'visualizer' ), | |
| 192 | 196 | '-1' => esc_html__( 'Reverse Direction', 'visualizer' ), |
| 193 | 197 | ), |
| 194 | 198 | esc_html__( 'The direction in which the values along the horizontal axis grow.', 'visualizer' ) |
| 195 | 199 | ); |
| @@ -302,9 +306,9 @@ | ||
| 302 | 306 | 'vAxis[direction]', |
| 303 | 307 | isset( $this->vAxis['direction'] ) ? $this->vAxis['direction'] : '', |
| 304 | 308 | array( |
| 305 | 309 | '' => '', |
| 306 | - '1' => esc_html__( 'Identical Direction', 'visualizer' ), | |
| 310 | + '1' => esc_html__( 'Default Direction', 'visualizer' ), | |
| 307 | 311 | '-1' => esc_html__( 'Reverse Direction', 'visualizer' ), |
| 308 | 312 | ), |
| 309 | 313 | esc_html__( 'The direction in which the values along the vertical axis grow.', 'visualizer' ) |
| 310 | 314 | ); |
| @@ -455,9 +459,8 @@ | ||
| 455 | 459 | null |
| 456 | 460 | ); |
| 457 | 461 | |
| 458 | 462 | $this->_renderRoleField( $index ); |
| 459 | - | |
| 460 | 463 | } |
| 461 | 464 | |
| 462 | 465 | /** |
| 463 | 466 | * Renders format field for horizontal axis. |
| @@ -474,13 +477,15 @@ | ||
| 474 | 477 | sprintf( |
| 475 | 478 | '%s<br><br>%s<br><br>%s', |
| 476 | 479 | esc_html__( 'Enter custom format pattern to apply to horizontal axis labels.', 'visualizer' ), |
| 477 | 480 | sprintf( |
| 478 | - esc_html__( 'For number axis labels, this is a subset of the decimal formatting %1$sICU pattern set%2$s. For instance, $#,###.## will display values $1,234.56 for value 1234.56. Pay attention that if you use #%% percentage format then your values will be multiplied by 100.', 'visualizer' ), | |
| 481 | + // translators: %1$s - HTML link tag, %2$s - HTML closing link tag. | |
| 482 | + esc_html__( 'For number axis labels, this is a subset of the decimal formatting %1$sICU pattern set%2$s. For instance, $#,###.## will display values $1,234.56 for value 1234.56. Note: Using the #%% percentage format will multiply your values by 100.', 'visualizer' ), | |
| 479 | 483 | '<a href="http://icu-project.org/apiref/icu4c/classDecimalFormat.html#_details" target="_blank">', |
| 480 | 484 | '</a>' |
| 481 | 485 | ), |
| 482 | 486 | sprintf( |
| 487 | + // translators: %1$s - HTML link tag, %2$s - HTML closing link tag. | |
| 483 | 488 | esc_html__( 'For date axis labels, this is a subset of the date formatting %1$sICU date and time format%2$s.', 'visualizer' ), |
| 484 | 489 | '<a href="https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax" target="_blank">', |
| 485 | 490 | '</a>' |
| 486 | 491 | ) |
| @@ -503,13 +508,15 @@ | ||
| 503 | 508 | sprintf( |
| 504 | 509 | '%s<br><br>%s<br><br>%s', |
| 505 | 510 | esc_html__( 'Enter custom format pattern to apply to vertical axis labels.', 'visualizer' ), |
| 506 | 511 | sprintf( |
| 507 | - esc_html__( 'For number axis labels, this is a subset of the decimal formatting %1$sICU pattern set%2$s. For instance, $#,###.## will display values $1,234.56 for value 1234.56. Pay attention that if you use #%% percentage format then your values will be multiplied by 100.', 'visualizer' ), | |
| 512 | + // translators: %1$s - HTML link tag, %2$s - HTML closing link tag. | |
| 513 | + esc_html__( 'For number axis labels, this is a subset of the decimal formatting %1$sICU pattern set%2$s. For instance, $#,###.## will display values $1,234.56 for value 1234.56. Note: Using the #%% percentage format will multiply your values by 100.', 'visualizer' ), | |
| 508 | 514 | '<a href="http://icu-project.org/apiref/icu4c/classDecimalFormat.html#_details" target="_blank">', |
| 509 | 515 | '</a>' |
| 510 | 516 | ), |
| 511 | 517 | sprintf( |
| 518 | + // translators: %1$s - HTML link tag, %2$s - HTML closing link tag. | |
| 512 | 519 | esc_html__( 'For date axis labels, this is a subset of the date formatting %1$sICU date and time format%2$s.', 'visualizer' ), |
| 513 | 520 | '<a href="https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax" target="_blank">', |
| 514 | 521 | '</a>' |
| 515 | 522 | ) |
| @@ -515,6 +522,5 @@ | ||
| 515 | 522 | ) |
| 516 | 523 | ) |
| 517 | 524 | ); |
| 518 | 525 | } |
| 519 | - | |
| 520 | 526 | } |