You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><?phpechosprintf( __( 'For examples of queries and links to resources that you can use with this feature, please click %1$shere%2$s', 'visualizer' ), '<a href="' . VISUALIZER_DB_QUERY_DOC_URL . '" target="_blank">', '</a>' ); ?></li>
94
-
<li><?phpechosprintf( __( 'Use %1$sShift+Space%2$s for autocompleting keywords or table names.', 'visualizer' ), '<span class="visualizer-emboss">', '</span>' ); ?></li>
93
+
<li>
94
+
<?php
95
+
echosprintf(
96
+
// translators: %1$s - HTML link tag, %2$s - HTML closing link tag.
97
+
__( 'For examples of queries and links to resources that you can use with this feature, please click %1$shere%2$s', 'visualizer' ),
@@ -180,7 +198,16 @@ public static function _renderJsonScreen( $args ) {
180
198
<form id="json-endpoint-form">
181
199
<div class="json-wizard-hints">
182
200
<ul class="info">
183
-
<li><?phpechosprintf( __( 'If you want to add authentication or headers to the endpoint or change the request in any way, please refer to our document %1$shere%2$s.', 'visualizer' ), '<a href="https://docs.themeisle.com/article/1043-visualizer-how-to-extend-rest-endpoints-with-json-response" target="_blank">', '</a>' ); ?></li>
201
+
<li>
202
+
<?php
203
+
echosprintf(
204
+
// translators: %1$s - HTML link tag, %2$s - HTML closing link tag.
205
+
__( 'If you want to add authentication or headers to the endpoint or change the request in any way, please refer to our document %1$shere%2$s.', 'visualizer' ),
@@ -775,7 +812,17 @@ public static function _renderTabBasic( $args ) {
775
812
<div class="viz-group-content">
776
813
<div>
777
814
<p class="viz-group-description"><?phpesc_html_e( 'Select and upload your data CSV file here. The first row of the CSV file should contain the column headings. The second one should contain series type (string, number, boolean, date, datetime, timeofday).', 'visualizer' ); ?></p>
778
-
<p class="viz-group-description viz-info-msg"><b><?phpechosprintf( __( 'If you are unsure about how to format your data CSV then please take a look at this sample: %1$s %2$s%3$s. If you are using non-English characters, please make sure you save the file in UTF-8 encoding.', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $type . '.csv" target="_blank">', $type, '.csv</a>' ); ?></b></p>
815
+
<p class="viz-group-description viz-info-msg">
816
+
<b>
817
+
<?php
818
+
echosprintf(
819
+
// translators: $s - the chart type with the link attached.
820
+
__( 'If you are unsure about how to format your data CSV then please take a look at this sample: %s. If you are using non-English characters, please make sure you save the file in UTF-8 encoding.', 'visualizer' ),
@@ -798,8 +845,27 @@ public static function _renderTabBasic( $args ) {
798
845
<span class="viz-section-title"><?php_e( 'Import from CSV', 'visualizer' ); ?></span>
799
846
<div class="only-pro-anchor">
800
847
<div class="viz-section-items section-items">
801
-
<p class="viz-group-description"><?phpechosprintf( __( 'You can use this to import data from a remote CSV file or %1$sGoogle Spreadsheet%2$s.', 'visualizer' ), '<a href="https://docs.themeisle.com/article/607-how-can-i-populate-data-from-google-spreadsheet" target="_blank" >', '</a>' ); ?> </p>
802
-
<p class="viz-group-description viz-info-msg"><b><?phpechosprintf( __( 'If you are unsure about how to format your data CSV then please take a look at this sample: %1$s %2$s%3$s. If you are using non-English characters, please make sure you save the file in UTF-8 encoding.', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $type . '.csv" target="_blank">', $type, '.csv</a>' ); ?></b></p>
848
+
<p class="viz-group-description">
849
+
<?php
850
+
echosprintf(
851
+
// translators: %1$s - HTML link tag, %2$s - HTML closing link tag.
852
+
__( 'You can use this to import data from a remote CSV file or %1$sGoogle Spreadsheet%2$s.', 'visualizer' ),
// translators: %s - the chart type with the link attached.
863
+
__( 'If you are unsure about how to format your data CSV then please take a look at this sample: %s. If you are using non-English characters, please make sure you save the file in UTF-8 encoding.', 'visualizer' ),
printf( esc_html__( '%s option is disabled in your php.ini config. Please, enable it by change its value to 1. This option increases the speed of remote CSV uploading.', 'visualizer' ), '<b>allow_url_fopen</b>' );
64
+
printf(
65
+
// translators: %s - the name of the option.
66
+
esc_html__( '%s option is disabled in your php.ini config. Please, enable it by change its value to 1. This option increases the speed of remote CSV uploading.', 'visualizer' ),
0 commit comments