diff --git a/lib/components/ViewPublicationPage/questions/File/UploadFile.tsx b/lib/components/ViewPublicationPage/questions/File/UploadFile.tsx
index b40b613..810c78e 100644
--- a/lib/components/ViewPublicationPage/questions/File/UploadFile.tsx
+++ b/lib/components/ViewPublicationPage/questions/File/UploadFile.tsx
@@ -125,7 +125,7 @@ export const UploadFile = ({ currentQuestion, setModalWarningType, isSending, se
- {UPLOAD_FILE_DESCRIPTIONS_MAP[currentQuestion.content.type].title}
+ {t(UPLOAD_FILE_DESCRIPTIONS_MAP[currentQuestion.content.type].title)}
- {UPLOAD_FILE_DESCRIPTIONS_MAP[currentQuestion.content.type].description}
+ {t(UPLOAD_FILE_DESCRIPTIONS_MAP[currentQuestion.content.type].description)}
diff --git a/src/App.tsx b/src/App.tsx
index 2ad143e..a362bd3 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -9,6 +9,7 @@ const defaultQuizId = "3c49550d-8c77-4788-bc2d-42586a261514"; //тест виз
export default function App() {
const quizId = useParams().quizId || "";
+ console.log(quizId);
return (
,
- },
- {
- path: ":quizId",
- element: ,
+ path: ":lang?", // Опциональный языковой сегмент
+ children: [
+ {
+ index: true,
+ element: ,
+ },
+ {
+ path: ":quizId", // ID квиза
+ element: ,
+ },
+ ],
},
],
},