File tree 3 files changed +12
-6
lines changed
client/modules/User/pages 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Link } from 'react-router-dom' ;
3
3
import { Helmet } from 'react-helmet' ;
4
- import { useTranslation } from 'react-i18next' ;
4
+ import { useTranslation , Trans } from 'react-i18next' ;
5
5
import SignupForm from '../components/SignupForm' ;
6
6
import SocialAuthButton from '../components/SocialAuthButton' ;
7
7
import Nav from '../../IDE/components/Header/Nav' ;
@@ -27,9 +27,13 @@ function SignupView() {
27
27
< SocialAuthButton service = { SocialAuthButton . services . google } />
28
28
</ div >
29
29
< p className = "form__navigation-options" >
30
- By signing up, you agree to the p5.js Editor's{ ' ' }
31
- < Link to = "/terms-of-use" > Terms of Use</ Link > and{ ' ' }
32
- < Link to = "/privacy-policy" > Privacy Policy</ Link > .
30
+ < Trans
31
+ i18nKey = "SignupView.Warning"
32
+ components = { [
33
+ < Link to = "/terms-of-use" > Terms of use</ Link > ,
34
+ < Link to = "/privacy-policy" > Privacy Policy</ Link >
35
+ ] }
36
+ />
33
37
</ p >
34
38
< p className = "form__navigation-options" >
35
39
{ t ( 'SignupView.AlreadyHave' ) } { ' ' }
Original file line number Diff line number Diff line change 366
366
"Description" : " Sign Up" ,
367
367
"Or" : " Or" ,
368
368
"AlreadyHave" : " Already have an account?" ,
369
- "Login" : " Log In"
369
+ "Login" : " Log In" ,
370
+ "Warning" : " By signing up, you agree to the p5.js Editor's <0>Terms of Use</0> and <1>Privacy Policy.</1>"
370
371
},
371
372
"EmailVerificationView" : {
372
373
"Title" : " p5.js Web Editor | Email Verification" ,
Original file line number Diff line number Diff line change 353
353
"Description" : " साइन अप" ,
354
354
"Or" : " या" ,
355
355
"AlreadyHave" : " पहले से ही अकाउंट है?" ,
356
- "Login" : " लॉग इन"
356
+ "Login" : " लॉग इन" ,
357
+ "Warning" : " साइन अप करके, आप p5.js संपादक की उपयोग की <0>शर्तों</0> और <1>गोपनीयता नीति</1> से सहमत होते हैं।"
357
358
},
358
359
"EmailVerificationView" : {
359
360
"Title" : " p5.js वेब एडिटर | ईमेल वेरीफिकेशन" ,
You can’t perform that action at this time.
0 commit comments