Closed
Description
What is your operating system?
Mac OS
Actual Behavior
The T&C is not being translated

Expected Behavior
The T&C should be translated.

Steps to reproduce
Steps:
- Add
"Warning": "By signing up, you agree to the p5.js Editor's <0>Terms of Use</0> and <1>Privacy Policy.</1>"
in translations/locales/en-US/translations.json file, inside the SignupView section. - Update the import statement in the SignupView.jsx file.
- Add the updated Translation code in the SignupView.jsx file.
Snippet:
"SignupView": {
"Title": "p5.js Web Editor | Signup",
"Description": "Sign Up",
"Or": "Or",
"AlreadyHave": "Already have an account?",
"Login": "Log In",
"Warning": "By signing up, you agree to the p5.js Editor's <0>Terms of Use</0> and <1>Privacy Policy.</1>"
},
import { useTranslation, Trans } from 'react-i18next';
<Trans
i18nKey="SignupView.Warning"
components={[
<Link to="/terms-of-use">Terms of use</Link>,
<Link to="/privacy-policy">Privacy Policy</Link>
]}
/>