chore(translations): rules, welcome to board, comment too long, replies omitted, replies and links omitted

This commit is contained in:
plebeius.eth
2024-04-28 22:05:06 +02:00
parent 20fe683e5b
commit 72f15c3566
38 changed files with 236 additions and 50 deletions
@@ -1,4 +1,5 @@
import Post from '../post';
import { useTranslation } from 'react-i18next';
interface DescriptionPostProps {
subplebbitAddress: string | undefined;
@@ -9,6 +10,7 @@ interface DescriptionPostProps {
}
const SubplebbitDescription = ({ subplebbitAddress, createdAt, description, avatarUrl, title }: DescriptionPostProps) => {
const { t } = useTranslation();
const post = {
isDescription: true,
subplebbitAddress,
@@ -16,7 +18,7 @@ const SubplebbitDescription = ({ subplebbitAddress, createdAt, description, avat
author: { displayName: '## Board Mods' },
content: description,
link: avatarUrl,
title: 'Welcome to ' + title,
title: t('welcome_to_board', { board: title }),
pinned: true,
locked: true,
};