mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add translation
This commit is contained in:
@@ -211,7 +211,7 @@ const Board = () => {
|
||||
) : isInSubscriptionsView && subscriptions?.length === 0 ? (
|
||||
t('not_subscribed_to_any_board')
|
||||
) : blocked ? (
|
||||
'you have blocked this board'
|
||||
t('you_have_blocked_this_board')
|
||||
) : (
|
||||
hasMore && <LoadingEllipsis string={loadingStateString} />
|
||||
)}
|
||||
@@ -231,7 +231,7 @@ const Board = () => {
|
||||
reset();
|
||||
}}
|
||||
>
|
||||
Unblock
|
||||
{t('unblock')}
|
||||
</span>
|
||||
]
|
||||
</>
|
||||
|
||||
@@ -138,7 +138,7 @@ const Catalog = () => {
|
||||
) : isInSubscriptionsView && subscriptions?.length === 0 ? (
|
||||
t('not_subscribed_to_any_board')
|
||||
) : blocked ? (
|
||||
'you have blocked this board'
|
||||
t('you_have_blocked_this_board')
|
||||
) : !hasMore && feed.length === 0 ? (
|
||||
t('no_threads')
|
||||
) : (
|
||||
@@ -160,7 +160,7 @@ const Catalog = () => {
|
||||
let footerContent;
|
||||
if (feed.length === 0) {
|
||||
if (blocked) {
|
||||
footerContent = 'you have blocked this board';
|
||||
footerContent = t('you_have_blocked_this_board');
|
||||
} else {
|
||||
footerContent = t('no_threads');
|
||||
}
|
||||
@@ -271,7 +271,7 @@ const Catalog = () => {
|
||||
reset();
|
||||
}}
|
||||
>
|
||||
Unblock
|
||||
{t('unblock')}
|
||||
</span>
|
||||
]
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user