diff --git a/lib/components/ViewPublicationPage/questions/Emoji/OwnEmojiPicker.tsx b/lib/components/ViewPublicationPage/questions/Emoji/OwnEmojiPicker.tsx
index 00b3ab8..abc9811 100644
--- a/lib/components/ViewPublicationPage/questions/Emoji/OwnEmojiPicker.tsx
+++ b/lib/components/ViewPublicationPage/questions/Emoji/OwnEmojiPicker.tsx
@@ -1,6 +1,7 @@
import { Box, ButtonBase, Typography, useTheme, Modal } from "@mui/material";
import { useState } from "react";
import { EmojiPicker } from "./EmojiPicker";
+import { useTranslation } from "react-i18next";
interface Props {
emoji: string;
@@ -9,6 +10,7 @@ interface Props {
export const OwnEmojiPicker = ({ emoji = "", onEmojiSelect }: Props) => {
const theme = useTheme();
+ const { t } = useTranslation();
const [isPickerOpen, setIsPickerOpen] = useState(false);
const handleEmojiSelect = (emojiData: any) => {
@@ -41,7 +43,7 @@ export const OwnEmojiPicker = ({ emoji = "", onEmojiSelect }: Props) => {
},
}}
>
- {emoji}
+ {emoji || t("select emoji")}
- добавьте свою картинку
+ {t("Add your image")}
)}
diff --git a/public/locales/en.json b/public/locales/en.json
index 8390ebc..b6d0001 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -54,5 +54,7 @@
"Get results": "Get results",
"Data sent successfully": "Data sent successfully",
"Step": "Step",
- "questions are not ready yet": "There are no questions for the audience yet. Please wait"
+ "questions are not ready yet": "There are no questions for the audience yet. Please wait",
+ "Add your image": "Add your image",
+ "select emoji": "select emoji"
}
diff --git a/public/locales/ru.json b/public/locales/ru.json
index b8511ff..4994e78 100644
--- a/public/locales/ru.json
+++ b/public/locales/ru.json
@@ -54,5 +54,7 @@
"Get results": "Получить результаты",
"Data sent successfully": "Данные успешно отправлены",
"Step": "Шаг",
- "questions are not ready yet": "Вопросы для аудитории ещё не созданы. Пожалуйста, подождите"
+ "questions are not ready yet": "Вопросы для аудитории ещё не созданы. Пожалуйста, подождите",
+ "Add your image": "Добавьте своё изображение",
+ "select emoji": "выберите смайлик"
}
diff --git a/public/locales/uz.json b/public/locales/uz.json
index c7d79a5..a272df0 100644
--- a/public/locales/uz.json
+++ b/public/locales/uz.json
@@ -54,5 +54,7 @@
"Get results": "Natijalarni olish",
"Data sent successfully": "Ma'lumotlar muvaffaqiyatli yuborildi",
"Step": "Qadam",
- "questions are not ready yet": "Tomoshabinlar uchun hozircha savollar yo'q. Iltimos kuting"
+ "questions are not ready yet": "Tomoshabinlar uchun hozircha savollar yo'q. Iltimos kuting",
+ "Add your image": "Rasmingizni qo'shing",
+ "select emoji": "emoji tanlang"
}