fix translations
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-11-16 14:57:05 +08:00
parent f339e5e2f0
commit b1a3add1d9
50 changed files with 391 additions and 428 deletions

View File

@@ -9,7 +9,7 @@ export default function UploadArea({
setVideoUrl: (url: string | null) => void;
setSrtUrl: (url: string | null) => void;
}) {
const t = useTranslations("srt-player");
const t = useTranslations("srt_player");
const inputRef = useRef<HTMLInputElement>(null);
const uploadVideo = () => {

View File

@@ -11,7 +11,7 @@ type VideoPanelProps = {
const VideoPanel = forwardRef<HTMLVideoElement, VideoPanelProps>(
({ videoUrl, srtUrl }, videoRef) => {
const t = useTranslations("srt-player");
const t = useTranslations("srt_player");
videoRef = videoRef as React.RefObject<HTMLVideoElement>;
const [isPlaying, setIsPlaying] = useState<boolean>(false);
const [srtLength, setSrtLength] = useState<number>(0);