diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 0d2ff57bb..d45108f1d 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -4,7 +4,12 @@ "more": "More", "editThisPage": "Edit this page", "joinOurCommunity": "Join our community", - "feedback": "Feedback" + "feedback": "Feedback", + "feedbackForm": { + "thankYouMessage": "We appreciate your feedback! 🤎", + "instructions": "Tell us more about your experience.", + "submit": "submit" + } }, "ui": { "whatsNext": "What's Next", diff --git a/public/locales/es/translation.json b/public/locales/es/translation.json index 8d0caabcd..242bc9b89 100644 --- a/public/locales/es/translation.json +++ b/public/locales/es/translation.json @@ -4,7 +4,12 @@ "more": "Más", "editThisPage": "Editar esta página", "joinOurCommunity": "Únete a nuestro Discord", - "feedback": "Feedback" + "feedback": "Comentarios", + "feedbackForm": { + "thankYouMessage": "¡Agradecemos tus comentarios! 🤎", + "instructions": "Cuéntanos más sobre tu experiencia.", + "submit": "enviar" + } }, "ui": { "whatsNext": "¿Qué sigue?", diff --git a/public/locales/zh/translation.json b/public/locales/zh/translation.json index 93395b2ae..1d956ed7d 100644 --- a/public/locales/zh/translation.json +++ b/public/locales/zh/translation.json @@ -4,7 +4,12 @@ "more": "更多", "editThisPage": "编辑本页", "joinOurCommunity": "加入我们的社区", - "feedback": "反馈" + "feedback": "反馈", + "feedbackForm": { + "thankYouMessage": "我们非常感谢您的反馈!🤎", + "instructions": "请告诉我们更多关于您的体验。", + "submit": "提交" + } }, "ui": { "whatsNext": "接下来是什么", diff --git a/src/components/PageContent/Feedback.tsx b/src/components/PageContent/Feedback.tsx index 7abbb47af..247267fd1 100644 --- a/src/components/PageContent/Feedback.tsx +++ b/src/components/PageContent/Feedback.tsx @@ -1,3 +1,4 @@ +import { t } from "i18next" import { useState } from "preact/hooks" import button from "../../styles/design-system/button.module.css" @@ -113,7 +114,7 @@ export const Feedback = () => { > {isSent ? (