use correct s thingy in english for words & reading time (#503)

Co-authored-by: L4Ph <me@l4ph.moe>
This commit is contained in:
haappi
2025-06-18 09:32:29 -05:00
committed by GitHub
parent 9130765d45
commit 94c2ca3591
3 changed files with 10 additions and 4 deletions
+3 -1
View File
@@ -63,7 +63,9 @@ const jsonLd = {
<div class="transition h-6 w-6 rounded-md bg-black/5 dark:bg-white/10 text-black/50 dark:text-white/50 flex items-center justify-center mr-2">
<Icon name="material-symbols:schedule-outline-rounded"></Icon>
</div>
<div class="text-sm">{remarkPluginFrontmatter.minutes} {" " + i18n(I18nKey.minutesCount)}</div>
<div class="text-sm">
{remarkPluginFrontmatter.minutes} {" " + i18n(remarkPluginFrontmatter.minutes === 1 ? I18nKey.minuteCount : I18nKey.minutesCount)}
</div>
</div>
</div>