File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
client/modules/User/pages
translations/locales/en-US Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Link } from 'react-router-dom' ;
33import { Helmet } from 'react-helmet' ;
4- import { useTranslation } from 'react-i18next' ;
4+ import { useTranslation , Trans } from 'react-i18next' ;
55import SignupForm from '../components/SignupForm' ;
66import SocialAuthButton from '../components/SocialAuthButton' ;
77import Nav from '../../IDE/components/Header/Nav' ;
@@ -27,9 +27,13 @@ function SignupView() {
2727 < SocialAuthButton service = { SocialAuthButton . services . google } />
2828 </ div >
2929 < 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+ />
3337 </ p >
3438 < p className = "form__navigation-options" >
3539 { t ( 'SignupView.AlreadyHave' ) } { ' ' }
Original file line number Diff line number Diff line change 366366 "Description" : " Sign Up" ,
367367 "Or" : " Or" ,
368368 "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>"
370371 },
371372 "EmailVerificationView" : {
372373 "Title" : " p5.js Web Editor | Email Verification" ,
You can’t perform that action at this time.
0 commit comments