Skip to content

Commit 73ea28e

Browse files
chore: phpcs
1 parent 02eb5e7 commit 73ea28e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

assets/src/dashboard/parts/connected/dashboard/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,8 @@ const Dashboard = () => {
224224
</span>
225225
<Tooltip
226226
text={
227-
<div style={{
228-
padding: '10px',
229-
maxWidth: '320px'
230-
}}>
231-
<div style={{ fontWeight: 'bold', marginBottom: '8px' }}>
227+
<div className="p-2.5 max-w-[320px]">
228+
<div className="font-bold mb-2">
232229
{ optimoleDashboardApp.strings.tooltip_visits_title }
233230
</div>
234231
<div>

inc/admin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,6 +1578,7 @@ private function get_dashboard_strings() {
15781578
'usage' => __( 'Monthly Usage', 'optimole-wp' ),
15791579
'quota' => __( 'Monthly visits:', 'optimole-wp' ),
15801580
'tooltip_visits_title' => __( 'What are visits?', 'optimole-wp' ),
1581+
/* translators: 1 is the day when the visits reset, for example 1st of each month */
15811582
'tooltip_visits_description' => __( 'Each visitor to your site is counted as a unique daily user, regardless of their actions or return visits on the same day. Your visit count resets on %s.', 'optimole-wp' ),
15821583
'logged_in_as' => __( 'LOGGED IN AS', 'optimole-wp' ),
15831584
'private_cdn_url' => __( 'IMAGES DOMAIN', 'optimole-wp' ),

0 commit comments

Comments
 (0)