-
{dictionary.batch_page_header_title}
+
+ {dictionary.batch_page_header_title}
+
diff --git a/apps/web/src/app/[locale]/app/layout.tsx b/apps/web/src/app/[locale]/app/layout.tsx
index 9f505c9..0788881 100644
--- a/apps/web/src/app/[locale]/app/layout.tsx
+++ b/apps/web/src/app/[locale]/app/layout.tsx
@@ -1,11 +1,12 @@
+import { getDictionary, Locale } from '@nivo/i18n'
+
import { Header } from '@/components/header'
-import { Locale, getDictionary } from '@nivo/i18n'
export default async function AppLayout({
children,
- params: { locale }
+ params: { locale },
}: {
- children: React.ReactNode,
+ children: React.ReactNode
params: {
locale: Locale
}
diff --git a/apps/web/src/app/[locale]/app/upload/page.tsx b/apps/web/src/app/[locale]/app/upload/page.tsx
index 9eda7a6..419eee1 100644
--- a/apps/web/src/app/[locale]/app/upload/page.tsx
+++ b/apps/web/src/app/[locale]/app/upload/page.tsx
@@ -1,11 +1,11 @@
+import { getDictionary, Locale } from '@nivo/i18n'
import { AlertCircle } from 'lucide-react'
+import Head from 'next/head'
import Link from 'next/link'
import { serverClient } from '@/lib/trpc/server'
import { UploadList } from './upload-list'
-import { Locale, getDictionary } from '@nivo/i18n'
-import Head from 'next/head'
export default async function Upload({
params: { locale },
diff --git a/apps/web/src/app/[locale]/app/upload/upload-list/columns/audio-conversion-progress-column.tsx b/apps/web/src/app/[locale]/app/upload/upload-list/columns/audio-conversion-progress-column.tsx
index b995e43..29c2b65 100644
--- a/apps/web/src/app/[locale]/app/upload/upload-list/columns/audio-conversion-progress-column.tsx
+++ b/apps/web/src/app/[locale]/app/upload/upload-list/columns/audio-conversion-progress-column.tsx
@@ -18,11 +18,11 @@ import {
TooltipProvider,
TooltipTrigger,
} from '@/components/ui/tooltip'
+import { useDictionary } from '@/state/dictionary'
import {
addToAudioConversionQueueAtom,
audioConversionAtom,
} from '@/state/uploads'
-import { useDictionary } from '@/state/dictionary'
export interface AudioConversionProgressColumnProps {
uploadId: string
@@ -68,12 +68,16 @@ export function AudioConversionProgressColumn({
) : progress === 100 ? (
<>
- {dictionary.audio_conversion_complete}
+
+ {dictionary.audio_conversion_complete}
+
>
) : (
<>
- {dictionary.audio_conversion_waiting}
+
+ {dictionary.audio_conversion_waiting}
+
diff --git a/apps/web/src/app/[locale]/app/upload/upload-list/columns/audio-upload-progress-column.tsx b/apps/web/src/app/[locale]/app/upload/upload-list/columns/audio-upload-progress-column.tsx
index f64fb05..54809ac 100644
--- a/apps/web/src/app/[locale]/app/upload/upload-list/columns/audio-upload-progress-column.tsx
+++ b/apps/web/src/app/[locale]/app/upload/upload-list/columns/audio-upload-progress-column.tsx
@@ -11,8 +11,8 @@ import { useCallback } from 'react'
import { Button } from '@/components/ui/button'
import { Progress } from '@/components/ui/progress'
-import { audioUploadAtom, startAudioUploadAtom } from '@/state/uploads'
import { useDictionary } from '@/state/dictionary'
+import { audioUploadAtom, startAudioUploadAtom } from '@/state/uploads'
export interface AudioUploadProgressColumnProps {
uploadId: string
@@ -46,7 +46,9 @@ export function AudioUploadProgressColumn({
{progress === 0 && !error ? (
<>
- {dictionary.audio_upload_waiting}
+
+ {dictionary.audio_upload_waiting}
+
>
) : error ? (
<>
@@ -65,7 +67,9 @@ export function AudioUploadProgressColumn({
) : (
<>
- {dictionary.audio_upload_complete}
+
+ {dictionary.audio_upload_complete}
+
>
)}
diff --git a/apps/web/src/app/[locale]/app/upload/upload-list/columns/video-upload-progress-column.tsx b/apps/web/src/app/[locale]/app/upload/upload-list/columns/video-upload-progress-column.tsx
index 5ae7685..aaa08b1 100644
--- a/apps/web/src/app/[locale]/app/upload/upload-list/columns/video-upload-progress-column.tsx
+++ b/apps/web/src/app/[locale]/app/upload/upload-list/columns/video-upload-progress-column.tsx
@@ -8,10 +8,10 @@ import {
import { useAtomValue, useSetAtom } from 'jotai'
import { selectAtom } from 'jotai/utils'
import { useCallback } from 'react'
-import { useDictionary } from '@/state/dictionary'
import { Button } from '@/components/ui/button'
import { Progress } from '@/components/ui/progress'
+import { useDictionary } from '@/state/dictionary'
import { startVideoUploadAtom, videoUploadAtom } from '@/state/uploads'
export interface VideoUploadProgressColumnProps {
@@ -46,7 +46,9 @@ export function VideoUploadProgressColumn({
{progress === 0 && !error ? (
<>
-
{dictionary.video_upload_waiting}
+
+ {dictionary.video_upload_waiting}
+
>
) : error ? (
<>
@@ -65,7 +67,9 @@ export function VideoUploadProgressColumn({
) : (
<>
-
{dictionary.video_upload_complete}
+
+ {dictionary.video_upload_complete}
+
>
)}
diff --git a/apps/web/src/app/[locale]/app/upload/upload-list/header.tsx b/apps/web/src/app/[locale]/app/upload/upload-list/header.tsx
index b77ca63..85428bd 100644
--- a/apps/web/src/app/[locale]/app/upload/upload-list/header.tsx
+++ b/apps/web/src/app/[locale]/app/upload/upload-list/header.tsx
@@ -5,7 +5,6 @@ import axios from 'axios'
import { useAtom, useAtomValue, useSetAtom } from 'jotai'
import { ChevronDownIcon, Loader2 } from 'lucide-react'
import { useFormContext } from 'react-hook-form'
-import { useDictionary } from '@/state/dictionary'
import {
AlertDialog,
@@ -22,10 +21,11 @@ import { Button } from '@/components/ui/button'
import {
DropdownMenu,
DropdownMenuContent,
- DropdownMenuTrigger,
DropdownMenuItem,
+ DropdownMenuTrigger,
} from '@/components/ui/dropdown-menu'
import { Separator } from '@/components/ui/separator'
+import { useDictionary } from '@/state/dictionary'
import {
amountOfUploadsAtom,
areUploadsEmptyAtom,
@@ -131,13 +131,17 @@ export function Header({ onSubmit }: HeaderProps) {