Skip to content

Commit 9f75746

Browse files
committed
Translate issue
1 parent 4ab0ad3 commit 9f75746

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

templates/dashboard/instructor/home/recent-student-review-item.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,17 @@
3333
</div>
3434
<div class="tutor-flex tutor-gap-5 tutor-items-center">
3535
<span class="tutor-badge"><?php echo esc_html( $review['course_name'] ); ?></span>
36-
<span class="tutor-text-subdued tutor-tiny"><?php echo esc_html( human_time_diff( strtotime( $review['date'] ) ) . ' ago' ); ?></span>
36+
<span class="tutor-text-subdued tutor-tiny">
37+
<?php
38+
echo esc_html(
39+
sprintf(
40+
/* translators: %s: Human-readable time difference. */
41+
__( '%s ago', 'tutor' ),
42+
human_time_diff( strtotime( $review['date'] ) )
43+
)
44+
);
45+
?>
46+
</span>
3747
</div>
3848
</div>
3949

0 commit comments

Comments
 (0)