add time ago translations

This commit is contained in:
Tom (plebeius.eth)
2024-06-08 11:32:25 +02:00
parent 88dcfcaca8
commit e2169e959e
36 changed files with 386 additions and 36 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ const CatalogPost = ({ post }: { post: Comment }) => {
<div className={styles.postPreview} ref={refs.setFloating} style={floatingStyles}>
<span className={styles.postSubject}>{title}</span>
{' by '}
<span className={`${styles.postAuthor} ${isCatalogPostAuthorMod && styles.capcode}`}>
<span className={`${styles.postAuthor} ${(isCatalogPostAuthorMod || isRules || isDescription) && styles.capcode}`}>
{author?.displayName || _.capitalize(t('anonymous'))}
{isCatalogPostAuthorMod && <span className='capitalize'>{` ## Board ${catalogPostAuthorRole}`}</span>}
</span>