Skip to content

Commit 44ddc15

Browse files
helpful text
1 parent b4ecc47 commit 44ddc15

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

classes/Visualizer/Render/Page/Data.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ protected function _renderSidebarContent() {
9898
<h2 class="viz-group-title viz-sub-group visualizer-src-tab"><?php _e( 'Import data from file', 'visualizer' ); ?></h2>
9999
<div class="viz-group-content">
100100
<p class="viz-group-description"><?php esc_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>
101-
<p class="viz-group-description"><?php echo sprintf( __( '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', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $this->type . '.csv" target="_blank">', $this->type, '.csv</a>' ); ?></p>
101+
<p class="viz-group-description"><b><?php echo sprintf( __( '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/' . $this->type . '.csv" target="_blank">', $this->type, '.csv</a>' ); ?></b></p>
102102
<form id="vz-csv-file-form" action="<?php echo $upload_link; ?>" method="post"
103103
target="thehole" enctype="multipart/form-data">
104104
<input type="hidden" id="remote-data" name="remote_data">
@@ -118,7 +118,7 @@ protected function _renderSidebarContent() {
118118

119119
<div class="viz-section-items section-items">
120120
<p class="viz-group-description"><?php _e( 'You can use this to import data from a remote CSV file. 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>
121-
<p class="viz-group-description"><?php echo sprintf( __( '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', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $this->type . '.csv" target="_blank">', $this->type, '.csv</a>' ); ?></p>
121+
<p class="viz-group-description"><b><?php echo sprintf( __( '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 have using non-English characters, please make sure you save the file in UTF-8 encoding.', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $this->type . '.csv" target="_blank">', $this->type, '.csv</a>' ); ?></b></p>
122122
<p class="viz-group-description"> <?php _e( 'You can also import data from Google Spreadsheet, for more info check <a href="https://docs.themeisle.com/article/607-how-can-i-populate-data-from-google-spreadsheet" target="_blank" >this</a> tutorial', 'visualizer' ); ?></p>
123123
<form id="vz-one-time-import" action="<?php echo $upload_link; ?>" method="post"
124124
target="thehole" enctype="multipart/form-data">
@@ -421,6 +421,7 @@ class="dashicons dashicons-lock"></span></h2>
421421
<div class="viz-group-header">
422422
<button class="customize-section-back" tabindex="0"></button>
423423
<h3 class="viz-group-title viz-main-group"><?php _e( 'Chart Settings', 'visualizer' ); ?></h3>
424+
<h4 class="viz-group-title viz-title-small"><?php _e( 'If you have just updated/modified the chart data, you may need to save it before the new data reflects in the settings.', 'visualizer' ); ?></h4>
424425
</div>
425426
<ul class="viz-group-content">
426427
<form id="settings-form" action="<?php echo add_query_arg( 'nonce', wp_create_nonce() ); ?>"

css/frame.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@
8989
transition: 0.15s color ease-in-out,0.15s background-color ease-in-out,0.15s border-color ease-in-out;
9090
}
9191

92+
.viz-title-small {
93+
font-size: smaller;
94+
}
95+
9296
.viz-group-wrapper .viz-group .viz-group:hover .viz-group-title,
9397
.viz-group-wrapper .viz-group .viz-group.open .viz-group-title {
9498
border-left-color: #0073aa;

0 commit comments

Comments
 (0)