mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add translations
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
}
|
||||
|
||||
.meta {
|
||||
cursor: help;
|
||||
font-size: 11px;
|
||||
line-height: 8px;
|
||||
padding: 2px 0 1px 0;
|
||||
|
||||
@@ -233,7 +233,7 @@ const CatalogPost = ({ post }: { post: Comment }) => {
|
||||
) : (
|
||||
threadIcons
|
||||
)}
|
||||
<div className={styles.meta}>
|
||||
<div className={styles.meta} title='(R)eplies / (L)ink Replies'>
|
||||
R: <b>{replyCount || '0'}</b>
|
||||
{linkCount > 0 && (
|
||||
<span>
|
||||
@@ -252,8 +252,14 @@ const CatalogPost = ({ post }: { post: Comment }) => {
|
||||
showPortal &&
|
||||
createPortal(
|
||||
<div className={styles.postPreview} ref={refs.setFloating} style={floatingStyles}>
|
||||
<span className={styles.postSubject}>{title}</span>
|
||||
{' by '}
|
||||
{title ? (
|
||||
<>
|
||||
<span className={styles.postSubject}>{title} </span>
|
||||
{t('by')}
|
||||
</>
|
||||
) : (
|
||||
t('posted_by')
|
||||
)}{' '}
|
||||
<span className={`${styles.postAuthor} ${(isCatalogPostAuthorMod || isRules || isDescription) && styles.capcode}`}>
|
||||
{author?.displayName || _.capitalize(t('anonymous'))}
|
||||
{isCatalogPostAuthorMod && <span className='capitalize'>{` ## Board ${catalogPostAuthorRole}`}</span>}
|
||||
@@ -261,7 +267,7 @@ const CatalogPost = ({ post }: { post: Comment }) => {
|
||||
<span className={styles.postAgo}> {getFormattedTimeAgo(timestamp)}</span>
|
||||
{replyCount > 0 && (
|
||||
<div className={styles.postLast}>
|
||||
Last reply by{' '}
|
||||
{t('last_reply_by')}{' '}
|
||||
<span className={`${styles.postAuthor} ${isLastReplyAuthorMod && styles.capcode}`}>
|
||||
{lastReply?.author?.displayName || _.capitalize(t('anonymous'))}
|
||||
{isLastReplyAuthorMod && ` ## Board ${lastReplyAuthorRole}`}
|
||||
|
||||
Reference in New Issue
Block a user