translation

This commit is contained in:
echo 2026-03-02 22:22:06 +01:00
parent a59bdc7711
commit c0eea843bf

View File

@ -7,7 +7,7 @@ import { useState } from 'react';
export function PinnedLiveBlogsSidebar() {
const [showUpdates, setShowUpdates] = useState(true);
const { data: liveBlogs, isLoading, error } = useQuery({
queryKey: ['pinned-live-blogs'],
queryFn: fetchPinnedLiveBlogs,
@ -67,7 +67,7 @@ export function PinnedLiveBlogsSidebar() {
// Collect last 5 updates from all pinned live blogs
const getLastFiveUpdates = () => {
if (!liveBlogs) return [];
const allUpdates: Array<{
id: string;
content: string;
@ -160,7 +160,7 @@ export function PinnedLiveBlogsSidebar() {
>
<div className="flex items-center gap-2">
<Clock className="h-5 w-5 text-accent" />
<h3 className="text-xl font-display">Последни Update</h3>
<h3 className="text-xl font-display">Свежо набрано</h3>
</div>
<div className="flex items-center gap-2">
<span className="px-2 py-1 border-2 border-foreground bg-foreground text-background text-xs font-body font-bold uppercase">
@ -207,7 +207,7 @@ export function PinnedLiveBlogsSidebar() {
<div className="flex items-center justify-between mb-6 pb-4 border-b-2 border-foreground/10">
<div className="flex items-center gap-2">
<Pin className="h-5 w-5 text-accent" />
<h3 className="text-xl font-display">Pinned Live</h3>
<h3 className="text-xl font-display">Во Живо</h3>
</div>
<span className="px-2 py-1 border-2 border-foreground bg-foreground text-background text-xs font-body font-bold uppercase">
{liveBlogs.length}
@ -280,7 +280,7 @@ export function PinnedLiveBlogsSidebar() {
<div className="mt-6 pt-4 border-t-2 border-foreground/10">
<Link to="/live-blogs" className="block">
<Button variant="brutal" className="w-full justify-center">
Сите Live
...
</Button>
</Link>
</div>