mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
chore(translations): rules, welcome to board, comment too long, replies omitted, replies and links omitted
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user