mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
chore: add translations
This commit is contained in:
@@ -134,7 +134,7 @@ const ReplyModal = ({ closeModal, parentCid, scrollY }: ReplyModalProps) => {
|
||||
[
|
||||
<label>
|
||||
<input type='checkbox' onChange={(e) => setContent.spoiler(e.target.checked)} />
|
||||
{t('spoiler')}?
|
||||
{_.capitalize(t('spoiler'))}?
|
||||
</label>
|
||||
]
|
||||
</span>
|
||||
|
||||
@@ -23,7 +23,7 @@ const SubplebbitDescription = ({ avatarUrl, createdAt, description, shortAddress
|
||||
isDescription: true,
|
||||
subplebbitAddress,
|
||||
timestamp: isInAllView ? multisubMetadata?.createdAt : createdAt,
|
||||
author: { displayName: '## Board Mods' },
|
||||
author: { displayName: `'## ${t('board_mods')}` },
|
||||
content: isInAllView ? multisubMetadata?.description : description,
|
||||
link: avatarUrl,
|
||||
title: t('welcome_to_board', {
|
||||
|
||||
@@ -15,7 +15,7 @@ const SubplebbitRules = ({ subplebbitAddress, createdAt, rules }: RulesPostProps
|
||||
isRules: true,
|
||||
subplebbitAddress,
|
||||
timestamp: createdAt,
|
||||
author: { displayName: '## Board Mods' },
|
||||
author: { displayName: `## ${t('board_mods')}` },
|
||||
content,
|
||||
title: _.capitalize(t('rules')),
|
||||
pinned: true,
|
||||
|
||||
@@ -60,7 +60,7 @@ const Board = () => {
|
||||
{state === 'failed' ? (
|
||||
state
|
||||
) : isInSubscriptionsView && subscriptions?.length === 0 ? (
|
||||
`You have not subscribed to any board yet.`
|
||||
t('not_subscribed_to_any_board')
|
||||
) : (
|
||||
<LoadingEllipsis string={loadingStateString} />
|
||||
)}
|
||||
|
||||
@@ -39,7 +39,7 @@ const useFeedRows = (columnCount: number, feed: any, isFeedLoaded: boolean, subp
|
||||
isDescription: true,
|
||||
subplebbitAddress: address,
|
||||
timestamp: createdAt,
|
||||
author: { displayName: '## Board Mods' },
|
||||
author: { displayName: `## ${t('board_mods')}` },
|
||||
content: isInAllView ? multisub?.description : description,
|
||||
link: avatarUrl,
|
||||
title: t('welcome_to_board', { board: isInAllView ? multisub?.title : title || `p/${shortAddress}` }),
|
||||
@@ -52,7 +52,7 @@ const useFeedRows = (columnCount: number, feed: any, isFeedLoaded: boolean, subp
|
||||
isRules: true,
|
||||
subplebbitAddress: address,
|
||||
timestamp: createdAt,
|
||||
author: { displayName: '## Board Mods' },
|
||||
author: { displayName: `## ${t('board_mods')}` },
|
||||
content: rules.map((rule: string, index: number) => `${index + 1}. ${rule}`).join('\n'),
|
||||
title: _.capitalize(t('rules')),
|
||||
pinned: true,
|
||||
@@ -117,7 +117,7 @@ const Catalog = () => {
|
||||
{state === 'failed' ? (
|
||||
state
|
||||
) : isInSubscriptionsView && subscriptions?.length === 0 ? (
|
||||
`You haven't subscribed to any board yet.`
|
||||
t('not_subscribed_to_any_board')
|
||||
) : (
|
||||
<LoadingEllipsis string={loadingStateString} />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user