File tree Expand file tree Collapse file tree 4 files changed +22
-6
lines changed
src/components/PageContent Expand file tree Collapse file tree 4 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 4
4
"more" : " More" ,
5
5
"editThisPage" : " Edit this page" ,
6
6
"joinOurCommunity" : " Join our community" ,
7
- "feedback" : " Feedback"
7
+ "feedback" : " Feedback" ,
8
+ "feedbackForm" : {
9
+ "thankYouMessage" : " We appreciate your feedback! 🤎" ,
10
+ "instructions" : " Tell us more about your experience." ,
11
+ "submit" : " submit"
12
+ }
8
13
},
9
14
"ui" : {
10
15
"whatsNext" : " What's Next" ,
Original file line number Diff line number Diff line change 4
4
"more" : " Más" ,
5
5
"editThisPage" : " Editar esta página" ,
6
6
"joinOurCommunity" : " Únete a nuestro Discord" ,
7
- "feedback" : " Feedback"
7
+ "feedback" : " Comentarios" ,
8
+ "feedbackForm" : {
9
+ "thankYouMessage" : " ¡Agradecemos tus comentarios! 🤎" ,
10
+ "instructions" : " Cuéntanos más sobre tu experiencia." ,
11
+ "submit" : " enviar"
12
+ }
8
13
},
9
14
"ui" : {
10
15
"whatsNext" : " ¿Qué sigue?" ,
Original file line number Diff line number Diff line change 4
4
"more" : " 更多" ,
5
5
"editThisPage" : " 编辑本页" ,
6
6
"joinOurCommunity" : " 加入我们的社区" ,
7
- "feedback" : " 反馈"
7
+ "feedback" : " 反馈" ,
8
+ "feedbackForm" : {
9
+ "thankYouMessage" : " 我们非常感谢您的反馈!🤎" ,
10
+ "instructions" : " 请告诉我们更多关于您的体验。" ,
11
+ "submit" : " 提交"
12
+ }
8
13
},
9
14
"ui" : {
10
15
"whatsNext" : " 接下来是什么" ,
Original file line number Diff line number Diff line change
1
+ import { t } from "i18next"
1
2
import { useState } from "preact/hooks"
2
3
import button from "../../styles/design-system/button.module.css"
3
4
@@ -113,7 +114,7 @@ export const Feedback = () => {
113
114
>
114
115
{ isSent ? (
115
116
< div className = "text-dark dark:text-white" style = { { fontSize : "1rem" , lineHeight : "normal" } } >
116
- We appreciate your feedback! 🤎
117
+ { t ( "rightSidebar.feedbackForm.thankYouMessage" ) }
117
118
</ div >
118
119
) : (
119
120
< form
@@ -126,7 +127,7 @@ export const Feedback = () => {
126
127
className = "text-dark dark:text-white"
127
128
style = { { fontSize : "1rem" , lineHeight : "normal" , marginBottom : "16px" } }
128
129
>
129
- Tell us more about your experience.
130
+ { t ( "rightSidebar.feedbackForm.instructions" ) }
130
131
</ label >
131
132
< div style = { { display : "flex" , flexDirection : "column" } } >
132
133
< textarea
@@ -147,7 +148,7 @@ export const Feedback = () => {
147
148
style = { { borderRadius : "5px" , borderWidth : " 0" , background : "var(--orange-400)" } }
148
149
disabled = { isSubmitting }
149
150
>
150
- submit
151
+ { t ( "rightSidebar.feedbackForm. submit" ) }
151
152
</ button >
152
153
</ div >
153
154
</ form >
You can’t perform that action at this time.
0 commit comments